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.001472/0.001472, 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.001739/0.001739, allocations: 193.3 kB / 16.25 MB, free: 6.633 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.308/1.308, allocations: 222.9 MB / 239.9 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.6918/0.6918, allocations: 132.2 MB / 422.3 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001826/0.001826, allocations: 59.88 kB / 0.5013 GB, free: 9.016 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1479, allocations: 80.2 MB / 0.5797 GB, free: 9.039 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002003/0.15, allocations: 1.447 MB / 0.5811 GB, free: 7.578 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002748/0.1527, allocations: 2.898 MB / 0.5839 GB, free: 4.668 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.761e-05/0.1528, allocations: 7.938 kB / 0.5839 GB, free: 4.66 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.086e-05/0.1528, allocations: 11.98 kB / 0.5839 GB, free: 4.648 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.236e-05/0.153, allocations: 31.81 kB / 0.584 GB, free: 4.617 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004247/0.1534, allocations: 167.3 kB / 0.5841 GB, free: 4.453 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002077/0.1536, allocations: 239.5 kB / 0.5843 GB, free: 4.219 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.618e-05/0.1536, allocations: 7.984 kB / 0.5844 GB, free: 4.211 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.199e-05/0.1537, allocations: 87.86 kB / 0.5844 GB, free: 4.125 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.1538, allocations: 139.7 kB / 0.5846 GB, free: 3.988 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.489e-05/0.1539, allocations: 12 kB / 0.5846 GB, free: 3.977 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002854/0.1542, allocations: 147.8 kB / 0.5847 GB, free: 3.832 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.528e-05/0.1543, allocations: 87.75 kB / 0.5848 GB, free: 3.746 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.338e-05/0.1543, allocations: 91.64 kB / 0.5849 GB, free: 3.656 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002745/0.1546, allocations: 275.5 kB / 0.5852 GB, free: 3.387 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1546, allocations: 0 / 0.5852 GB, free: 3.387 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1546, allocations: 0 / 0.5852 GB, free: 3.387 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.1547, allocations: 0 / 0.5852 GB, free: 3.387 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.0006694/0.1553, allocations: 0.5309 MB / 0.5857 GB, free: 2.809 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.1554, allocations: 8.031 kB / 0.5857 GB, free: 2.801 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.588e-05/0.1554, allocations: 46.73 kB / 0.5857 GB, free: 2.746 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.363e-05/0.1555, allocations: 20.75 kB / 0.5857 GB, free: 2.727 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001923/0.1557, allocations: 244 kB / 0.586 GB, free: 2.449 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.585e-05/0.1558, allocations: 24.36 kB / 0.586 GB, free: 2.426 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.52e-05/0.1558, allocations: 16.38 kB / 0.586 GB, free: 2.41 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005539/0.1564, allocations: 293 kB / 0.5863 GB, free: 2.117 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.1564, allocations: 7.938 kB / 0.5863 GB, free: 2.109 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.1564, allocations: 4 kB / 0.5863 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1564, allocations: 4 kB / 0.5863 GB, free: 2.102 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00123/0.1576, allocations: 0.7452 MB / 0.587 GB, free: 1.355 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000291/0.1579, allocations: 305.4 kB / 0.5873 GB, free: 1.008 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/0.1594, allocations: 0.6767 MB / 0.588 GB, free: 328 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004356/0.1598, allocations: 233.2 kB / 0.5882 GB, free: 92 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003347/0.1601, allocations: 400 kB / 0.5886 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.1602, allocations: 34.56 kB / 0.5886 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 1.212e-06/0.1602, allocations: 0 / 0.5886 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.001376/0.1616, allocations: 0.6476 MB / 0.5893 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/0.1616, allocations: 63.14 kB / 0.5893 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.999e-05/0.1617, allocations: 128.6 kB / 0.5894 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.1617, allocations: 29.7 kB / 0.5895 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.519e-05/0.1618, allocations: 96.78 kB / 0.5896 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.374e-05/0.1618, allocations: 126.1 kB / 0.5897 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.169e-05/0.1619, allocations: 65.67 kB / 0.5897 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.616e-05/0.162, allocations: 330.8 kB / 0.5901 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000409/0.1624, allocations: 195.7 kB / 0.5902 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004081/0.1628, allocations: 203.9 kB / 0.5904 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007487/0.1636, allocations: 360.9 kB / 0.5908 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.1636, allocations: 0 / 0.5908 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000924/0.1645, allocations: 464.6 kB / 0.5912 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.1646, allocations: 4 kB / 0.5912 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.1646, allocations: 4 kB / 0.5912 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.1646, allocations: 0 / 0.5912 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003171/0.1649, allocations: 103.8 kB / 0.5913 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1649, allocations: 0 / 0.5913 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/0.1651, allocations: 47.8 kB / 0.5914 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.408e-05/0.1651, allocations: 8 kB / 0.5914 GB, free: 12.69 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.0001005/0.1652, allocations: 145.8 kB / 0.5915 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.978e-05/0.1653, allocations: 19.75 kB / 0.5915 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001025/0.1663, allocations: 0.5167 MB / 0.5921 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.1663, allocations: 7.938 kB / 0.5921 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.1663, allocations: 8 kB / 0.5921 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.1663, allocations: 3.984 kB / 0.5921 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002637/0.1666, allocations: 317.2 kB / 0.5924 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.1666, allocations: 3.938 kB / 0.5924 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002906/0.1669, allocations: 95.86 kB / 0.5925 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1669, allocations: 0 / 0.5925 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.287e-05/0.1669, allocations: 11.98 kB / 0.5925 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.1669, allocations: 4 kB / 0.5925 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1669, allocations: 4 kB / 0.5925 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009334/0.1679, allocations: 0.4887 MB / 0.593 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.396e-05/0.1679, allocations: 100.8 kB / 0.5931 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.086e-05/0.168, allocations: 4 kB / 0.5931 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.1681, allocations: 35.95 kB / 0.5931 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000191/0.1683, allocations: 123.7 kB / 0.5932 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.253e-05/0.1683, allocations: 11.98 kB / 0.5932 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.112e-05/0.1684, allocations: 103.3 kB / 0.5933 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1684, allocations: 0 / 0.5933 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003197/0.1687, allocations: 115.9 kB / 0.5934 GB, free: 10.48 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.001339/0.1701, allocations: 1.115 MB / 0.5945 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001045/0.1711, allocations: 0.5537 MB / 0.5951 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1711, allocations: 0 / 0.5951 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004685/0.1716, allocations: 259.7 kB / 0.5953 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.172, allocations: 87.86 kB / 0.5954 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003434/0.1754, allocations: 2.708 MB / 0.598 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002163/0.1757, allocations: 0.7406 MB / 0.5988 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003775/0.176, allocations: 185.7 kB / 0.5989 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.1762, allocations: 63.41 kB / 0.599 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of SimCode: time 2.9e-07/0.1762, allocations: 0 / 0.599 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7527/0.9289, allocations: 7.057 MB / 0.6059 GB, free: 56.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000151/0.9291, allocations: 194.8 kB / 0.6061 GB, free: 56.14 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.49/3.419, allocations: 0 / 0.6061 GB, free: 56.14 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Antifreeze_Validation_PropyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Antifreeze_Validation_PropyleneGlycolWater.fmu > IDEAS_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1)