Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.001349, allocations: 98.73 kB / 16.02 MB, free: 80 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.001549/0.001549, allocations: 183.7 kB / 16.92 MB, free: 6.754 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.379/1.379, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6657/0.6657, allocations: 115.5 MB / 407.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003292/0.0003293, allocations: 11.98 kB / 495.9 MB, free: 6.371 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1391, allocations: 77.55 MB / 0.56 GB, free: 9.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.00173/0.1408, allocations: 1.278 MB / 0.5612 GB, free: 7.738 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001325/0.1422, allocations: 0.9049 MB / 0.5621 GB, free: 6.824 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.592e-05/0.1422, allocations: 4 kB / 0.5621 GB, free: 6.82 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.152e-05/0.1423, allocations: 7.922 kB / 0.5621 GB, free: 6.812 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001601/0.1424, allocations: 19.84 kB / 0.5621 GB, free: 6.793 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002565/0.1427, allocations: 98.77 kB / 0.5622 GB, free: 6.699 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.1428, allocations: 71.72 kB / 0.5623 GB, free: 6.629 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.623e-05/0.1429, allocations: 23.95 kB / 0.5623 GB, free: 6.605 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.193e-05/0.143, allocations: 31.8 kB / 0.5623 GB, free: 6.574 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.1431, allocations: 39.84 kB / 0.5624 GB, free: 6.535 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.1431, allocations: 0 / 0.5624 GB, free: 6.535 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000355/0.1435, allocations: 279.6 kB / 0.5627 GB, free: 6.262 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.369e-05/0.1435, allocations: 3.984 kB / 0.5627 GB, free: 6.258 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.758e-05/0.1436, allocations: 57.5 kB / 0.5627 GB, free: 6.195 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002019/0.1438, allocations: 151.9 kB / 0.5629 GB, free: 6.047 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1438, allocations: 0 / 0.5629 GB, free: 6.047 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1438, allocations: 0 / 0.5629 GB, free: 6.047 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.808e-06/0.1438, allocations: 0 / 0.5629 GB, free: 6.047 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004916/0.1443, allocations: 395.3 kB / 0.5632 GB, free: 5.613 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.1443, allocations: 8.031 kB / 0.5632 GB, free: 5.605 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.1445, allocations: 24.83 kB / 0.5633 GB, free: 5.582 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.1446, allocations: 190 kB / 0.5634 GB, free: 5.359 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.1447, allocations: 8.375 kB / 0.5635 GB, free: 5.352 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.1447, allocations: 384 / 0.5635 GB, free: 5.352 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.1448, allocations: 73.95 kB / 0.5635 GB, free: 5.273 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.111e-06/0.1449, allocations: 4 kB / 0.5635 GB, free: 5.27 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.1449, allocations: 0 / 0.5635 GB, free: 5.27 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.1449, allocations: 0 / 0.5635 GB, free: 5.27 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000158/0.1451, allocations: 55.91 kB / 0.5636 GB, free: 5.215 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004218/0.1455, allocations: 296.8 kB / 0.5639 GB, free: 4.875 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.1456, allocations: 58.5 kB / 0.5639 GB, free: 4.809 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.529e-05/0.1457, allocations: 32.97 kB / 0.564 GB, free: 4.773 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.1458, allocations: 0 / 0.564 GB, free: 4.773 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.1458, allocations: 34.56 kB / 0.564 GB, free: 4.73 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 8.01e-07/0.1458, allocations: 4 kB / 0.564 GB, free: 4.727 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003703/0.1462, allocations: 121.5 kB / 0.5641 GB, free: 4.602 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.1462, allocations: 51.41 kB / 0.5642 GB, free: 4.539 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.1463, allocations: 129.8 kB / 0.5643 GB, free: 4.402 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.1463, allocations: 33.7 kB / 0.5643 GB, free: 4.363 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.645e-05/0.1464, allocations: 88.14 kB / 0.5644 GB, free: 4.273 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/0.1464, allocations: 23.64 kB / 0.5644 GB, free: 4.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.627e-05/0.1465, allocations: 13.72 kB / 0.5644 GB, free: 4.23 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.1466, allocations: 326.8 kB / 0.5647 GB, free: 3.902 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.072e-05/0.1467, allocations: 23.98 kB / 0.5648 GB, free: 3.879 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.417e-05/0.1467, allocations: 27.98 kB / 0.5648 GB, free: 3.852 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/0.1469, allocations: 60.83 kB / 0.5648 GB, free: 3.789 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1469, allocations: 0 / 0.5648 GB, free: 3.789 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002227/0.1472, allocations: 105.9 kB / 0.5649 GB, free: 3.68 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.1472, allocations: 6.031 kB / 0.565 GB, free: 3.676 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.1472, allocations: 8.047 kB / 0.565 GB, free: 3.668 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.1472, allocations: 0 / 0.565 GB, free: 3.668 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.1473, allocations: 12 kB / 0.565 GB, free: 3.656 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.1473, allocations: 3.984 kB / 0.565 GB, free: 3.652 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.227e-05/0.1474, allocations: 12 kB / 0.565 GB, free: 3.641 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.1474, allocations: 0 / 0.565 GB, free: 3.641 MB / 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 (6): * Single equations (assignments): 6 * 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.406e-05/0.1475, allocations: 117.8 kB / 0.5651 GB, free: 3.516 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.272e-05/0.1476, allocations: 7.906 kB / 0.5651 GB, free: 3.508 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002535/0.1478, allocations: 117.8 kB / 0.5652 GB, free: 3.387 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1478, allocations: 0 / 0.5652 GB, free: 3.387 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.1478, allocations: 4 kB / 0.5652 GB, free: 3.383 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.1478, allocations: 0 / 0.5652 GB, free: 3.383 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001779/0.148, allocations: 185.6 kB / 0.5654 GB, free: 3.152 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.148, allocations: 0 / 0.5654 GB, free: 3.152 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.497e-05/0.1481, allocations: 15.98 kB / 0.5654 GB, free: 3.137 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1481, allocations: 0 / 0.5654 GB, free: 3.137 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.1481, allocations: 7.984 kB / 0.5654 GB, free: 3.129 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1482, allocations: 0 / 0.5654 GB, free: 3.129 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1482, allocations: 4 kB / 0.5654 GB, free: 3.125 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.1484, allocations: 195.3 kB / 0.5656 GB, free: 2.918 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.567e-05/0.1485, allocations: 89 kB / 0.5657 GB, free: 2.812 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.1485, allocations: 3.938 kB / 0.5657 GB, free: 2.809 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.876e-05/0.1486, allocations: 8 kB / 0.5657 GB, free: 2.801 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.958e-05/0.1486, allocations: 15.97 kB / 0.5657 GB, free: 2.785 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.1486, allocations: 128 / 0.5657 GB, free: 2.785 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.095e-05/0.1487, allocations: 95.27 kB / 0.5658 GB, free: 2.691 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1487, allocations: 0 / 0.5658 GB, free: 2.691 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002436/0.149, allocations: 28 kB / 0.5658 GB, free: 2.664 MB / 430.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 (6): * Single equations (assignments): 6 * 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.0001496/0.1491, allocations: 107.2 kB / 0.5659 GB, free: 2.551 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002045/0.1493, allocations: 71.91 kB / 0.566 GB, free: 2.48 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.1493, allocations: 4 kB / 0.566 GB, free: 2.477 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.742e-05/0.1494, allocations: 31.92 kB / 0.5661 GB, free: 2.445 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.1497, allocations: 15.98 kB / 0.5661 GB, free: 2.43 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003677/0.1501, allocations: 222.4 kB / 0.5663 GB, free: 2.188 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.1504, allocations: 0.6965 MB / 0.567 GB, free: 1.465 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.616e-05/0.1504, allocations: 4 kB / 0.567 GB, free: 1.461 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.904e-05/0.1505, allocations: 7.438 kB / 0.567 GB, free: 1.453 MB / 430.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1505, allocations: 7.938 kB / 0.567 GB, free: 1.445 MB / 430.1 MB Notification: Performance of Templates: time 0.003127/0.1536, allocations: 0.9961 MB / 0.5679 GB, free: 476 kB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)