Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterDerivativeCheck",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.001145/0.001145, allocations: 100.1 kB / 15.88 MB, free: 12 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.001135/0.001135, allocations: 207.3 kB / 16.79 MB, free: 6.84 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.321/1.321, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7223/0.7223, allocations: 115.3 MB / 405.9 MB, free: 2.797 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 69.11 kB / 493 MB, free: 6.727 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1331, allocations: 76.18 MB / 0.5558 GB, free: 10.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002437/0.1356, allocations: 1.32 MB / 0.5571 GB, free: 9.414 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003823/0.1394, allocations: 2.915 MB / 0.56 GB, free: 6.484 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.811e-05/0.1395, allocations: 3.938 kB / 0.56 GB, free: 6.48 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.995e-05/0.1395, allocations: 3.938 kB / 0.56 GB, free: 6.477 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.374e-05/0.1396, allocations: 0 / 0.56 GB, free: 6.477 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004545/0.1401, allocations: 91.61 kB / 0.5601 GB, free: 6.387 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.308e-05/0.1401, allocations: 43.91 kB / 0.5601 GB, free: 6.344 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3e-05/0.1402, allocations: 4 kB / 0.5601 GB, free: 6.34 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004736/0.1406, allocations: 139.5 kB / 0.5602 GB, free: 6.203 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.945e-05/0.1407, allocations: 23.91 kB / 0.5603 GB, free: 6.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.1407, allocations: 4 kB / 0.5603 GB, free: 6.176 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000159/0.1409, allocations: 63.83 kB / 0.5603 GB, free: 6.113 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.66e-05/0.1409, allocations: 15.91 kB / 0.5603 GB, free: 6.098 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.046e-05/0.141, allocations: 11.94 kB / 0.5604 GB, free: 6.086 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001698/0.1411, allocations: 68.06 kB / 0.5604 GB, free: 6.02 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1411, allocations: 4 kB / 0.5604 GB, free: 6.016 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1411, allocations: 0 / 0.5604 GB, free: 6.016 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.1412, allocations: 0 / 0.5604 GB, free: 6.016 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003999/0.1416, allocations: 339.6 kB / 0.5608 GB, free: 5.637 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.1416, allocations: 12.03 kB / 0.5608 GB, free: 5.625 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.304e-05/0.1417, allocations: 30.75 kB / 0.5608 GB, free: 5.586 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.764e-05/0.1417, allocations: 4.938 kB / 0.5608 GB, free: 5.582 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.1418, allocations: 172.3 kB / 0.561 GB, free: 5.375 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.1418, allocations: 8.375 kB / 0.561 GB, free: 5.367 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.1419, allocations: 4.281 kB / 0.561 GB, free: 5.363 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.142, allocations: 69.53 kB / 0.561 GB, free: 5.289 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/0.142, allocations: 0 / 0.561 GB, free: 5.289 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.142, allocations: 0 / 0.561 GB, free: 5.289 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.142, allocations: 3.938 kB / 0.561 GB, free: 5.285 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.477e-05/0.1421, allocations: 19.98 kB / 0.5611 GB, free: 5.266 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001563/0.1423, allocations: 161.7 kB / 0.5612 GB, free: 5.059 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.236e-05/0.1424, allocations: 54.5 kB / 0.5613 GB, free: 4.996 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.906e-05/0.1424, allocations: 16.86 kB / 0.5613 GB, free: 4.977 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006519/0.143, allocations: 0.5949 MB / 0.5619 GB, free: 4.273 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.1431, allocations: 30.56 kB / 0.5619 GB, free: 4.234 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.1431, allocations: 0 / 0.5619 GB, free: 4.234 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005424/0.1436, allocations: 306.6 kB / 0.5622 GB, free: 3.883 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.1437, allocations: 55.41 kB / 0.5622 GB, free: 3.816 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.432e-05/0.1437, allocations: 105.8 kB / 0.5623 GB, free: 3.703 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.1438, allocations: 25.7 kB / 0.5624 GB, free: 3.672 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.041e-05/0.1438, allocations: 88.05 kB / 0.5624 GB, free: 3.582 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/0.1438, allocations: 31.7 kB / 0.5625 GB, free: 3.551 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.883e-05/0.1439, allocations: 21.72 kB / 0.5625 GB, free: 3.523 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.934e-05/0.144, allocations: 318.8 kB / 0.5628 GB, free: 3.203 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.197e-05/0.144, allocations: 19.92 kB / 0.5628 GB, free: 3.184 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.91e-05/0.1441, allocations: 49.14 kB / 0.5629 GB, free: 3.117 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.776e-05/0.1442, allocations: 73.09 kB / 0.5629 GB, free: 3.027 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1442, allocations: 0 / 0.5629 GB, free: 3.027 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001361/0.1443, allocations: 101.6 kB / 0.563 GB, free: 2.922 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.1443, allocations: 5.719 kB / 0.563 GB, free: 2.918 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.1444, allocations: 4 kB / 0.563 GB, free: 2.914 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.1444, allocations: 3.938 kB / 0.563 GB, free: 2.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.868e-05/0.1445, allocations: 28.05 kB / 0.5631 GB, free: 2.883 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.1445, allocations: 7.938 kB / 0.5631 GB, free: 2.875 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.882e-05/0.1445, allocations: 3.938 kB / 0.5631 GB, free: 2.871 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.1445, allocations: 4 kB / 0.5631 GB, free: 2.867 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 6.824e-05/0.1446, allocations: 113.8 kB / 0.5632 GB, free: 2.746 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.132e-05/0.1447, allocations: 7.984 kB / 0.5632 GB, free: 2.738 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.654e-05/0.1447, allocations: 7.969 kB / 0.5632 GB, free: 2.73 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1447, allocations: 0 / 0.5632 GB, free: 2.73 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.1447, allocations: 4 kB / 0.5632 GB, free: 2.727 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.1447, allocations: 7.938 kB / 0.5632 GB, free: 2.719 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000228/0.1449, allocations: 173.7 kB / 0.5634 GB, free: 2.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.145, allocations: 0 / 0.5634 GB, free: 2.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.991e-05/0.145, allocations: 15.94 kB / 0.5634 GB, free: 2.484 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1451, allocations: 0 / 0.5634 GB, free: 2.484 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.1451, allocations: 3.984 kB / 0.5634 GB, free: 2.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.1451, allocations: 4 kB / 0.5634 GB, free: 2.477 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1451, allocations: 0 / 0.5634 GB, free: 2.477 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001626/0.1453, allocations: 167.4 kB / 0.5636 GB, free: 2.297 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.729e-05/0.1453, allocations: 93.14 kB / 0.5637 GB, free: 2.188 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.1453, allocations: 0 / 0.5637 GB, free: 2.188 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.1454, allocations: 0 / 0.5637 GB, free: 2.188 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.099e-05/0.1455, allocations: 11.92 kB / 0.5637 GB, free: 2.176 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-06/0.1455, allocations: 4 kB / 0.5637 GB, free: 2.172 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.136e-05/0.1455, allocations: 83.22 kB / 0.5638 GB, free: 2.09 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1455, allocations: 0 / 0.5638 GB, free: 2.09 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002451/0.1458, allocations: 12 kB / 0.5638 GB, free: 2.078 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0004029/0.1462, allocations: 0.7124 MB / 0.5645 GB, free: 1.336 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001049/0.1463, allocations: 39.97 kB / 0.5645 GB, free: 1.297 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1463, allocations: 4 kB / 0.5645 GB, free: 1.293 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.521e-05/0.1463, allocations: 15.92 kB / 0.5645 GB, free: 1.277 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/0.1466, allocations: 16.19 kB / 0.5645 GB, free: 1.262 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.148, allocations: 1.541 MB / 0.566 GB, free: 15.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002202/0.1482, allocations: 0.6824 MB / 0.5667 GB, free: 14.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.042e-05/0.1483, allocations: 11.94 kB / 0.5667 GB, free: 14.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.046e-05/0.1484, allocations: 19.42 kB / 0.5667 GB, free: 14.88 MB / 446.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1484, allocations: 3.938 kB / 0.5667 GB, free: 14.87 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01105/0.1594, allocations: 1.507 MB / 0.5682 GB, free: 13.47 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001909/0.1597, allocations: 199.8 kB / 0.5684 GB, free: 13.22 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.822/1.982, allocations: 0 / 0.5684 GB, free: 13.22 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)