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: translateModel(IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck") translateModel(IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 113.3 kB / 17.08 MB, free: 6.016 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.001204/0.001204, allocations: 199 kB / 18.02 MB, free: 5.094 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.304/1.304, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7192/0.7192, allocations: 115.3 MB / 407.2 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 61.36 kB / 0.5583 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1377, allocations: 76.19 MB / 0.6327 GB, free: 4.438 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002144/0.1399, allocations: 1.248 MB / 0.6339 GB, free: 3.18 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003349/0.1433, allocations: 2.93 MB / 0.6368 GB, free: 236 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.374e-05/0.1433, allocations: 0 / 0.6368 GB, free: 236 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.431e-05/0.1433, allocations: 4 kB / 0.6368 GB, free: 232 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.565e-05/0.1434, allocations: 7.922 kB / 0.6368 GB, free: 224 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004783/0.1439, allocations: 99.53 kB / 0.6369 GB, free: 124 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.351e-05/0.144, allocations: 35.92 kB / 0.6369 GB, free: 88 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.546e-05/0.144, allocations: 4 kB / 0.6369 GB, free: 84 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000452/0.1445, allocations: 159.5 kB / 0.6371 GB, free: 15.93 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.029e-05/0.1445, allocations: 11.98 kB / 0.6371 GB, free: 15.91 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.081e-05/0.1445, allocations: 7.938 kB / 0.6371 GB, free: 15.91 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000151/0.1447, allocations: 67.88 kB / 0.6372 GB, free: 15.84 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.429e-05/0.1447, allocations: 7.922 kB / 0.6372 GB, free: 15.83 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.872e-05/0.1447, allocations: 12 kB / 0.6372 GB, free: 15.82 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001669/0.1449, allocations: 63.78 kB / 0.6372 GB, free: 15.76 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1449, allocations: 8 kB / 0.6373 GB, free: 15.75 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1449, allocations: 0 / 0.6373 GB, free: 15.75 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1449, allocations: 0 / 0.6373 GB, free: 15.75 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003796/0.1453, allocations: 347.4 kB / 0.6376 GB, free: 15.36 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.1454, allocations: 8.031 kB / 0.6376 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.269e-05/0.1454, allocations: 12.86 kB / 0.6376 GB, free: 15.34 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.1455, allocations: 168.3 kB / 0.6378 GB, free: 15.14 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.1455, allocations: 384 / 0.6378 GB, free: 15.14 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.1456, allocations: 4.375 kB / 0.6378 GB, free: 15.14 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.1457, allocations: 61.8 kB / 0.6378 GB, free: 15.07 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.1457, allocations: 0 / 0.6378 GB, free: 15.07 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.1457, allocations: 4 kB / 0.6378 GB, free: 15.07 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1457, allocations: 0 / 0.6378 GB, free: 15.07 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.771e-05/0.1458, allocations: 19.97 kB / 0.6379 GB, free: 15.05 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00016/0.146, allocations: 165.6 kB / 0.638 GB, free: 14.84 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.1461, allocations: 62.42 kB / 0.6381 GB, free: 14.77 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.814e-05/0.1461, allocations: 20.86 kB / 0.6381 GB, free: 14.74 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006791/0.1468, allocations: 0.5869 MB / 0.6387 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.1468, allocations: 38.56 kB / 0.6387 GB, free: 14 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.143e-06/0.1468, allocations: 0 / 0.6387 GB, free: 14 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005798/0.1474, allocations: 302.5 kB / 0.639 GB, free: 13.65 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.1475, allocations: 55.34 kB / 0.639 GB, free: 13.59 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.778e-05/0.1476, allocations: 105.8 kB / 0.6391 GB, free: 13.47 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.1476, allocations: 29.7 kB / 0.6392 GB, free: 13.44 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.706e-05/0.1476, allocations: 84.14 kB / 0.6392 GB, free: 13.35 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.1477, allocations: 31.55 kB / 0.6393 GB, free: 13.32 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.856e-05/0.1477, allocations: 21.72 kB / 0.6393 GB, free: 13.29 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.1478, allocations: 318.8 kB / 0.6396 GB, free: 12.97 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.132e-05/0.1479, allocations: 19.98 kB / 0.6396 GB, free: 12.95 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.984e-05/0.1479, allocations: 53.08 kB / 0.6397 GB, free: 12.88 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.54e-05/0.148, allocations: 69.09 kB / 0.6397 GB, free: 12.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.148, allocations: 4 kB / 0.6397 GB, free: 12.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001406/0.1482, allocations: 97.45 kB / 0.6398 GB, free: 12.69 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.1482, allocations: 4 kB / 0.6398 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/0.1482, allocations: 4 kB / 0.6398 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.1482, allocations: 3.984 kB / 0.6398 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.536e-05/0.1483, allocations: 19.94 kB / 0.6399 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.1483, allocations: 4 kB / 0.6399 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.355e-05/0.1484, allocations: 8.062 kB / 0.6399 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.884e-06/0.1484, allocations: 4 kB / 0.6399 GB, free: 12.64 MB / 494.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 8.215e-05/0.1485, allocations: 117.8 kB / 0.64 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.093e-05/0.1485, allocations: 7.984 kB / 0.64 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.993e-05/0.1486, allocations: 7.969 kB / 0.64 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1486, allocations: 0 / 0.64 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1486, allocations: 0 / 0.64 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.1486, allocations: 3.938 kB / 0.64 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002308/0.1488, allocations: 173.7 kB / 0.6402 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.1488, allocations: 8 kB / 0.6402 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.115e-05/0.1489, allocations: 12 kB / 0.6402 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1489, allocations: 0 / 0.6402 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.1489, allocations: 3.984 kB / 0.6402 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1489, allocations: 448 / 0.6402 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.149, allocations: 288 / 0.6402 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001856/0.1491, allocations: 183.4 kB / 0.6404 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.425e-05/0.1492, allocations: 93.16 kB / 0.6405 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.1492, allocations: 12 kB / 0.6405 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.1493, allocations: 0 / 0.6405 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.617e-05/0.1494, allocations: 7.984 kB / 0.6405 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.1494, allocations: 3.938 kB / 0.6405 GB, free: 11.93 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.319e-05/0.1494, allocations: 83.28 kB / 0.6406 GB, free: 11.85 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1494, allocations: 0 / 0.6406 GB, free: 11.85 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002331/0.1497, allocations: 12 kB / 0.6406 GB, free: 11.84 MB / 494.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.000122/0.1498, allocations: 103.2 kB / 0.6407 GB, free: 11.72 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001109/0.1499, allocations: 43.91 kB / 0.6407 GB, free: 11.68 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.1499, allocations: 7.938 kB / 0.6407 GB, free: 11.67 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.357e-05/0.1499, allocations: 15.94 kB / 0.6407 GB, free: 11.66 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.1502, allocations: 8 kB / 0.6407 GB, free: 11.65 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005556/0.1508, allocations: 352.1 kB / 0.6411 GB, free: 11.27 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002291/0.151, allocations: 0.6846 MB / 0.6418 GB, free: 10.56 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.643e-05/0.1511, allocations: 15.44 kB / 0.6418 GB, free: 10.55 MB / 494.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1511, allocations: 0 / 0.6418 GB, free: 10.55 MB / 494.1 MB Notification: Performance of Templates: time 0.002025/0.1531, allocations: 0.7849 MB / 0.6425 GB, free: 9.758 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile (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 & ./IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)