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.005251/0.005251, allocations: 97.62 kB / 15.73 MB, free: 6.004 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.001251/0.001251, allocations: 195.2 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.423/1.423, 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.8818/0.8818, allocations: 132.2 MB / 422.7 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002734/0.002734, allocations: 62.84 kB / 0.5809 GB, free: 24.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1559, allocations: 80.21 MB / 0.6592 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterProperties): time 0.006137/0.1621, allocations: 4.417 MB / 0.6635 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003068/0.1652, allocations: 2.698 MB / 0.6662 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.695e-05/0.1653, allocations: 0 / 0.6662 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002592/0.1655, allocations: 51.67 kB / 0.6662 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002745/0.1658, allocations: 95.36 kB / 0.6663 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001254/0.1671, allocations: 496.7 kB / 0.6668 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002982/0.1674, allocations: 235.9 kB / 0.667 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.132e-05/0.1675, allocations: 21.48 kB / 0.667 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009555/0.1684, allocations: 410.8 kB / 0.6674 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.1686, allocations: 87.66 kB / 0.6675 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.515e-05/0.1686, allocations: 8 kB / 0.6675 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001053/0.1697, allocations: 499.3 kB / 0.668 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.891e-05/0.1698, allocations: 31.89 kB / 0.668 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.1699, allocations: 83.66 kB / 0.6681 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000607/0.1705, allocations: 354.8 kB / 0.6684 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1705, allocations: 0 / 0.6684 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1705, allocations: 0 / 0.6684 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.297e-06/0.1705, allocations: 0 / 0.6684 GB, free: 1.359 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.0008161/0.1713, allocations: 0.4986 MB / 0.6689 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.1714, allocations: 8.031 kB / 0.6689 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.188e-05/0.1715, allocations: 62.73 kB / 0.669 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001548/0.1716, allocations: 24.83 kB / 0.669 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002846/0.1719, allocations: 216.1 kB / 0.6692 GB, free: 468 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.1719, allocations: 12.7 kB / 0.6692 GB, free: 456 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.172, allocations: 12.38 kB / 0.6693 GB, free: 444 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003807/0.1724, allocations: 256.8 kB / 0.6695 GB, free: 164 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.1724, allocations: 4 kB / 0.6695 GB, free: 160 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.977e-05/0.1724, allocations: 4 kB / 0.6695 GB, free: 156 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.172e-05/0.1724, allocations: 11.98 kB / 0.6695 GB, free: 144 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005262/0.173, allocations: 423.5 kB / 0.6699 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.1741, allocations: 1.012 MB / 0.6709 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002907/0.1744, allocations: 155.1 kB / 0.6711 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.1745, allocations: 60.83 kB / 0.6711 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00149/0.176, allocations: 1.833 MB / 0.6729 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/0.1761, allocations: 42.5 kB / 0.6729 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.392e-06/0.1761, allocations: 0 / 0.6729 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0003347/0.1764, allocations: 152.2 kB / 0.6731 GB, free: 12 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.1765, allocations: 51.41 kB / 0.6731 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.1766, allocations: 175.3 kB / 0.6733 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.1766, allocations: 29.7 kB / 0.6733 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.789e-05/0.1768, allocations: 144 kB / 0.6735 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.296e-05/0.1768, allocations: 55.53 kB / 0.6735 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.9e-05/0.1769, allocations: 57.64 kB / 0.6736 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.177, allocations: 322.8 kB / 0.6739 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.5e-05/0.1771, allocations: 31.98 kB / 0.6739 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.1773, allocations: 146.2 kB / 0.6741 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002476/0.1775, allocations: 193.5 kB / 0.6742 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.1775, allocations: 4 kB / 0.6742 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003357/0.1779, allocations: 221.1 kB / 0.6745 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.1779, allocations: 9.875 kB / 0.6745 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.1779, allocations: 4 kB / 0.6745 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.178, allocations: 7.938 kB / 0.6745 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00018/0.1782, allocations: 55.91 kB / 0.6745 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/0.1782, allocations: 16.39 kB / 0.6745 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.1783, allocations: 31.78 kB / 0.6746 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.881e-05/0.1783, allocations: 12 kB / 0.6746 GB, free: 10.31 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.0001166/0.1784, allocations: 129.8 kB / 0.6747 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.015e-05/0.1785, allocations: 19.91 kB / 0.6747 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003068/0.1788, allocations: 153.9 kB / 0.6749 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.1788, allocations: 7.938 kB / 0.6749 GB, free: 10 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.1788, allocations: 0 / 0.6749 GB, free: 10 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.1788, allocations: 0 / 0.6749 GB, free: 10 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002597/0.1791, allocations: 221.5 kB / 0.6751 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1791, allocations: 4 kB / 0.6751 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.44e-05/0.1792, allocations: 23.98 kB / 0.6751 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1792, allocations: 0 / 0.6751 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.1792, allocations: 12 kB / 0.6751 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.1792, allocations: 3.938 kB / 0.6751 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.1793, allocations: 3.938 kB / 0.6751 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002648/0.1795, allocations: 211.4 kB / 0.6753 GB, free: 9.465 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.667e-05/0.1796, allocations: 112.9 kB / 0.6755 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.1797, allocations: 11.98 kB / 0.6755 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002301/0.1799, allocations: 19.92 kB / 0.6755 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.384e-05/0.1799, allocations: 7.984 kB / 0.6755 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.18, allocations: 8 kB / 0.6755 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.993e-05/0.1801, allocations: 116 kB / 0.6756 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.41e-07/0.1801, allocations: 0 / 0.6756 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003874/0.1805, allocations: 83.86 kB / 0.6757 GB, free: 9.094 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.0008068/0.1813, allocations: 0.8274 MB / 0.6765 GB, free: 8.238 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002507/0.1815, allocations: 128.5 kB / 0.6766 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1816, allocations: 4.062 kB / 0.6766 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.364e-05/0.1816, allocations: 43.92 kB / 0.6767 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004292/0.1821, allocations: 54.31 kB / 0.6767 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/0.1844, allocations: 2.045 MB / 0.6787 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000335/0.1848, allocations: 0.709 MB / 0.6794 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001518/0.185, allocations: 45.73 kB / 0.6794 GB, free: 5.027 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.018e-05/0.185, allocations: 51.42 kB / 0.6795 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.1851, allocations: 0 / 0.6795 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02663/0.2117, allocations: 5.166 MB / 0.6845 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.696/8.908, allocations: 5 kB / 0.6845 GB, free: 15.96 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)