Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="IDEAS_dev_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.001143/0.001143, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001173/0.001172, allocations: 191.7 kB / 16.14 MB, free: 6.688 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.298/1.298, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9231/0.9231, allocations: 135.1 MB / 425.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 59.78 kB / 0.5048 GB, free: 5.699 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1547, allocations: 80.92 MB / 0.5838 GB, free: 4.934 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterProperties): time 0.006234/0.161, allocations: 4.459 MB / 0.5881 GB, free: 448 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002825/0.1638, allocations: 2.71 MB / 0.5908 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.164, allocations: 4 kB / 0.5908 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002605/0.1642, allocations: 43.75 kB / 0.5908 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002546/0.1645, allocations: 87.47 kB / 0.5909 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001155/0.1657, allocations: 445.7 kB / 0.5913 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003074/0.166, allocations: 315.8 kB / 0.5917 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.592e-05/0.1661, allocations: 17.5 kB / 0.5917 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008957/0.167, allocations: 394.9 kB / 0.592 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.1671, allocations: 99.59 kB / 0.5921 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.499e-05/0.1671, allocations: 8 kB / 0.5921 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009842/0.1681, allocations: 0.4911 MB / 0.5926 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.535e-05/0.1682, allocations: 35.83 kB / 0.5927 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.094e-05/0.1683, allocations: 75.66 kB / 0.5927 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006322/0.1689, allocations: 355.3 kB / 0.5931 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.169, allocations: 4 kB / 0.5931 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.042e-06/0.169, allocations: 4 kB / 0.5931 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.169, allocations: 0 / 0.5931 GB, free: 11.38 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.0006805/0.1697, allocations: 0.4973 MB / 0.5936 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.1697, allocations: 8.031 kB / 0.5936 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.791e-05/0.1698, allocations: 58.67 kB / 0.5936 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001592/0.1699, allocations: 20.75 kB / 0.5936 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002048/0.1701, allocations: 208.2 kB / 0.5938 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.1702, allocations: 20.7 kB / 0.5939 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.1702, allocations: 12.38 kB / 0.5939 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003533/0.1706, allocations: 245 kB / 0.5941 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.1706, allocations: 7.938 kB / 0.5941 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/0.1706, allocations: 4 kB / 0.5941 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.531e-05/0.1706, allocations: 12 kB / 0.5941 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004536/0.1711, allocations: 427.5 kB / 0.5945 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/0.1721, allocations: 1.004 MB / 0.5955 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002617/0.1724, allocations: 163.3 kB / 0.5957 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.1725, allocations: 56.89 kB / 0.5957 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001267/0.1738, allocations: 1.825 MB / 0.5975 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.1738, allocations: 38.56 kB / 0.5976 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.543e-06/0.1738, allocations: 0 / 0.5976 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0003177/0.1741, allocations: 153.5 kB / 0.5977 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/0.1742, allocations: 51.41 kB / 0.5977 GB, free: 6 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.1743, allocations: 178.5 kB / 0.5979 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.1744, allocations: 29.7 kB / 0.5979 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.474e-05/0.1745, allocations: 139.8 kB / 0.5981 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.551e-05/0.1745, allocations: 55.25 kB / 0.5981 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.359e-05/0.1746, allocations: 61.7 kB / 0.5982 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.1747, allocations: 322.8 kB / 0.5985 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.678e-05/0.1748, allocations: 35.98 kB / 0.5985 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.1749, allocations: 139.2 kB / 0.5987 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002217/0.1751, allocations: 201.4 kB / 0.5989 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1751, allocations: 0 / 0.5989 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003142/0.1755, allocations: 209.6 kB / 0.5991 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.1755, allocations: 13.81 kB / 0.5991 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.1755, allocations: 4 kB / 0.5991 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.1755, allocations: 7.938 kB / 0.5991 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.1757, allocations: 55.91 kB / 0.5991 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.1757, allocations: 11.94 kB / 0.5991 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.1758, allocations: 27.69 kB / 0.5992 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.245e-05/0.1759, allocations: 19.98 kB / 0.5992 GB, free: 4.379 MB / 0.4981 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.0001002/0.176, allocations: 134.4 kB / 0.5993 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.712e-05/0.176, allocations: 19.84 kB / 0.5993 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002755/0.1763, allocations: 154.1 kB / 0.5995 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/0.1763, allocations: 7.938 kB / 0.5995 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1763, allocations: 3.938 kB / 0.5995 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1763, allocations: 3.938 kB / 0.5995 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000233/0.1766, allocations: 213.5 kB / 0.5997 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.1766, allocations: 3.938 kB / 0.5997 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.383e-05/0.1767, allocations: 23.98 kB / 0.5997 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1767, allocations: 0 / 0.5997 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.1767, allocations: 12 kB / 0.5997 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.1767, allocations: 3.938 kB / 0.5997 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.1767, allocations: 4 kB / 0.5997 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002295/0.177, allocations: 223.3 kB / 0.6 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.847e-05/0.1771, allocations: 108.8 kB / 0.6001 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.1771, allocations: 4 kB / 0.6001 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002071/0.1773, allocations: 19.92 kB / 0.6001 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.292e-05/0.1773, allocations: 11.98 kB / 0.6001 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.1774, allocations: 12 kB / 0.6001 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.989e-05/0.1774, allocations: 120.7 kB / 0.6002 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1775, allocations: 0 / 0.6002 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003639/0.1778, allocations: 75.98 kB / 0.6003 GB, free: 3.148 MB / 0.4981 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.0006824/0.1785, allocations: 0.8176 MB / 0.6011 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002104/0.1787, allocations: 118.4 kB / 0.6012 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.1787, allocations: 0.9375 kB / 0.6012 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.411e-05/0.1788, allocations: 47.91 kB / 0.6013 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004311/0.1792, allocations: 59.89 kB / 0.6013 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2055/0.3848, allocations: 2.079 MB / 0.6033 GB, free: 52.11 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.3849, allocations: 0.7095 MB / 0.604 GB, free: 51.41 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002089/0.3851, allocations: 51.08 kB / 0.6041 GB, free: 51.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.624e-05/0.3852, allocations: 43.09 kB / 0.6041 GB, free: 51.39 MB / 0.4981 GB Notification: Performance of SimCode: time 6.42e-07/0.3852, allocations: 0 / 0.6041 GB, free: 51.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2416/0.6268, allocations: 4.902 MB / 0.6089 GB, free: 51.04 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002226/0.6271, allocations: 197.4 kB / 0.6091 GB, free: 50.79 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.067/2.694, allocations: 7.312 kB / 0.6091 GB, free: 50.78 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterProperties.fmu > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)