Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8567/0.8567, allocations: 127.4 MB / 134.9 MB, free: 3.438 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001132/0.001132, allocations: 181.7 kB / 164.7 MB, free: 11.61 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.811/1.811, allocations: 205.2 MB / 399.5 MB, free: 13.55 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001251/0.001251, allocations: 91.48 kB / 476.7 MB, free: 1.523 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.585e-05/2.586e-05, allocations: 5.594 kB / 0.5467 GB, free: 95.43 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1862, allocations: 76.77 MB / 0.6216 GB, free: 43.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1331/0.3194, allocations: 102.7 MB / 0.7219 GB, free: 4.242 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002404/0.3197, allocations: 75.95 kB / 0.7219 GB, free: 4.168 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.005163/0.3249, allocations: 1.707 MB / 0.7236 GB, free: 2.453 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3249, allocations: 0 / 0.7236 GB, free: 2.453 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.979e-06/0.3249, allocations: 3.938 kB / 0.7236 GB, free: 2.449 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004005/0.3253, allocations: 382.3 kB / 0.724 GB, free: 2.031 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.3254, allocations: 8.031 kB / 0.724 GB, free: 2.023 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.219e-05/0.3254, allocations: 15.86 kB / 0.724 GB, free: 2.008 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000183/0.3256, allocations: 196.3 kB / 0.7242 GB, free: 1.777 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.3256, allocations: 7.938 kB / 0.7242 GB, free: 1.77 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.717e-05/0.3256, allocations: 4 kB / 0.7242 GB, free: 1.766 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000143/0.3258, allocations: 59.97 kB / 0.7243 GB, free: 1.707 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.3259, allocations: 89.58 kB / 0.7243 GB, free: 1.613 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.3259, allocations: 0 / 0.7243 GB, free: 1.613 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.326, allocations: 3.953 kB / 0.7244 GB, free: 1.609 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.326, allocations: 4 kB / 0.7244 GB, free: 1.605 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005203/0.3265, allocations: 349.1 kB / 0.7247 GB, free: 1.227 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.149e-05/0.3266, allocations: 46.52 kB / 0.7247 GB, free: 1.172 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.951e-05/0.3266, allocations: 36.92 kB / 0.7248 GB, free: 1.133 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.767e-05/0.3267, allocations: 11.98 kB / 0.7248 GB, free: 1.121 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.3267, allocations: 30.56 kB / 0.7248 GB, free: 1.082 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.3267, allocations: 0 / 0.7248 GB, free: 1.082 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.000265/0.327, allocations: 97.52 kB / 0.7249 GB, free: 0.9805 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.327, allocations: 55.41 kB / 0.725 GB, free: 0.9141 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.633e-05/0.3271, allocations: 114 kB / 0.7251 GB, free: 0.793 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.3272, allocations: 25.7 kB / 0.7251 GB, free: 0.7617 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.532e-05/0.3272, allocations: 112.3 kB / 0.7252 GB, free: 0.6484 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.376e-05/0.3273, allocations: 19.66 kB / 0.7252 GB, free: 0.6289 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-06/0.3273, allocations: 0 / 0.7252 GB, free: 0.6289 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.3274, allocations: 321 kB / 0.7255 GB, free: 316 kB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.025e-05/0.3274, allocations: 23.98 kB / 0.7255 GB, free: 292 kB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.386e-05/0.3275, allocations: 24 kB / 0.7256 GB, free: 268 kB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.865e-05/0.3275, allocations: 27.97 kB / 0.7256 GB, free: 240 kB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3275, allocations: 0 / 0.7256 GB, free: 240 kB / 0.4948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001518/0.3277, allocations: 93.62 kB / 0.7257 GB, free: 140 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.3277, allocations: 10.34 kB / 0.7257 GB, free: 132 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.3277, allocations: 7.938 kB / 0.7257 GB, free: 124 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.3278, allocations: 0 / 0.7257 GB, free: 124 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.3279, allocations: 23.97 kB / 0.7257 GB, free: 100 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.3279, allocations: 0 / 0.7257 GB, free: 100 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.966e-05/0.328, allocations: 15.84 kB / 0.7257 GB, free: 84 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.388e-05/0.328, allocations: 7.984 kB / 0.7257 GB, free: 76 kB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.359e-05/0.3281, allocations: 105 kB / 0.7258 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001607/0.3283, allocations: 97.53 kB / 0.7259 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.593e-05/0.3283, allocations: 7.906 kB / 0.7259 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002216/0.3285, allocations: 114.2 kB / 0.7261 GB, free: 15.74 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.3286, allocations: 4 kB / 0.7261 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.3286, allocations: 3.984 kB / 0.7261 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3286, allocations: 0 / 0.7261 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001608/0.3287, allocations: 178.5 kB / 0.7262 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.3288, allocations: 0 / 0.7262 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.3289, allocations: 31.97 kB / 0.7263 GB, free: 15.49 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.3289, allocations: 3.953 kB / 0.7263 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.3289, allocations: 0 / 0.7263 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.3289, allocations: 4 kB / 0.7263 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.3289, allocations: 0 / 0.7263 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001926/0.3291, allocations: 191.4 kB / 0.7265 GB, free: 15.28 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.581e-05/0.3292, allocations: 85.02 kB / 0.7265 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.3292, allocations: 3.953 kB / 0.7265 GB, free: 15.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.926e-05/0.3293, allocations: 15.98 kB / 0.7266 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/0.3293, allocations: 11.94 kB / 0.7266 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.3294, allocations: 7.984 kB / 0.7266 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.439e-05/0.3294, allocations: 91.28 kB / 0.7267 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3294, allocations: 3.938 kB / 0.7267 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002142/0.3296, allocations: 19.84 kB / 0.7267 GB, free: 15.02 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000464/0.3301, allocations: 0.7398 MB / 0.7274 GB, free: 14.26 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001307/0.3303, allocations: 63.98 kB / 0.7275 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3303, allocations: 0 / 0.7275 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.296e-05/0.3303, allocations: 39.98 kB / 0.7275 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.3305, allocations: 3.953 kB / 0.7275 GB, free: 14.15 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004574/0.3309, allocations: 173.9 kB / 0.7277 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002574/0.3312, allocations: 0.704 MB / 0.7284 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 6.671e-05/0.3313, allocations: 27.86 kB / 0.7284 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.974e-05/0.3313, allocations: 23.42 kB / 0.7284 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of SimCode: time 2.61e-07/0.3313, allocations: 0 / 0.7284 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0183/0.3497, allocations: 1.378 MB / 0.7298 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001863/0.3499, allocations: 145.3 kB / 0.7299 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.565/1.915, allocations: 2.391 kB / 0.7299 GB, free: 11.61 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_VectorFunctions.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)