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.001626/0.001626, allocations: 117 kB / 17.09 MB, free: 5.969 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.001908/0.001908, allocations: 196.6 kB / 18.02 MB, free: 5.047 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.39/1.39, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7517/0.7517, allocations: 115.3 MB / 407.2 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 62.59 kB / 0.5583 GB, free: 32.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1511, allocations: 76.18 MB / 0.6327 GB, free: 4.395 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002744/0.1538, allocations: 1.371 MB / 0.6341 GB, free: 3.012 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004129/0.158, allocations: 2.909 MB / 0.6369 GB, free: 84 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.695e-05/0.1581, allocations: 0 / 0.6369 GB, free: 84 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 9.585e-05/0.1582, allocations: 3.938 kB / 0.6369 GB, free: 80 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001332/0.1584, allocations: 47.8 kB / 0.637 GB, free: 32 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006827/0.159, allocations: 183.1 kB / 0.6371 GB, free: 15.85 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003068/0.1594, allocations: 239.5 kB / 0.6374 GB, free: 15.62 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.622e-05/0.1594, allocations: 4 kB / 0.6374 GB, free: 15.61 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.1596, allocations: 99.78 kB / 0.6375 GB, free: 15.52 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001571/0.1597, allocations: 119.8 kB / 0.6376 GB, free: 15.4 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.439e-05/0.1598, allocations: 12 kB / 0.6376 GB, free: 15.39 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005892/0.1604, allocations: 139.9 kB / 0.6377 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.1605, allocations: 87.75 kB / 0.6378 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001479/0.1606, allocations: 95.62 kB / 0.6379 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004563/0.1611, allocations: 271.2 kB / 0.6382 GB, free: 14.8 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1611, allocations: 0 / 0.6382 GB, free: 14.8 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1611, allocations: 3.938 kB / 0.6382 GB, free: 14.8 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.889e-06/0.1611, allocations: 0 / 0.6382 GB, free: 14.8 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.0009851/0.1621, allocations: 0.5261 MB / 0.6387 GB, free: 14.23 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.1622, allocations: 12.03 kB / 0.6387 GB, free: 14.21 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002522/0.1624, allocations: 20.69 kB / 0.6387 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002722/0.1627, allocations: 240 kB / 0.6389 GB, free: 13.92 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.918e-05/0.1628, allocations: 24.36 kB / 0.639 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.618e-05/0.1628, allocations: 20.38 kB / 0.639 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006718/0.1635, allocations: 285.5 kB / 0.6392 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.1635, allocations: 0 / 0.6392 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.627e-05/0.1636, allocations: 15.94 kB / 0.6393 GB, free: 13.58 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.1636, allocations: 4 kB / 0.6393 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001729/0.1653, allocations: 0.7488 MB / 0.64 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004972/0.1658, allocations: 305.3 kB / 0.6403 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00173/0.1676, allocations: 0.6754 MB / 0.6409 GB, free: 11.79 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005198/0.1681, allocations: 236.7 kB / 0.6412 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004252/0.1685, allocations: 389.3 kB / 0.6415 GB, free: 11.1 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/0.1686, allocations: 42.5 kB / 0.6416 GB, free: 11.05 MB / 494.1 MB Notification: Performance of pre-optimization done (n=37): time 1.603e-06/0.1686, allocations: 0 / 0.6416 GB, free: 11.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=37): time 0.00187/0.1705, allocations: 0.6486 MB / 0.6422 GB, free: 10.39 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.1705, allocations: 59.34 kB / 0.6423 GB, free: 10.32 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002131/0.1707, allocations: 128.7 kB / 0.6424 GB, free: 10.19 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.315e-05/0.1708, allocations: 29.7 kB / 0.6424 GB, free: 10.16 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.1709, allocations: 92.8 kB / 0.6425 GB, free: 10.06 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.171, allocations: 130.1 kB / 0.6426 GB, free: 9.934 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.1711, allocations: 65.69 kB / 0.6427 GB, free: 9.863 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.1713, allocations: 334.8 kB / 0.643 GB, free: 9.527 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004832/0.1717, allocations: 199.5 kB / 0.6432 GB, free: 9.332 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004858/0.1722, allocations: 193.1 kB / 0.6434 GB, free: 9.145 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009986/0.1732, allocations: 368.7 kB / 0.6437 GB, free: 8.781 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1733, allocations: 0 / 0.6437 GB, free: 8.781 MB / 494.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001197/0.1745, allocations: 464.8 kB / 0.6442 GB, free: 8.32 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.1745, allocations: 4 kB / 0.6442 GB, free: 8.316 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.1745, allocations: 3.938 kB / 0.6442 GB, free: 8.312 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.1745, allocations: 0 / 0.6442 GB, free: 8.312 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003765/0.1749, allocations: 91.91 kB / 0.6443 GB, free: 8.223 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.1749, allocations: 7.938 kB / 0.6443 GB, free: 8.215 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001955/0.1751, allocations: 43.81 kB / 0.6443 GB, free: 8.172 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.096e-05/0.1752, allocations: 15.98 kB / 0.6443 GB, free: 8.156 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001337/0.1753, allocations: 141.8 kB / 0.6445 GB, free: 8.008 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.386e-05/0.1754, allocations: 23.69 kB / 0.6445 GB, free: 7.984 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001287/0.1767, allocations: 0.5179 MB / 0.645 GB, free: 7.457 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.1767, allocations: 4 kB / 0.645 GB, free: 7.453 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.1767, allocations: 3.938 kB / 0.645 GB, free: 7.449 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.1767, allocations: 3.984 kB / 0.645 GB, free: 7.445 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003191/0.177, allocations: 321.2 kB / 0.6453 GB, free: 7.082 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.177, allocations: 0 / 0.6453 GB, free: 7.082 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003441/0.1774, allocations: 95.8 kB / 0.6454 GB, free: 6.988 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.1774, allocations: 4 kB / 0.6454 GB, free: 6.984 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.383e-05/0.1774, allocations: 11.98 kB / 0.6454 GB, free: 6.973 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.1774, allocations: 0 / 0.6454 GB, free: 6.973 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1774, allocations: 0 / 0.6454 GB, free: 6.973 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.1785, allocations: 0.4927 MB / 0.6459 GB, free: 6.461 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.64e-05/0.1786, allocations: 104.8 kB / 0.646 GB, free: 6.34 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.733e-05/0.1786, allocations: 4 kB / 0.646 GB, free: 6.336 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/0.1788, allocations: 39.95 kB / 0.6461 GB, free: 6.297 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002273/0.1791, allocations: 115.8 kB / 0.6462 GB, free: 6.184 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.614e-05/0.1791, allocations: 15.98 kB / 0.6462 GB, free: 6.168 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.611e-05/0.1792, allocations: 99.27 kB / 0.6463 GB, free: 6.07 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1792, allocations: 0 / 0.6463 GB, free: 6.07 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003796/0.1796, allocations: 119.9 kB / 0.6464 GB, free: 5.953 MB / 494.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 (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.0003389/0.1799, allocations: 183 kB / 0.6466 GB, free: 5.766 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00116/0.1811, allocations: 479.1 kB / 0.647 GB, free: 5.297 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.1811, allocations: 7.938 kB / 0.647 GB, free: 5.289 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005529/0.1816, allocations: 263.7 kB / 0.6473 GB, free: 5.031 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004235/0.1821, allocations: 73.64 kB / 0.6474 GB, free: 4.961 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008064/0.1829, allocations: 456.6 kB / 0.6478 GB, free: 4.48 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.1832, allocations: 0.7328 MB / 0.6485 GB, free: 3.715 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.1834, allocations: 47.41 kB / 0.6485 GB, free: 3.672 MB / 494.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1834, allocations: 4 kB / 0.6486 GB, free: 3.668 MB / 494.1 MB Notification: Performance of Templates: time 0.007716/0.1911, allocations: 4.754 MB / 0.6532 GB, free: 14.96 MB / 0.4981 GB 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)