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.006319/0.006318, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001291/0.001291, allocations: 192.8 kB / 16.67 MB, free: 5.52 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7914/0.7914, allocations: 132.2 MB / 422.7 MB, free: 6.633 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 60.16 kB / 0.5808 GB, free: 23.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1516, allocations: 80.21 MB / 0.6592 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002307/0.154, allocations: 1.253 MB / 0.6604 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003848/0.1579, allocations: 2.944 MB / 0.6633 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.184e-05/0.1579, allocations: 0 / 0.6633 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.064e-05/0.158, allocations: 3.938 kB / 0.6633 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.679e-05/0.158, allocations: 3.984 kB / 0.6633 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006782/0.1587, allocations: 99.55 kB / 0.6634 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.1588, allocations: 39.84 kB / 0.6634 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.949e-05/0.1589, allocations: 8 kB / 0.6634 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000635/0.1595, allocations: 163.5 kB / 0.6636 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.637e-05/0.1596, allocations: 11.98 kB / 0.6636 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.1596, allocations: 0 / 0.6636 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002231/0.1599, allocations: 63.89 kB / 0.6636 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.343e-05/0.1599, allocations: 11.91 kB / 0.6636 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.126e-05/0.1599, allocations: 15.94 kB / 0.6637 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002345/0.1602, allocations: 70.66 kB / 0.6637 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1602, allocations: 0 / 0.6637 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.764e-06/0.1602, allocations: 0 / 0.6637 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.774e-06/0.1602, allocations: 4 kB / 0.6637 GB, free: 6.078 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.0005029/0.1607, allocations: 348.2 kB / 0.6641 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.525e-05/0.1608, allocations: 12.03 kB / 0.6641 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.087e-05/0.1608, allocations: 30.75 kB / 0.6641 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.975e-05/0.1609, allocations: 12.86 kB / 0.6641 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.1611, allocations: 160.4 kB / 0.6643 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.1611, allocations: 8.375 kB / 0.6643 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.306e-05/0.1611, allocations: 384 / 0.6643 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.1613, allocations: 65.61 kB / 0.6643 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.1613, allocations: 3.938 kB / 0.6643 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.1614, allocations: 0 / 0.6643 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.1614, allocations: 0 / 0.6643 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.807e-05/0.1615, allocations: 19.98 kB / 0.6644 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002304/0.1617, allocations: 169.5 kB / 0.6645 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.1618, allocations: 46.56 kB / 0.6646 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.679e-05/0.1619, allocations: 16.86 kB / 0.6646 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009258/0.1628, allocations: 0.5985 MB / 0.6652 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.1628, allocations: 30.56 kB / 0.6652 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.1629, allocations: 0 / 0.6652 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0007033/0.1636, allocations: 303 kB / 0.6655 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.1636, allocations: 59.41 kB / 0.6655 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.327e-05/0.1637, allocations: 105.8 kB / 0.6656 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.637e-05/0.1638, allocations: 25.7 kB / 0.6657 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.897e-05/0.1638, allocations: 84.05 kB / 0.6657 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.507e-05/0.1638, allocations: 31.55 kB / 0.6658 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.746e-05/0.1639, allocations: 25.72 kB / 0.6658 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.164, allocations: 314.8 kB / 0.6661 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.017e-05/0.1641, allocations: 15.92 kB / 0.6661 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.738e-05/0.1641, allocations: 65.08 kB / 0.6662 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.114e-05/0.1642, allocations: 77.27 kB / 0.6662 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1642, allocations: 0 / 0.6662 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001481/0.1644, allocations: 97.45 kB / 0.6663 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.1644, allocations: 4 kB / 0.6663 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1644, allocations: 4 kB / 0.6664 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.1645, allocations: 3.984 kB / 0.6664 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.48e-05/0.1645, allocations: 20 kB / 0.6664 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.1645, allocations: 3.938 kB / 0.6664 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.372e-05/0.1646, allocations: 8.062 kB / 0.6664 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.1646, allocations: 8 kB / 0.6664 GB, free: 2.926 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 7.634e-05/0.1647, allocations: 109.8 kB / 0.6665 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.078e-05/0.1647, allocations: 7.984 kB / 0.6665 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.271e-05/0.1648, allocations: 7.969 kB / 0.6665 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1648, allocations: 0 / 0.6665 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.1648, allocations: 4 kB / 0.6665 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.1648, allocations: 3.938 kB / 0.6665 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002428/0.165, allocations: 177.6 kB / 0.6667 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1651, allocations: 4 kB / 0.6667 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.104e-05/0.1651, allocations: 12 kB / 0.6667 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.1652, allocations: 0 / 0.6667 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.1652, allocations: 7.922 kB / 0.6667 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.1652, allocations: 4 kB / 0.6667 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1652, allocations: 0 / 0.6667 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001757/0.1654, allocations: 171.4 kB / 0.6669 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.447e-05/0.1655, allocations: 85.14 kB / 0.667 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.1655, allocations: 4 kB / 0.667 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.1656, allocations: 8 kB / 0.667 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.149e-05/0.1656, allocations: 7.922 kB / 0.667 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-06/0.1656, allocations: 7.938 kB / 0.667 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.036e-05/0.1657, allocations: 79.28 kB / 0.6671 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1657, allocations: 0 / 0.6671 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002443/0.1659, allocations: 12 kB / 0.6671 GB, free: 2.129 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.0005705/0.1665, allocations: 0.7085 MB / 0.6678 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001454/0.1667, allocations: 43.95 kB / 0.6678 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.937e-06/0.1667, allocations: 4 kB / 0.6678 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.77e-05/0.1667, allocations: 15.92 kB / 0.6678 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.167, allocations: 13.81 kB / 0.6678 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001628/0.1687, allocations: 1.535 MB / 0.6693 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.169, allocations: 0.6846 MB / 0.67 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.581e-05/0.169, allocations: 7.984 kB / 0.67 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.814e-05/0.169, allocations: 11.44 kB / 0.67 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.1691, allocations: 0 / 0.67 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02076/0.1898, allocations: 1.66 MB / 0.6716 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.195/7.384, allocations: 19.86 kB / 0.6717 GB, free: 13.38 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)