Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.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.Example8,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example8,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example8",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.00635/0.00635, allocations: 103.1 kB / 15.73 MB, free: 5.992 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.001241/0.001241, allocations: 191.9 kB / 16.67 MB, free: 5.918 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.276/1.276, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7841/0.7841, allocations: 135.1 MB / 425.7 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 66.73 kB / 0.5851 GB, free: 21.99 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1512, allocations: 80.92 MB / 0.6641 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example8): time 0.001517/0.1528, allocations: 0.5171 MB / 0.6646 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001249/0.1529, allocations: 11.98 kB / 0.6646 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.408e-05/0.153, allocations: 0 / 0.6646 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.39e-05/0.153, allocations: 0 / 0.6646 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000115/0.1531, allocations: 7.875 kB / 0.6647 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 3.036e-06/0.1531, allocations: 0 / 0.6647 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.952e-05/0.1532, allocations: 7.938 kB / 0.6647 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.442e-05/0.1532, allocations: 0 / 0.6647 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.435e-05/0.1532, allocations: 3.984 kB / 0.6647 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.288e-05/0.1533, allocations: 7.984 kB / 0.6647 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.1533, allocations: 4 kB / 0.6647 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.019e-06/0.1533, allocations: 0 / 0.6647 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.768e-06/0.1533, allocations: 0 / 0.6647 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.282e-05/0.1533, allocations: 0 / 0.6647 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 4.327e-05/0.1534, allocations: 11.94 kB / 0.6647 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1534, allocations: 0 / 0.6647 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1534, allocations: 4 kB / 0.6647 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.1534, allocations: 0 / 0.6647 GB, free: 5.762 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002485/0.1537, allocations: 311.6 kB / 0.665 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.1537, allocations: 9.109 kB / 0.665 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.986e-05/0.1537, allocations: 38.73 kB / 0.665 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.968e-05/0.1538, allocations: 4.875 kB / 0.665 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.608e-05/0.1539, allocations: 160.4 kB / 0.6652 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.753e-06/0.1539, allocations: 384 / 0.6652 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.868e-06/0.1539, allocations: 8.125 kB / 0.6652 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.969e-05/0.154, allocations: 43.42 kB / 0.6652 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.081e-06/0.154, allocations: 0 / 0.6652 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.841e-06/0.154, allocations: 0 / 0.6652 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.154, allocations: 7.984 kB / 0.6653 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.31e-05/0.1541, allocations: 7.938 kB / 0.6653 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001325/0.1542, allocations: 150.5 kB / 0.6654 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.235e-05/0.1542, allocations: 35.81 kB / 0.6654 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.355e-05/0.1543, allocations: 21.72 kB / 0.6655 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.1543, allocations: 15.97 kB / 0.6655 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.889e-05/0.1543, allocations: 30.91 kB / 0.6655 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.1543, allocations: 0 / 0.6655 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001329/0.1545, allocations: 41.64 kB / 0.6655 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.642e-05/0.1545, allocations: 81.11 kB / 0.6656 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.365e-05/0.1546, allocations: 93.84 kB / 0.6657 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.1546, allocations: 25.95 kB / 0.6657 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.039e-05/0.1546, allocations: 84.14 kB / 0.6658 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.871e-05/0.1547, allocations: 6.719 kB / 0.6658 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.821e-05/0.1547, allocations: 13.72 kB / 0.6658 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.1548, allocations: 314.8 kB / 0.6661 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.067e-05/0.1548, allocations: 0 / 0.6661 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.562e-05/0.1548, allocations: 13.72 kB / 0.6661 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.605e-05/0.1549, allocations: 29.64 kB / 0.6662 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1549, allocations: 0 / 0.6662 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.324e-05/0.155, allocations: 45.64 kB / 0.6662 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.155, allocations: 7.938 kB / 0.6662 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.155, allocations: 0 / 0.6662 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.155, allocations: 0 / 0.6662 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.334e-05/0.1551, allocations: 7.938 kB / 0.6662 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.1551, allocations: 3.984 kB / 0.6662 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.688e-05/0.1551, allocations: 8.062 kB / 0.6662 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.1551, allocations: 0 / 0.6662 GB, free: 3.91 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 6.793e-05/0.1552, allocations: 109.8 kB / 0.6664 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.155e-05/0.1552, allocations: 7.938 kB / 0.6664 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001001/0.1553, allocations: 48.75 kB / 0.6664 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.1553, allocations: 0 / 0.6664 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.1553, allocations: 0 / 0.6664 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1553, allocations: 4.062 kB / 0.6664 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.754e-05/0.1554, allocations: 157.7 kB / 0.6666 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1555, allocations: 3.938 kB / 0.6666 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.452e-05/0.1555, allocations: 4 kB / 0.6666 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1555, allocations: 0 / 0.6666 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.156e-06/0.1555, allocations: 4 kB / 0.6666 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1555, allocations: 0 / 0.6666 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.1555, allocations: 4 kB / 0.6666 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.93e-05/0.1556, allocations: 73.92 kB / 0.6666 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.003e-05/0.1556, allocations: 81.05 kB / 0.6667 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.258e-06/0.1556, allocations: 0 / 0.6667 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.651e-05/0.1557, allocations: 4 kB / 0.6667 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.392e-05/0.1557, allocations: 0 / 0.6667 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.1557, allocations: 0 / 0.6667 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.477e-05/0.1557, allocations: 75.28 kB / 0.6668 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1557, allocations: 0 / 0.6668 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001746/0.1559, allocations: 12.03 kB / 0.6668 GB, free: 3.223 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * 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 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.0003406/0.1563, allocations: 0.6028 MB / 0.6674 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.645e-05/0.1563, allocations: 7.984 kB / 0.6674 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1563, allocations: 4.156 kB / 0.6674 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.238e-05/0.1564, allocations: 11.94 kB / 0.6674 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000129/0.1565, allocations: 4 kB / 0.6674 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002887/0.1568, allocations: 119.3 kB / 0.6675 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.157, allocations: 0.6729 MB / 0.6682 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.724e-05/0.157, allocations: 7.875 kB / 0.6682 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.293e-05/0.1571, allocations: 11.56 kB / 0.6682 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.1571, allocations: 0 / 0.6682 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01676/0.1738, allocations: 0.9168 MB / 0.6691 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.39/7.564, allocations: 10.8 kB / 0.6691 GB, free: 0.8203 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example8.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe 2>&1)