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.0009756/0.0009756, allocations: 92.16 kB / 15.71 MB, free: 452 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.0009402/0.0009402, allocations: 178.5 kB / 16.58 MB, free: 6.859 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.349/1.349, allocations: 223.3 MB / 240.6 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6953/0.6953, allocations: 115.5 MB / 407.2 MB, free: 2.762 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003078/0.0003079, allocations: 17.98 kB / 495.2 MB, free: 6.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.138, allocations: 77.53 MB / 0.5593 GB, free: 9.391 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002002/0.14, allocations: 1.746 MB / 0.561 GB, free: 7.633 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.1414, allocations: 0.9753 MB / 0.562 GB, free: 6.648 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.5e-05/0.1415, allocations: 7.938 kB / 0.562 GB, free: 6.641 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.867e-05/0.1416, allocations: 11.86 kB / 0.562 GB, free: 6.629 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002416/0.1418, allocations: 75.41 kB / 0.5621 GB, free: 6.555 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003048/0.1421, allocations: 135.7 kB / 0.5622 GB, free: 6.422 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002785/0.1424, allocations: 258.8 kB / 0.5625 GB, free: 6.168 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.1426, allocations: 60.67 kB / 0.5625 GB, free: 6.109 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.1427, allocations: 87.58 kB / 0.5626 GB, free: 6.023 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002016/0.1429, allocations: 123.5 kB / 0.5627 GB, free: 5.902 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.617e-05/0.1429, allocations: 8 kB / 0.5627 GB, free: 5.895 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003749/0.1433, allocations: 279.6 kB / 0.563 GB, free: 5.621 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.713e-05/0.1434, allocations: 35.84 kB / 0.563 GB, free: 5.586 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.77e-05/0.1434, allocations: 65.52 kB / 0.5631 GB, free: 5.516 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002456/0.1437, allocations: 223.7 kB / 0.5633 GB, free: 5.297 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1437, allocations: 0 / 0.5633 GB, free: 5.297 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1437, allocations: 0 / 0.5633 GB, free: 5.297 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.1437, allocations: 0 / 0.5633 GB, free: 5.297 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009311/0.1446, allocations: 0.6115 MB / 0.5639 GB, free: 4.637 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.1447, allocations: 16.02 kB / 0.5639 GB, free: 4.621 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001953/0.1449, allocations: 31.72 kB / 0.5639 GB, free: 4.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002925/0.1452, allocations: 266.3 kB / 0.5642 GB, free: 4.293 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.1452, allocations: 20.23 kB / 0.5642 GB, free: 4.273 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.447e-05/0.1452, allocations: 12 kB / 0.5642 GB, free: 4.262 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004991/0.1457, allocations: 252.6 kB / 0.5645 GB, free: 3.992 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.1457, allocations: 0 / 0.5645 GB, free: 3.992 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.1458, allocations: 4 kB / 0.5645 GB, free: 3.988 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.1458, allocations: 4 kB / 0.5645 GB, free: 3.984 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006405/0.1464, allocations: 239.8 kB / 0.5647 GB, free: 3.75 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/0.1475, allocations: 0.9541 MB / 0.5656 GB, free: 2.727 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007277/0.1482, allocations: 261.2 kB / 0.5659 GB, free: 2.453 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003145/0.1485, allocations: 133.6 kB / 0.566 GB, free: 2.316 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.815e-05/0.1486, allocations: 7.984 kB / 0.566 GB, free: 2.309 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.1486, allocations: 34.55 kB / 0.5661 GB, free: 2.266 MB / 430.1 MB Notification: Performance of pre-optimization done (n=16): time 1.333e-06/0.1486, allocations: 0 / 0.5661 GB, free: 2.266 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.001096/0.1497, allocations: 409.8 kB / 0.5664 GB, free: 1.859 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/0.1498, allocations: 77.11 kB / 0.5665 GB, free: 1.766 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002487/0.15, allocations: 267 kB / 0.5668 GB, free: 1.5 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.1501, allocations: 33.7 kB / 0.5668 GB, free: 1.461 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.1502, allocations: 156.1 kB / 0.567 GB, free: 1.305 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.072e-05/0.1502, allocations: 51.27 kB / 0.567 GB, free: 1.254 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.181e-05/0.1502, allocations: 7.938 kB / 0.567 GB, free: 1.246 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.1504, allocations: 334.8 kB / 0.5673 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003169/0.1507, allocations: 115.9 kB / 0.5674 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003211/0.151, allocations: 161.4 kB / 0.5676 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003109/0.1513, allocations: 123.9 kB / 0.5677 GB, free: 0.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.1514, allocations: 4 kB / 0.5677 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007807/0.1521, allocations: 336.9 kB / 0.568 GB, free: 164 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.1522, allocations: 4.094 kB / 0.568 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.1522, allocations: 7.938 kB / 0.5681 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.1522, allocations: 0 / 0.5681 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002823/0.1525, allocations: 80 kB / 0.5681 GB, free: 72 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.1525, allocations: 4 kB / 0.5681 GB, free: 68 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002123/0.1527, allocations: 51.81 kB / 0.5682 GB, free: 16 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.1527, allocations: 4 kB / 0.5682 GB, free: 12 kB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001253/0.1529, allocations: 141.7 kB / 0.5683 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.153, allocations: 27.67 kB / 0.5683 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007824/0.1538, allocations: 335.1 kB / 0.5687 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.1538, allocations: 4 kB / 0.5687 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1538, allocations: 4 kB / 0.5687 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1538, allocations: 0 / 0.5687 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003717/0.1542, allocations: 297.3 kB / 0.569 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1542, allocations: 0 / 0.569 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002635/0.1545, allocations: 67.89 kB / 0.569 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1545, allocations: 0 / 0.569 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.1545, allocations: 15.94 kB / 0.569 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1545, allocations: 0 / 0.569 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1545, allocations: 0 / 0.569 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008027/0.1553, allocations: 484 kB / 0.5695 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.515e-05/0.1554, allocations: 100.8 kB / 0.5696 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.15e-05/0.1554, allocations: 0 / 0.5696 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002475/0.1557, allocations: 39.97 kB / 0.5696 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.475e-05/0.1558, allocations: 27.86 kB / 0.5697 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.1558, allocations: 4 kB / 0.5697 GB, free: 14.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001671/0.1559, allocations: 190 kB / 0.5698 GB, free: 14.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.156, allocations: 192 / 0.5698 GB, free: 14.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003421/0.1563, allocations: 55.84 kB / 0.5699 GB, free: 14.16 MB / 446.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 (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.0001654/0.1565, allocations: 123.2 kB / 0.57 GB, free: 14.03 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007105/0.1572, allocations: 267.9 kB / 0.5703 GB, free: 13.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1572, allocations: 0 / 0.5703 GB, free: 13.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003464/0.1576, allocations: 147.8 kB / 0.5704 GB, free: 13.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005538/0.1581, allocations: 61.41 kB / 0.5705 GB, free: 13.56 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007216/0.1589, allocations: 0.5009 MB / 0.571 GB, free: 13.03 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.1592, allocations: 0.7558 MB / 0.5717 GB, free: 12.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001481/0.1593, allocations: 30.28 kB / 0.5717 GB, free: 12.22 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.59e-05/0.1594, allocations: 23.44 kB / 0.5717 GB, free: 12.2 MB / 446.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1594, allocations: 3.938 kB / 0.5718 GB, free: 12.19 MB / 446.1 MB Notification: Performance of Templates: time 0.006639/0.166, allocations: 3.4 MB / 0.5751 GB, free: 8.859 MB / 446.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)