Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7861/0.7861, allocations: 133.6 MB / 141.6 MB, free: 2.875 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 221.5 MB / 395.4 MB, free: 10.8 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008557/0.0008557, allocations: 104.7 kB / 478.2 MB, free: 1.309 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.303e-05/2.307e-05, allocations: 4 kB / 0.5535 GB, free: 8.973 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4129/0.4129, allocations: 82.3 MB / 0.6339 GB, free: 40.8 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1504/0.5634, allocations: 111.3 MB / 0.7426 GB, free: 11.35 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/0.5637, allocations: 79.89 kB / 0.7427 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.005234/0.569, allocations: 1.735 MB / 0.7444 GB, free: 9.531 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.322e-06/0.569, allocations: 3.938 kB / 0.7444 GB, free: 9.527 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.398e-05/0.569, allocations: 8 kB / 0.7444 GB, free: 9.52 MB / 0.5261 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.0004852/0.5695, allocations: 394.1 kB / 0.7448 GB, free: 9.09 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.5696, allocations: 8.031 kB / 0.7448 GB, free: 9.082 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.757e-05/0.5696, allocations: 7.906 kB / 0.7448 GB, free: 9.074 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.5698, allocations: 198.8 kB / 0.745 GB, free: 8.84 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.5699, allocations: 0 / 0.745 GB, free: 8.84 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.5699, allocations: 4 kB / 0.745 GB, free: 8.836 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001486/0.57, allocations: 59.97 kB / 0.7451 GB, free: 8.777 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.5702, allocations: 87.14 kB / 0.7452 GB, free: 8.688 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.5702, allocations: 4 kB / 0.7452 GB, free: 8.684 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.5702, allocations: 0 / 0.7452 GB, free: 8.684 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.5703, allocations: 0 / 0.7452 GB, free: 8.684 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005601/0.5708, allocations: 357.1 kB / 0.7455 GB, free: 8.297 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.716e-05/0.5709, allocations: 42.58 kB / 0.7455 GB, free: 8.246 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.831e-05/0.571, allocations: 32.97 kB / 0.7456 GB, free: 8.211 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.413e-05/0.571, allocations: 11.98 kB / 0.7456 GB, free: 8.199 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.5711, allocations: 30.56 kB / 0.7456 GB, free: 8.16 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.5711, allocations: 0 / 0.7456 GB, free: 8.16 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.0002841/0.5714, allocations: 101.5 kB / 0.7457 GB, free: 8.055 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.5714, allocations: 55.41 kB / 0.7458 GB, free: 7.988 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.5716, allocations: 118.5 kB / 0.7459 GB, free: 7.863 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.5716, allocations: 25.7 kB / 0.7459 GB, free: 7.832 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.29e-05/0.5717, allocations: 112.3 kB / 0.746 GB, free: 7.719 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.778e-05/0.5717, allocations: 15.72 kB / 0.746 GB, free: 7.703 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.592e-06/0.5717, allocations: 0 / 0.746 GB, free: 7.703 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.5718, allocations: 322.8 kB / 0.7463 GB, free: 7.379 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.484e-05/0.5719, allocations: 23.98 kB / 0.7464 GB, free: 7.355 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.746e-05/0.5719, allocations: 24 kB / 0.7464 GB, free: 7.332 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.258e-05/0.572, allocations: 35.91 kB / 0.7464 GB, free: 7.297 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.572, allocations: 0 / 0.7464 GB, free: 7.297 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001617/0.5722, allocations: 89.58 kB / 0.7465 GB, free: 7.203 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.5722, allocations: 4 kB / 0.7465 GB, free: 7.199 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.5722, allocations: 0 / 0.7465 GB, free: 7.199 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.5723, allocations: 0 / 0.7465 GB, free: 7.199 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.5724, allocations: 27.92 kB / 0.7465 GB, free: 7.172 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.5724, allocations: 4 kB / 0.7465 GB, free: 7.168 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.41e-05/0.5725, allocations: 12 kB / 0.7465 GB, free: 7.156 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.761e-05/0.5726, allocations: 15.92 kB / 0.7466 GB, free: 7.141 MB / 0.5261 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.225e-05/0.5726, allocations: 101 kB / 0.7467 GB, free: 7.035 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001647/0.5728, allocations: 93.52 kB / 0.7467 GB, free: 6.938 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.659e-05/0.5729, allocations: 7.906 kB / 0.7467 GB, free: 6.93 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002412/0.5731, allocations: 126.1 kB / 0.7469 GB, free: 6.797 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.5731, allocations: 0 / 0.7469 GB, free: 6.797 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.5731, allocations: 4 kB / 0.7469 GB, free: 6.793 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.5731, allocations: 0 / 0.7469 GB, free: 6.793 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.5733, allocations: 178.1 kB / 0.747 GB, free: 6.582 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.5733, allocations: 0 / 0.747 GB, free: 6.582 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.5734, allocations: 20.36 kB / 0.7471 GB, free: 6.562 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.5735, allocations: 4 kB / 0.7471 GB, free: 6.559 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.5735, allocations: 7.984 kB / 0.7471 GB, free: 6.551 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.5735, allocations: 0 / 0.7471 GB, free: 6.551 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.5735, allocations: 3.953 kB / 0.7471 GB, free: 6.547 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002156/0.5737, allocations: 195.4 kB / 0.7473 GB, free: 6.34 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.52e-05/0.5738, allocations: 85 kB / 0.7473 GB, free: 6.238 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.5738, allocations: 0 / 0.7473 GB, free: 6.238 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.725e-05/0.5739, allocations: 8 kB / 0.7474 GB, free: 6.23 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.786e-05/0.5739, allocations: 15.88 kB / 0.7474 GB, free: 6.215 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.574, allocations: 7.984 kB / 0.7474 GB, free: 6.207 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.19e-05/0.574, allocations: 100.8 kB / 0.7475 GB, free: 6.109 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5741, allocations: 0 / 0.7475 GB, free: 6.109 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002242/0.5743, allocations: 16 kB / 0.7475 GB, free: 6.094 MB / 0.5261 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.0005461/0.5748, allocations: 0.7358 MB / 0.7482 GB, free: 5.332 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001391/0.575, allocations: 75.86 kB / 0.7483 GB, free: 5.258 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.575, allocations: 4 kB / 0.7483 GB, free: 5.254 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.046e-05/0.5751, allocations: 35.98 kB / 0.7483 GB, free: 5.219 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001493/0.5752, allocations: 7.953 kB / 0.7483 GB, free: 5.211 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004923/0.5757, allocations: 173.9 kB / 0.7485 GB, free: 5.004 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/0.576, allocations: 0.7041 MB / 0.7492 GB, free: 4.273 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.906e-05/0.5761, allocations: 19.97 kB / 0.7492 GB, free: 4.254 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.951e-05/0.5762, allocations: 23.44 kB / 0.7492 GB, free: 4.234 MB / 0.5261 GB Notification: Performance of SimCode: time 2.5e-07/0.5762, allocations: 0 / 0.7492 GB, free: 4.234 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02121/0.5974, allocations: 1.363 MB / 0.7505 GB, free: 2.883 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003031/0.5978, allocations: 125.2 kB / 0.7507 GB, free: 2.691 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.509/2.107, allocations: 0 / 0.7507 GB, free: 2.691 MB / 0.5261 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_VectorFunctions.fmu > IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)