Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck",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.005072/0.005072, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.001279/0.001279, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.442/1.442, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8403/0.8403, allocations: 132.2 MB / 422.7 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 67 kB / 0.5808 GB, free: 24.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1602, allocations: 80.2 MB / 0.6592 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002527/0.1628, allocations: 1.265 MB / 0.6604 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00416/0.167, allocations: 2.933 MB / 0.6633 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.586e-05/0.167, allocations: 4 kB / 0.6633 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.356e-05/0.1671, allocations: 0 / 0.6633 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.843e-05/0.1672, allocations: 3.938 kB / 0.6633 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005285/0.1677, allocations: 106 kB / 0.6634 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.513e-05/0.1678, allocations: 35.92 kB / 0.6634 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.796e-05/0.1678, allocations: 3.984 kB / 0.6634 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000527/0.1684, allocations: 159.5 kB / 0.6635 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.797e-05/0.1684, allocations: 15.97 kB / 0.6636 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.1684, allocations: 4 kB / 0.6636 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000176/0.1686, allocations: 63.83 kB / 0.6636 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.244e-05/0.1687, allocations: 15.91 kB / 0.6636 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.161e-05/0.1687, allocations: 15.94 kB / 0.6637 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000183/0.1689, allocations: 64.12 kB / 0.6637 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.1689, allocations: 0 / 0.6637 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.873e-06/0.1689, allocations: 0 / 0.6637 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.74e-06/0.1689, allocations: 4 kB / 0.6637 GB, free: 6.102 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005227/0.1694, allocations: 351.3 kB / 0.6641 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.1695, allocations: 8.031 kB / 0.6641 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.495e-05/0.1695, allocations: 34.75 kB / 0.6641 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.492e-05/0.1696, allocations: 4.922 kB / 0.6641 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.1697, allocations: 168.3 kB / 0.6643 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.1697, allocations: 8.375 kB / 0.6643 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.153e-05/0.1698, allocations: 4.375 kB / 0.6643 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.1699, allocations: 57.61 kB / 0.6643 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.1699, allocations: 0 / 0.6643 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.1699, allocations: 0 / 0.6643 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.17, allocations: 0 / 0.6643 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.615e-05/0.17, allocations: 23.92 kB / 0.6644 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001975/0.1702, allocations: 165.6 kB / 0.6645 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.926e-05/0.1703, allocations: 54.5 kB / 0.6646 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.419e-05/0.1704, allocations: 20.84 kB / 0.6646 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007709/0.1712, allocations: 0.5987 MB / 0.6652 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/0.1712, allocations: 30.56 kB / 0.6652 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 4.388e-06/0.1712, allocations: 4 kB / 0.6652 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0006702/0.1719, allocations: 306.2 kB / 0.6655 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.172, allocations: 51.41 kB / 0.6655 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.103e-05/0.172, allocations: 105.8 kB / 0.6656 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.1721, allocations: 25.7 kB / 0.6657 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.005e-05/0.1721, allocations: 88.03 kB / 0.6658 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/0.1722, allocations: 31.73 kB / 0.6658 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.394e-05/0.1722, allocations: 29.72 kB / 0.6658 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.1723, allocations: 318.8 kB / 0.6661 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.301e-05/0.1724, allocations: 15.92 kB / 0.6661 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.101e-05/0.1724, allocations: 53.14 kB / 0.6662 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.1726, allocations: 73.27 kB / 0.6663 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1726, allocations: 0 / 0.6663 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001509/0.1727, allocations: 93.55 kB / 0.6663 GB, free: 3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.1727, allocations: 8 kB / 0.6663 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.1728, allocations: 0 / 0.6663 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.1728, allocations: 12.11 kB / 0.6664 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.976e-05/0.1729, allocations: 19.94 kB / 0.6664 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.1729, allocations: 0 / 0.6664 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.434e-05/0.1729, allocations: 7.938 kB / 0.6664 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.1729, allocations: 4 kB / 0.6664 GB, free: 2.949 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 9.495e-05/0.173, allocations: 113.8 kB / 0.6665 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.016e-05/0.1731, allocations: 7.938 kB / 0.6665 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.718e-05/0.1731, allocations: 7.969 kB / 0.6665 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1731, allocations: 7.938 kB / 0.6665 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1731, allocations: 4 kB / 0.6665 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.1731, allocations: 3.938 kB / 0.6665 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002771/0.1734, allocations: 177.7 kB / 0.6667 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1734, allocations: 0 / 0.6667 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.428e-05/0.1735, allocations: 12 kB / 0.6667 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.1735, allocations: 3.984 kB / 0.6667 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.1736, allocations: 4 kB / 0.6667 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.1736, allocations: 0 / 0.6667 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1736, allocations: 0 / 0.6667 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001991/0.1738, allocations: 171.9 kB / 0.6669 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.722e-05/0.1738, allocations: 89.09 kB / 0.667 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.1739, allocations: 7.938 kB / 0.667 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.174, allocations: 8 kB / 0.667 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.671e-05/0.174, allocations: 7.922 kB / 0.667 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.178e-06/0.174, allocations: 4 kB / 0.667 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.677e-05/0.1741, allocations: 83.28 kB / 0.6671 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1741, allocations: 3.938 kB / 0.6671 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000255/0.1743, allocations: 8 kB / 0.6671 GB, free: 2.141 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0005145/0.1749, allocations: 0.7085 MB / 0.6678 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001283/0.175, allocations: 47.91 kB / 0.6678 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.175, allocations: 256 / 0.6678 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.719e-05/0.175, allocations: 19.98 kB / 0.6678 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.1753, allocations: 7.938 kB / 0.6678 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/0.1769, allocations: 1.53 MB / 0.6693 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.1773, allocations: 0.6884 MB / 0.67 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.459e-05/0.1773, allocations: 11.98 kB / 0.67 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.648e-05/0.1774, allocations: 11.44 kB / 0.67 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of SimCode: time 2.7e-07/0.1774, allocations: 0 / 0.67 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02418/0.2016, allocations: 1.652 MB / 0.6717 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.47/8.672, allocations: 31.02 kB / 0.6717 GB, free: 13.39 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)