Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.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.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="IDEAS_IDEAS_Media_Antifreeze_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="IDEAS_IDEAS_Media_Antifreeze_Validation_PropyleneGlycolWater",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.001615/0.001615, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.326/1.326, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7491/0.7491, allocations: 132.2 MB / 422.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 68.3 kB / 0.5019 GB, free: 8.652 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1524, allocations: 80.2 MB / 0.5802 GB, free: 8.668 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002543/0.1549, allocations: 1.381 MB / 0.5815 GB, free: 7.273 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003403/0.1584, allocations: 2.915 MB / 0.5844 GB, free: 4.348 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.866e-05/0.1584, allocations: 3.938 kB / 0.5844 GB, free: 4.344 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.766e-05/0.1585, allocations: 3.938 kB / 0.5844 GB, free: 4.34 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.1587, allocations: 47.8 kB / 0.5844 GB, free: 4.293 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005555/0.1592, allocations: 183.1 kB / 0.5846 GB, free: 4.113 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002333/0.1595, allocations: 239.5 kB / 0.5848 GB, free: 3.879 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.311e-05/0.1595, allocations: 7.984 kB / 0.5848 GB, free: 3.871 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.709e-05/0.1596, allocations: 91.84 kB / 0.5849 GB, free: 3.781 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.1598, allocations: 123.7 kB / 0.585 GB, free: 3.66 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.336e-05/0.1598, allocations: 12 kB / 0.5851 GB, free: 3.648 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003653/0.1602, allocations: 139.9 kB / 0.5852 GB, free: 3.512 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.1603, allocations: 91.75 kB / 0.5853 GB, free: 3.422 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.1604, allocations: 91.64 kB / 0.5854 GB, free: 3.332 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003455/0.1607, allocations: 275.5 kB / 0.5856 GB, free: 3.062 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1608, allocations: 0 / 0.5856 GB, free: 3.062 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1608, allocations: 0 / 0.5856 GB, free: 3.062 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.1608, allocations: 0 / 0.5856 GB, free: 3.062 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0008148/0.1616, allocations: 0.5262 MB / 0.5861 GB, free: 2.488 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.1616, allocations: 8.031 kB / 0.5862 GB, free: 2.48 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.218e-05/0.1617, allocations: 50.67 kB / 0.5862 GB, free: 2.422 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.1618, allocations: 20.75 kB / 0.5862 GB, free: 2.402 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000242/0.1621, allocations: 240 kB / 0.5864 GB, free: 2.129 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.261e-05/0.1621, allocations: 24.36 kB / 0.5865 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.813e-05/0.1622, allocations: 12.38 kB / 0.5865 GB, free: 2.094 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006292/0.1628, allocations: 293 kB / 0.5868 GB, free: 1.801 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.1628, allocations: 7.938 kB / 0.5868 GB, free: 1.793 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/0.1628, allocations: 4 kB / 0.5868 GB, free: 1.789 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.1629, allocations: 7.984 kB / 0.5868 GB, free: 1.781 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001427/0.1643, allocations: 0.7452 MB / 0.5875 GB, free: 1.035 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003424/0.1646, allocations: 309.2 kB / 0.5878 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001663/0.1663, allocations: 0.6758 MB / 0.5885 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005042/0.1668, allocations: 229.2 kB / 0.5887 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004132/0.1672, allocations: 400 kB / 0.5891 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.1673, allocations: 34.56 kB / 0.5891 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 1.884e-06/0.1673, allocations: 0 / 0.5891 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.001648/0.1689, allocations: 0.6515 MB / 0.5897 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.169, allocations: 59.16 kB / 0.5898 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.959e-05/0.1691, allocations: 130 kB / 0.5899 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.1691, allocations: 29.7 kB / 0.5899 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.587e-05/0.1692, allocations: 88.8 kB / 0.59 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.1693, allocations: 122.2 kB / 0.5901 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.413e-05/0.1694, allocations: 65.69 kB / 0.5902 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.1695, allocations: 334.8 kB / 0.5905 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004679/0.17, allocations: 187.8 kB / 0.5907 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004772/0.1705, allocations: 215.8 kB / 0.5909 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008965/0.1714, allocations: 356.9 kB / 0.5913 GB, free: 13 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.1714, allocations: 0 / 0.5913 GB, free: 13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001086/0.1725, allocations: 468.6 kB / 0.5917 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.1725, allocations: 4 kB / 0.5917 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.1725, allocations: 0 / 0.5917 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.1726, allocations: 4 kB / 0.5917 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003721/0.1729, allocations: 95.86 kB / 0.5918 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.173, allocations: 0 / 0.5918 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/0.1732, allocations: 55.7 kB / 0.5919 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.69e-05/0.1732, allocations: 11.98 kB / 0.5919 GB, free: 12.37 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (37): * Single equations (assignments): 37 * 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 0.0001251/0.1733, allocations: 141.8 kB / 0.592 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.604e-05/0.1734, allocations: 23.73 kB / 0.592 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001217/0.1746, allocations: 0.5163 MB / 0.5925 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.1746, allocations: 4 kB / 0.5925 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.1746, allocations: 4 kB / 0.5925 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.1746, allocations: 0 / 0.5925 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003337/0.175, allocations: 321.2 kB / 0.5928 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.175, allocations: 3.938 kB / 0.5928 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003507/0.1753, allocations: 99.84 kB / 0.5929 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.1753, allocations: 0 / 0.5929 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.468e-05/0.1754, allocations: 11.98 kB / 0.5929 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.638e-06/0.1754, allocations: 4 kB / 0.593 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1754, allocations: 0 / 0.593 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/0.1765, allocations: 0.4926 MB / 0.5934 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.192e-05/0.1766, allocations: 104.8 kB / 0.5935 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.642e-05/0.1766, allocations: 4 kB / 0.5935 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/0.1768, allocations: 31.97 kB / 0.5936 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000245/0.1771, allocations: 123.8 kB / 0.5937 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-05/0.1771, allocations: 11.98 kB / 0.5937 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.705e-05/0.1772, allocations: 106.1 kB / 0.5938 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1772, allocations: 0 / 0.5938 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003878/0.1776, allocations: 115.9 kB / 0.5939 GB, free: 10.16 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 (37): * Single equations (assignments): 37 * 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.001647/0.1792, allocations: 1.112 MB / 0.595 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001207/0.1805, allocations: 0.5576 MB / 0.5955 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1805, allocations: 4 kB / 0.5955 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005571/0.1811, allocations: 255.7 kB / 0.5958 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004146/0.1815, allocations: 82.12 kB / 0.5959 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004145/0.1856, allocations: 2.66 MB / 0.5985 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.186, allocations: 0.7289 MB / 0.5992 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004204/0.1864, allocations: 183.3 kB / 0.5993 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.1865, allocations: 63.41 kB / 0.5994 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of SimCode: time 1.202e-06/0.1865, allocations: 4 kB / 0.5994 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2611/0.4476, allocations: 7.344 MB / 0.6066 GB, free: 56.45 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.43/7.877, allocations: 8.578 kB / 0.6066 GB, free: 56.45 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo IDEAS_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/IDEAS_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Media_Antifreeze_Validation_PropyleneGlycolWater.fmu > IDEAS_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1)