Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater.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.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater") translateModel(IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 97.52 kB / 15.69 MB, free: 488 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.001359/0.00136, allocations: 171 kB / 16.56 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.284/1.284, allocations: 223.2 MB / 240.5 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6752/0.6752, allocations: 113.8 MB / 405.4 MB, free: 4.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002892/0.0002892, allocations: 8 kB / 493 MB, free: 8.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1302, allocations: 77.15 MB / 0.5568 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.001295/0.1316, allocations: 1.058 MB / 0.5579 GB, free: 10.54 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002979/0.1345, allocations: 2.573 MB / 0.5604 GB, free: 7.953 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.11e-05/0.1346, allocations: 0 / 0.5604 GB, free: 7.953 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 7.721e-05/0.1347, allocations: 0 / 0.5604 GB, free: 7.953 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.029e-05/0.1347, allocations: 27.89 kB / 0.5604 GB, free: 7.926 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004384/0.1352, allocations: 155.6 kB / 0.5605 GB, free: 7.773 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001809/0.1354, allocations: 159.7 kB / 0.5607 GB, free: 7.617 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.428e-05/0.1354, allocations: 4 kB / 0.5607 GB, free: 7.613 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.189e-05/0.1355, allocations: 83.86 kB / 0.5608 GB, free: 7.531 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.1356, allocations: 99.81 kB / 0.5609 GB, free: 7.434 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.543e-05/0.1357, allocations: 15.94 kB / 0.5609 GB, free: 7.418 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003659/0.136, allocations: 159.9 kB / 0.561 GB, free: 7.262 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.424e-05/0.1361, allocations: 79.84 kB / 0.5611 GB, free: 7.184 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.318e-05/0.1362, allocations: 57.58 kB / 0.5612 GB, free: 7.121 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002356/0.1364, allocations: 187.8 kB / 0.5614 GB, free: 6.938 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.1364, allocations: 3.938 kB / 0.5614 GB, free: 6.934 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1364, allocations: 0 / 0.5614 GB, free: 6.934 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.1365, allocations: 0 / 0.5614 GB, free: 6.934 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007617/0.1372, allocations: 0.5199 MB / 0.5619 GB, free: 6.367 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.1373, allocations: 12.02 kB / 0.5619 GB, free: 6.355 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.482e-05/0.1374, allocations: 19.81 kB / 0.5619 GB, free: 6.336 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.1376, allocations: 234.8 kB / 0.5621 GB, free: 6.066 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.229e-05/0.1377, allocations: 23.98 kB / 0.5621 GB, free: 6.043 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.76e-05/0.1377, allocations: 19.95 kB / 0.5622 GB, free: 6.023 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006692/0.1384, allocations: 317.8 kB / 0.5625 GB, free: 5.707 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.1384, allocations: 3.938 kB / 0.5625 GB, free: 5.703 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.251e-05/0.1384, allocations: 4 kB / 0.5625 GB, free: 5.699 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.1384, allocations: 4 kB / 0.5625 GB, free: 5.695 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001559/0.14, allocations: 0.8044 MB / 0.5633 GB, free: 4.891 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004202/0.1404, allocations: 317 kB / 0.5636 GB, free: 4.531 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001845/0.1423, allocations: 0.7738 MB / 0.5643 GB, free: 3.746 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004254/0.1427, allocations: 388.3 kB / 0.5647 GB, free: 3.293 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.1428, allocations: 42.52 kB / 0.5647 GB, free: 3.242 MB / 430.1 MB Notification: Performance of pre-optimization done (n=37): time 2.044e-06/0.1428, allocations: 0 / 0.5647 GB, free: 3.242 MB / 430.1 MB Notification: Performance of matching and sorting (n=37): time 0.001733/0.1445, allocations: 0.7399 MB / 0.5655 GB, free: 2.496 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.1446, allocations: 55.41 kB / 0.5655 GB, free: 2.43 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.1447, allocations: 129.4 kB / 0.5656 GB, free: 2.297 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.1447, allocations: 29.7 kB / 0.5657 GB, free: 2.262 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.526e-05/0.1448, allocations: 92.78 kB / 0.5657 GB, free: 2.164 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.1449, allocations: 122.2 kB / 0.5659 GB, free: 2.043 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.954e-05/0.1449, allocations: 8 kB / 0.5659 GB, free: 2.035 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.145, allocations: 326.8 kB / 0.5662 GB, free: 1.707 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005264/0.1456, allocations: 227.8 kB / 0.5664 GB, free: 1.484 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005064/0.1461, allocations: 219.8 kB / 0.5666 GB, free: 1.27 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004855/0.1466, allocations: 213.5 kB / 0.5668 GB, free: 1.062 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.1466, allocations: 0 / 0.5668 GB, free: 1.062 MB / 430.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001156/0.1477, allocations: 0.5006 MB / 0.5673 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.1478, allocations: 11.98 kB / 0.5673 GB, free: 0.543 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.1478, allocations: 7.953 kB / 0.5673 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.1478, allocations: 3.938 kB / 0.5673 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004029/0.1482, allocations: 99.92 kB / 0.5674 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.1482, allocations: 8 kB / 0.5674 GB, free: 436 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002128/0.1484, allocations: 71.58 kB / 0.5675 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.826e-05/0.1485, allocations: 15.98 kB / 0.5675 GB, free: 348 kB / 430.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001211/0.1486, allocations: 137.8 kB / 0.5676 GB, free: 200 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.237e-05/0.1486, allocations: 19.75 kB / 0.5677 GB, free: 180 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001264/0.1499, allocations: 0.5783 MB / 0.5682 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.1499, allocations: 7.953 kB / 0.5682 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.1499, allocations: 3.984 kB / 0.5682 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.15, allocations: 0 / 0.5682 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002995/0.1503, allocations: 317.2 kB / 0.5685 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1503, allocations: 3.938 kB / 0.5685 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003716/0.1506, allocations: 111.8 kB / 0.5686 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.1507, allocations: 4 kB / 0.5687 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.085e-05/0.1507, allocations: 8 kB / 0.5687 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1507, allocations: 0 / 0.5687 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.1507, allocations: 7.938 kB / 0.5687 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.1518, allocations: 0.5436 MB / 0.5692 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.643e-05/0.1519, allocations: 104.8 kB / 0.5693 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.025e-05/0.1519, allocations: 7.984 kB / 0.5693 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002027/0.1521, allocations: 47.97 kB / 0.5694 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002113/0.1524, allocations: 123.5 kB / 0.5695 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.546e-05/0.1524, allocations: 15.98 kB / 0.5695 GB, free: 14.22 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.849e-05/0.1525, allocations: 95.27 kB / 0.5696 GB, free: 14.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1525, allocations: 0 / 0.5696 GB, free: 14.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003741/0.1528, allocations: 127.9 kB / 0.5697 GB, free: 14 MB / 446.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003291/0.1532, allocations: 183.8 kB / 0.5699 GB, free: 13.81 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001149/0.1543, allocations: 0.511 MB / 0.5704 GB, free: 13.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1544, allocations: 0 / 0.5704 GB, free: 13.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005855/0.1549, allocations: 292.6 kB / 0.5707 GB, free: 13.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.1553, allocations: 63.94 kB / 0.5707 GB, free: 12.95 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000697/0.156, allocations: 0.4986 MB / 0.5712 GB, free: 12.42 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002471/0.1563, allocations: 0.737 MB / 0.5719 GB, free: 11.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004115/0.1567, allocations: 177.7 kB / 0.5721 GB, free: 11.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.305e-05/0.1568, allocations: 35.42 kB / 0.5721 GB, free: 11.46 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1568, allocations: 0 / 0.5721 GB, free: 11.46 MB / 446.1 MB Notification: Performance of Templates: time 0.008022/0.1648, allocations: 4.688 MB / 0.5767 GB, free: 6.84 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile (rm -f IBPSA_latest_IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/IBPSA_latest_IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./IBPSA_latest_IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1)