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.0009109/0.0009109, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0009939/0.000994, allocations: 189.8 kB / 16.25 MB, free: 6.637 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.249/1.249, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8965/0.8965, allocations: 135.1 MB / 425.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 55.84 kB / 0.5049 GB, free: 5.574 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1389, allocations: 80.93 MB / 0.584 GB, free: 4.812 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterProperties): time 0.005567/0.1445, allocations: 4.448 MB / 0.5883 GB, free: 336 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002555/0.1471, allocations: 2.691 MB / 0.5909 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.922e-05/0.1472, allocations: 0 / 0.5909 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002689/0.1475, allocations: 47.73 kB / 0.591 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002816/0.1478, allocations: 87.48 kB / 0.5911 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001159/0.1489, allocations: 449.3 kB / 0.5915 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002523/0.1492, allocations: 231.9 kB / 0.5917 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.466e-05/0.1493, allocations: 17.5 kB / 0.5917 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000831/0.1501, allocations: 414.8 kB / 0.5921 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.1502, allocations: 87.66 kB / 0.5922 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.1502, allocations: 8 kB / 0.5922 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008579/0.1511, allocations: 0.4991 MB / 0.5927 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.506e-05/0.1512, allocations: 39.89 kB / 0.5928 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.464e-05/0.1513, allocations: 75.59 kB / 0.5928 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005449/0.1518, allocations: 359.1 kB / 0.5932 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1518, allocations: 0 / 0.5932 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1518, allocations: 0 / 0.5932 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.1519, allocations: 0 / 0.5932 GB, free: 11.35 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.0006871/0.1525, allocations: 0.4993 MB / 0.5937 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.1526, allocations: 8.031 kB / 0.5937 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.091e-05/0.1526, allocations: 50.73 kB / 0.5937 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00015/0.1528, allocations: 24.73 kB / 0.5937 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/0.153, allocations: 208.1 kB / 0.5939 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.153, allocations: 16.7 kB / 0.594 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.153, allocations: 16.38 kB / 0.594 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003469/0.1534, allocations: 248.9 kB / 0.5942 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.1534, allocations: 0 / 0.5942 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.358e-05/0.1534, allocations: 11.98 kB / 0.5942 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.392e-05/0.1535, allocations: 4 kB / 0.5942 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004255/0.1539, allocations: 439.4 kB / 0.5946 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009611/0.1549, allocations: 1.004 MB / 0.5956 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002453/0.1551, allocations: 155.7 kB / 0.5958 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.055e-05/0.1552, allocations: 64.88 kB / 0.5958 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001176/0.1564, allocations: 1.825 MB / 0.5976 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.1564, allocations: 34.56 kB / 0.5976 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 2.685e-06/0.1565, allocations: 0 / 0.5976 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0003018/0.1568, allocations: 153.3 kB / 0.5978 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.1568, allocations: 55.41 kB / 0.5978 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.1569, allocations: 170.5 kB / 0.598 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.157, allocations: 29.7 kB / 0.598 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.803e-05/0.1571, allocations: 147.8 kB / 0.5982 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.064e-05/0.1571, allocations: 43.36 kB / 0.5982 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.375e-05/0.1572, allocations: 57.61 kB / 0.5983 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.1573, allocations: 322.8 kB / 0.5986 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.157e-05/0.1573, allocations: 39.91 kB / 0.5986 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001744/0.1575, allocations: 147.2 kB / 0.5988 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002562/0.1578, allocations: 200.1 kB / 0.599 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1578, allocations: 3.938 kB / 0.599 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000318/0.1581, allocations: 217.3 kB / 0.5992 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.1581, allocations: 7.938 kB / 0.5992 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.1581, allocations: 4 kB / 0.5992 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.1582, allocations: 11.94 kB / 0.5992 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.1583, allocations: 47.92 kB / 0.5992 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.1583, allocations: 7.984 kB / 0.5992 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.1585, allocations: 27.69 kB / 0.5993 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.092e-05/0.1585, allocations: 16 kB / 0.5993 GB, free: 4.344 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.0001116/0.1586, allocations: 138.6 kB / 0.5994 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.681e-05/0.1587, allocations: 11.91 kB / 0.5994 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002825/0.159, allocations: 160.9 kB / 0.5996 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.397e-06/0.159, allocations: 3.938 kB / 0.5996 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.159, allocations: 0 / 0.5996 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.159, allocations: 4 kB / 0.5996 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000228/0.1592, allocations: 209.6 kB / 0.5998 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1592, allocations: 3.938 kB / 0.5998 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.439e-05/0.1593, allocations: 31.94 kB / 0.5998 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.1593, allocations: 0 / 0.5998 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.1593, allocations: 3.984 kB / 0.5998 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.1594, allocations: 3.938 kB / 0.5998 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.1594, allocations: 8 kB / 0.5998 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002319/0.1596, allocations: 218 kB / 0.6 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.162e-05/0.1597, allocations: 108.8 kB / 0.6001 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.1597, allocations: 4 kB / 0.6001 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/0.1599, allocations: 23.86 kB / 0.6002 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.133e-05/0.16, allocations: 15.98 kB / 0.6002 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.16, allocations: 7.984 kB / 0.6002 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.965e-05/0.1601, allocations: 120.7 kB / 0.6003 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1601, allocations: 0 / 0.6003 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003661/0.1604, allocations: 76 kB / 0.6004 GB, free: 3.121 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.0006829/0.1611, allocations: 0.8293 MB / 0.6012 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002303/0.1614, allocations: 128.5 kB / 0.6013 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1614, allocations: 192 / 0.6013 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.054e-05/0.1614, allocations: 50.59 kB / 0.6014 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004069/0.1619, allocations: 55.81 kB / 0.6014 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2166/0.3784, allocations: 2.07 MB / 0.6034 GB, free: 51.98 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.3786, allocations: 0.7163 MB / 0.6041 GB, free: 51.29 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001941/0.3788, allocations: 47.92 kB / 0.6042 GB, free: 51.29 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.33e-05/0.3789, allocations: 44.72 kB / 0.6042 GB, free: 51.28 MB / 0.4981 GB Notification: Performance of SimCode: time 5.11e-07/0.3789, allocations: 3.375 kB / 0.6042 GB, free: 51.28 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.941/2.32, allocations: 5.021 MB / 0.6091 GB, free: 50.93 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001392/2.32, allocations: 194.6 kB / 0.6093 GB, free: 50.68 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.908/4.228, allocations: 7.688 kB / 0.6093 GB, free: 50.67 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)