Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") 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: 107.9 kB / 16.41 MB, free: 6.492 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.001203/0.001203, allocations: 189.2 kB / 17.34 MB, free: 5.766 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.218/1.218, allocations: 222.9 MB / 241 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.6707/0.6708, allocations: 115.3 MB / 406.5 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001083/0.001083, allocations: 67.22 kB / 0.5577 GB, free: 32.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1281, allocations: 76.18 MB / 0.6321 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002842/0.131, allocations: 2.107 MB / 0.6341 GB, free: 2.289 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001458/0.1325, allocations: 1.041 MB / 0.6352 GB, free: 1.238 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.1326, allocations: 4 kB / 0.6352 GB, free: 1.234 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 5.801e-05/0.1326, allocations: 23.67 kB / 0.6352 GB, free: 1.211 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000294/0.1329, allocations: 91.14 kB / 0.6353 GB, free: 1.121 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003743/0.1333, allocations: 187.6 kB / 0.6355 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002993/0.1336, allocations: 290.8 kB / 0.6357 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001688/0.1338, allocations: 80.62 kB / 0.6358 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.134, allocations: 111.5 kB / 0.6359 GB, free: 476 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002211/0.1342, allocations: 139.4 kB / 0.636 GB, free: 336 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.552e-05/0.1342, allocations: 16 kB / 0.6361 GB, free: 320 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003979/0.1346, allocations: 299.7 kB / 0.6363 GB, free: 20 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 5.478e-05/0.1347, allocations: 47.91 kB / 0.6364 GB, free: 15.97 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.1348, allocations: 127.1 kB / 0.6365 GB, free: 15.85 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003474/0.1352, allocations: 326.9 kB / 0.6368 GB, free: 15.53 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1352, allocations: 4 kB / 0.6368 GB, free: 15.52 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1352, allocations: 0 / 0.6368 GB, free: 15.52 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.1352, allocations: 0 / 0.6368 GB, free: 15.52 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001035/0.1362, allocations: 0.6232 MB / 0.6374 GB, free: 14.85 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.1363, allocations: 8.031 kB / 0.6374 GB, free: 14.84 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001943/0.1365, allocations: 36.56 kB / 0.6375 GB, free: 14.81 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003228/0.1368, allocations: 287.5 kB / 0.6378 GB, free: 14.49 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.1368, allocations: 8.656 kB / 0.6378 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.1369, allocations: 16.38 kB / 0.6378 GB, free: 14.46 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005038/0.1374, allocations: 240.8 kB / 0.638 GB, free: 14.21 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.1374, allocations: 0 / 0.638 GB, free: 14.21 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.1374, allocations: 4 kB / 0.638 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.1374, allocations: 4 kB / 0.638 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006384/0.1381, allocations: 199.7 kB / 0.6382 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.1391, allocations: 0.9423 MB / 0.6391 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007329/0.1399, allocations: 233.2 kB / 0.6394 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003158/0.1402, allocations: 105.6 kB / 0.6395 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.83e-05/0.1402, allocations: 11.94 kB / 0.6395 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.1403, allocations: 38.48 kB / 0.6395 GB, free: 12.58 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.292e-06/0.1403, allocations: 0 / 0.6395 GB, free: 12.58 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.001115/0.1414, allocations: 337.9 kB / 0.6398 GB, free: 12.24 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.1414, allocations: 77.11 kB / 0.6399 GB, free: 12.15 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002424/0.1417, allocations: 278.9 kB / 0.6402 GB, free: 11.87 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.1417, allocations: 25.7 kB / 0.6402 GB, free: 11.84 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.934e-05/0.1418, allocations: 160.2 kB / 0.6403 GB, free: 11.68 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.568e-05/0.1419, allocations: 51.2 kB / 0.6404 GB, free: 11.62 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.425e-05/0.1419, allocations: 41.7 kB / 0.6404 GB, free: 11.58 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.142, allocations: 338.8 kB / 0.6408 GB, free: 11.24 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003274/0.1424, allocations: 95.91 kB / 0.6408 GB, free: 11.14 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003423/0.1427, allocations: 143.3 kB / 0.641 GB, free: 10.98 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006416/0.1434, allocations: 245.7 kB / 0.6412 GB, free: 10.72 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.1434, allocations: 4 kB / 0.6412 GB, free: 10.72 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008019/0.1442, allocations: 293 kB / 0.6415 GB, free: 10.43 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.1442, allocations: 8 kB / 0.6415 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.1442, allocations: 0 / 0.6415 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.1442, allocations: 4 kB / 0.6415 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002818/0.1445, allocations: 63.88 kB / 0.6416 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.1445, allocations: 128 / 0.6416 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002355/0.1448, allocations: 47.72 kB / 0.6416 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.1448, allocations: 11.98 kB / 0.6416 GB, free: 10.29 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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.0001027/0.1449, allocations: 130.5 kB / 0.6418 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.145, allocations: 35.58 kB / 0.6418 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000794/0.1458, allocations: 287.2 kB / 0.6421 GB, free: 9.832 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.1458, allocations: 0 / 0.6421 GB, free: 9.832 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/0.1459, allocations: 4 kB / 0.6421 GB, free: 9.828 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1459, allocations: 288 / 0.6421 GB, free: 9.828 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003237/0.1462, allocations: 297.3 kB / 0.6423 GB, free: 9.488 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1462, allocations: 7.875 kB / 0.6424 GB, free: 9.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002539/0.1465, allocations: 59.88 kB / 0.6424 GB, free: 9.422 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1465, allocations: 0 / 0.6424 GB, free: 9.422 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.1465, allocations: 4 kB / 0.6424 GB, free: 9.418 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.1465, allocations: 4 kB / 0.6424 GB, free: 9.414 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1465, allocations: 0 / 0.6424 GB, free: 9.414 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008047/0.1473, allocations: 430.3 kB / 0.6428 GB, free: 8.977 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.942e-05/0.1474, allocations: 116.6 kB / 0.6429 GB, free: 8.844 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.253e-05/0.1474, allocations: 4 kB / 0.6429 GB, free: 8.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002543/0.1477, allocations: 27.97 kB / 0.643 GB, free: 8.812 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.525e-05/0.1478, allocations: 19.97 kB / 0.643 GB, free: 8.793 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.1478, allocations: 4 kB / 0.643 GB, free: 8.789 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000165/0.1479, allocations: 190 kB / 0.6432 GB, free: 8.602 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.148, allocations: 0 / 0.6432 GB, free: 8.602 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003235/0.1483, allocations: 52 kB / 0.6432 GB, free: 8.551 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0001678/0.1485, allocations: 131.3 kB / 0.6433 GB, free: 8.414 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007149/0.1492, allocations: 223.7 kB / 0.6436 GB, free: 8.195 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1492, allocations: 4.312 kB / 0.6436 GB, free: 8.191 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003406/0.1495, allocations: 119.8 kB / 0.6437 GB, free: 8.074 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005064/0.1501, allocations: 73.52 kB / 0.6438 GB, free: 8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006533/0.1507, allocations: 440.8 kB / 0.6442 GB, free: 7.539 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.151, allocations: 0.748 MB / 0.6449 GB, free: 6.762 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001233/0.1511, allocations: 34.3 kB / 0.6449 GB, free: 6.727 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.452e-05/0.1512, allocations: 23.44 kB / 0.645 GB, free: 6.703 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1512, allocations: 0 / 0.645 GB, free: 6.703 MB / 494.1 MB Notification: Performance of Templates: time 0.006974/0.1582, allocations: 3.973 MB / 0.6488 GB, free: 2.805 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)