Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example5,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example5,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007069/0.007069, allocations: 100.6 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001766/0.001766, allocations: 189.8 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8564/0.8564, allocations: 135.6 MB / 426.1 MB, free: 3.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 68.64 kB / 0.5857 GB, free: 21.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1444, allocations: 81.02 MB / 0.6648 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.001516/0.146, allocations: 0.5016 MB / 0.6653 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000174/0.1462, allocations: 51.81 kB / 0.6654 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.872e-05/0.1463, allocations: 0 / 0.6654 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.506e-05/0.1463, allocations: 0 / 0.6654 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.1464, allocations: 3.938 kB / 0.6654 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 5.334e-05/0.1465, allocations: 11.92 kB / 0.6654 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.737e-05/0.1465, allocations: 11.98 kB / 0.6654 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.916e-05/0.1466, allocations: 0 / 0.6654 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.116e-05/0.1466, allocations: 4 kB / 0.6654 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.297e-05/0.1467, allocations: 7.984 kB / 0.6654 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.1467, allocations: 0 / 0.6654 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.574e-06/0.1467, allocations: 0 / 0.6654 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.269e-05/0.1468, allocations: 11.94 kB / 0.6654 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.38e-05/0.1468, allocations: 4 kB / 0.6654 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 5.868e-05/0.1469, allocations: 15.91 kB / 0.6655 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.1469, allocations: 0 / 0.6655 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1469, allocations: 0 / 0.6655 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.1469, allocations: 0 / 0.6655 GB, free: 5.02 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004399/0.1473, allocations: 331.7 kB / 0.6658 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.1474, allocations: 9.109 kB / 0.6658 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.648e-05/0.1474, allocations: 42.69 kB / 0.6658 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.234e-05/0.1474, allocations: 4.938 kB / 0.6658 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001762/0.1476, allocations: 168.4 kB / 0.666 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.1476, allocations: 4.359 kB / 0.666 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.1477, allocations: 12.08 kB / 0.666 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.057e-05/0.1477, allocations: 25.7 kB / 0.666 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.1477, allocations: 0 / 0.666 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.1478, allocations: 4 kB / 0.666 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.1478, allocations: 3.938 kB / 0.666 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.717e-05/0.1478, allocations: 3.984 kB / 0.666 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001621/0.148, allocations: 161.7 kB / 0.6662 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.687e-05/0.148, allocations: 26.89 kB / 0.6662 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.203e-05/0.148, allocations: 15.45 kB / 0.6662 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.1481, allocations: 0 / 0.6662 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.1481, allocations: 30.56 kB / 0.6663 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.1481, allocations: 0 / 0.6663 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001377/0.1482, allocations: 45.8 kB / 0.6663 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.1483, allocations: 59.34 kB / 0.6664 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.1484, allocations: 109.8 kB / 0.6665 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.1484, allocations: 25.7 kB / 0.6665 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.344e-05/0.1485, allocations: 88.14 kB / 0.6666 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.1485, allocations: 3.938 kB / 0.6666 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.858e-05/0.1485, allocations: 9.719 kB / 0.6666 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.1487, allocations: 322.8 kB / 0.6669 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.933e-05/0.1487, allocations: 7.984 kB / 0.6669 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.688e-05/0.1487, allocations: 13.72 kB / 0.6669 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.602e-05/0.1488, allocations: 25.7 kB / 0.6669 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1488, allocations: 0 / 0.6669 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.955e-05/0.1489, allocations: 53.52 kB / 0.667 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.1489, allocations: 8 kB / 0.667 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.1489, allocations: 4.125 kB / 0.667 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.1489, allocations: 0 / 0.667 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.281e-05/0.149, allocations: 4 kB / 0.667 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.149, allocations: 0 / 0.667 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.147e-05/0.149, allocations: 0 / 0.667 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.667e-06/0.149, allocations: 4 kB / 0.667 GB, free: 3.188 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.151e-05/0.1491, allocations: 117.8 kB / 0.6671 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.106e-05/0.1491, allocations: 7.938 kB / 0.6671 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.724e-05/0.1492, allocations: 44.81 kB / 0.6672 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.1492, allocations: 0 / 0.6672 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.1492, allocations: 0 / 0.6672 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1493, allocations: 4 kB / 0.6672 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.1494, allocations: 157.6 kB / 0.6673 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1494, allocations: 256 / 0.6673 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.989e-05/0.1494, allocations: 11.98 kB / 0.6673 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.1495, allocations: 0 / 0.6673 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.1495, allocations: 0 / 0.6673 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1495, allocations: 0 / 0.6673 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1495, allocations: 0 / 0.6673 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001342/0.1496, allocations: 93.02 kB / 0.6674 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.998e-05/0.1497, allocations: 85.03 kB / 0.6675 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.1497, allocations: 0 / 0.6675 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.972e-05/0.1497, allocations: 0 / 0.6675 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.625e-05/0.1497, allocations: 4 kB / 0.6675 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.1497, allocations: 3.938 kB / 0.6675 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.223e-05/0.1498, allocations: 87.27 kB / 0.6676 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1498, allocations: 8.094 kB / 0.6676 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001742/0.15, allocations: 0 / 0.6676 GB, free: 2.469 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004135/0.1504, allocations: 0.6124 MB / 0.6682 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.789e-05/0.1505, allocations: 8 kB / 0.6682 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1505, allocations: 8.219 kB / 0.6682 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.511e-05/0.1505, allocations: 7.984 kB / 0.6682 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001331/0.1507, allocations: 4 kB / 0.6682 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.1517, allocations: 1.154 MB / 0.6694 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.152, allocations: 0.6768 MB / 0.67 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.096e-05/0.152, allocations: 4 kB / 0.67 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.508e-05/0.1521, allocations: 7.438 kB / 0.67 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of SimCode: time 5.01e-07/0.1521, allocations: 4 kB / 0.67 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02231/0.1744, allocations: 1.182 MB / 0.6712 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.937/8.112, allocations: 7.094 kB / 0.6712 GB, free: 14.72 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example5.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe 2>&1)