Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.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.PropyleneGlycolWaterProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterProperties",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.008028/0.008028, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001744/0.001744, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7553/0.7553, allocations: 132.2 MB / 422.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 58.88 kB / 0.5809 GB, free: 24.13 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1442, allocations: 80.21 MB / 0.6592 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterProperties): time 0.006096/0.1504, allocations: 4.431 MB / 0.6635 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002816/0.1532, allocations: 2.695 MB / 0.6662 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.1534, allocations: 0 / 0.6662 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003072/0.1537, allocations: 47.67 kB / 0.6662 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003264/0.154, allocations: 95.38 kB / 0.6663 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001249/0.1553, allocations: 0.5012 MB / 0.6668 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002948/0.1556, allocations: 239.9 kB / 0.667 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.607e-05/0.1557, allocations: 9.562 kB / 0.667 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009225/0.1566, allocations: 410.8 kB / 0.6674 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001685/0.1568, allocations: 95.59 kB / 0.6675 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.62e-05/0.1568, allocations: 8 kB / 0.6675 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/0.1579, allocations: 497.9 kB / 0.668 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.429e-05/0.1579, allocations: 39.89 kB / 0.668 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.855e-05/0.158, allocations: 79.64 kB / 0.6681 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007287/0.1588, allocations: 355.9 kB / 0.6685 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1588, allocations: 0 / 0.6685 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1588, allocations: 0 / 0.6685 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.157e-06/0.1588, allocations: 0 / 0.6685 GB, free: 1.203 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007761/0.1596, allocations: 0.4992 MB / 0.669 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.1596, allocations: 8.031 kB / 0.669 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.835e-05/0.1597, allocations: 54.72 kB / 0.669 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001784/0.1599, allocations: 20.75 kB / 0.669 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002871/0.1602, allocations: 212 kB / 0.6692 GB, free: 324 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.1602, allocations: 20.7 kB / 0.6693 GB, free: 304 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.1602, allocations: 12.38 kB / 0.6693 GB, free: 292 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003464/0.1606, allocations: 248.8 kB / 0.6695 GB, free: 20 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.1606, allocations: 0 / 0.6695 GB, free: 20 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.336e-05/0.1606, allocations: 12 kB / 0.6695 GB, free: 8 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.489e-05/0.1607, allocations: 8 kB / 0.6695 GB, free: 0 / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004753/0.1612, allocations: 435.4 kB / 0.6699 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/0.1622, allocations: 0.9999 MB / 0.6709 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002795/0.1625, allocations: 151.1 kB / 0.6711 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.1626, allocations: 68.81 kB / 0.6711 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001309/0.1639, allocations: 1.829 MB / 0.6729 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.164, allocations: 42.5 kB / 0.6729 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.222e-06/0.164, allocations: 0 / 0.6729 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0003126/0.1643, allocations: 137.4 kB / 0.6731 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.1643, allocations: 59.41 kB / 0.6731 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.1645, allocations: 171.2 kB / 0.6733 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.1645, allocations: 33.7 kB / 0.6733 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.472e-05/0.1646, allocations: 143.8 kB / 0.6735 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.782e-05/0.1646, allocations: 51.3 kB / 0.6735 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.31e-05/0.1647, allocations: 53.61 kB / 0.6736 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.916e-05/0.1648, allocations: 326.8 kB / 0.6739 GB, free: 11 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.596e-05/0.1649, allocations: 35.92 kB / 0.6739 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.165, allocations: 142.2 kB / 0.6741 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002201/0.1652, allocations: 199.9 kB / 0.6742 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.1653, allocations: 3.938 kB / 0.6742 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003443/0.1656, allocations: 221.3 kB / 0.6745 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.1656, allocations: 8 kB / 0.6745 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.1656, allocations: 7.938 kB / 0.6745 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.1657, allocations: 11.94 kB / 0.6745 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/0.1658, allocations: 51.92 kB / 0.6745 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.1659, allocations: 4 kB / 0.6745 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.166, allocations: 23.75 kB / 0.6746 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.243e-05/0.166, allocations: 19.98 kB / 0.6746 GB, free: 10.18 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 0.0001006/0.1661, allocations: 137.8 kB / 0.6747 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.854e-05/0.1662, allocations: 15.84 kB / 0.6747 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002861/0.1665, allocations: 157.5 kB / 0.6749 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/0.1665, allocations: 3.938 kB / 0.6749 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1665, allocations: 0 / 0.6749 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.1665, allocations: 7.984 kB / 0.6749 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002232/0.1667, allocations: 209.6 kB / 0.6751 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1667, allocations: 0 / 0.6751 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.149e-05/0.1668, allocations: 35.86 kB / 0.6751 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1668, allocations: 0 / 0.6751 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.1669, allocations: 7.984 kB / 0.6751 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.1669, allocations: 3.938 kB / 0.6751 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1669, allocations: 4 kB / 0.6751 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002251/0.1671, allocations: 215.3 kB / 0.6753 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.915e-05/0.1672, allocations: 108.8 kB / 0.6754 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.1672, allocations: 0 / 0.6754 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/0.1674, allocations: 19.92 kB / 0.6755 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.165e-05/0.1675, allocations: 15.98 kB / 0.6755 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.1675, allocations: 8 kB / 0.6755 GB, free: 9.16 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.444e-05/0.1676, allocations: 123.9 kB / 0.6756 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1676, allocations: 0 / 0.6756 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003796/0.168, allocations: 72 kB / 0.6757 GB, free: 8.969 MB / 0.5137 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0006652/0.1686, allocations: 0.8275 MB / 0.6765 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000231/0.1689, allocations: 119.7 kB / 0.6766 GB, free: 7.996 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.1689, allocations: 4 kB / 0.6766 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.83e-05/0.169, allocations: 48.84 kB / 0.6766 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004199/0.1694, allocations: 61.41 kB / 0.6767 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00204/0.1714, allocations: 2.039 MB / 0.6787 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.1717, allocations: 0.7128 MB / 0.6794 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001427/0.1719, allocations: 41.81 kB / 0.6794 GB, free: 4.906 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.887e-05/0.1719, allocations: 51.36 kB / 0.6795 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.1719, allocations: 0 / 0.6795 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02149/0.1934, allocations: 5.16 MB / 0.6845 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.388/7.582, allocations: 18.48 kB / 0.6845 GB, free: 15.83 MB / 0.5294 GB (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterProperties.fmu > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)