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.001443/0.001443, allocations: 104 kB / 16.94 MB, free: 6.191 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.001273/0.001272, allocations: 191.4 kB / 17.86 MB, free: 5.293 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.352/1.352, allocations: 222.9 MB / 241.6 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8024/0.8024, allocations: 122.9 MB / 414.6 MB, free: 15.92 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 55.91 kB / 0.4917 GB, free: 7.473 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4264/0.4279, allocations: 77.93 MB / 0.5678 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002916/0.4309, allocations: 1.57 MB / 0.5694 GB, free: 31.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001417/0.4323, allocations: 0.8913 MB / 0.5702 GB, free: 31 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.211e-05/0.4324, allocations: 1.094 kB / 0.5702 GB, free: 31 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.583e-05/0.4325, allocations: 10.3 kB / 0.5703 GB, free: 31 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002242/0.4327, allocations: 23.42 kB / 0.5703 GB, free: 30.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003953/0.4331, allocations: 148.8 kB / 0.5704 GB, free: 30.92 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000142/0.4332, allocations: 74.3 kB / 0.5705 GB, free: 30.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.4334, allocations: 16.8 kB / 0.5705 GB, free: 30.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.247e-05/0.4335, allocations: 37.88 kB / 0.5705 GB, free: 30.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.4336, allocations: 36.73 kB / 0.5706 GB, free: 30.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.4336, allocations: 4.812 kB / 0.5706 GB, free: 30.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004453/0.4341, allocations: 280.6 kB / 0.5708 GB, free: 30.78 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.252e-05/0.4341, allocations: 13.83 kB / 0.5709 GB, free: 30.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.626e-05/0.4342, allocations: 29.77 kB / 0.5709 GB, free: 30.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002903/0.4344, allocations: 154.2 kB / 0.571 GB, free: 30.7 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.4345, allocations: 0 / 0.571 GB, free: 30.7 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.4345, allocations: 1.125 kB / 0.571 GB, free: 30.7 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.4345, allocations: 1.25 kB / 0.571 GB, free: 30.7 MB / 446.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.000557/0.435, allocations: 405.4 kB / 0.5714 GB, free: 30.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.4351, allocations: 10.78 kB / 0.5714 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001318/0.4352, allocations: 16.89 kB / 0.5714 GB, free: 30.29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.4354, allocations: 185.8 kB / 0.5716 GB, free: 30.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.4354, allocations: 7.156 kB / 0.5716 GB, free: 30.08 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.4354, allocations: 7.688 kB / 0.5716 GB, free: 30.08 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/0.4356, allocations: 67.58 kB / 0.5717 GB, free: 30.03 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.4357, allocations: 1.781 kB / 0.5717 GB, free: 30.03 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.4357, allocations: 0 / 0.5717 GB, free: 30.03 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.4357, allocations: 2.031 kB / 0.5717 GB, free: 30.03 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001531/0.4358, allocations: 41.23 kB / 0.5717 GB, free: 30.02 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004056/0.4363, allocations: 301.6 kB / 0.572 GB, free: 29.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.4364, allocations: 59.33 kB / 0.5721 GB, free: 29.69 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.979e-05/0.4365, allocations: 27.31 kB / 0.5721 GB, free: 29.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.4365, allocations: 1.781 kB / 0.5721 GB, free: 29.68 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.705e-05/0.4365, allocations: 37.88 kB / 0.5722 GB, free: 29.64 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.4366, allocations: 1.625 kB / 0.5722 GB, free: 29.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003945/0.437, allocations: 104.1 kB / 0.5723 GB, free: 29.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.621e-05/0.437, allocations: 56.28 kB / 0.5723 GB, free: 29.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.4371, allocations: 133.5 kB / 0.5724 GB, free: 29.41 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.4371, allocations: 30.8 kB / 0.5725 GB, free: 29.38 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.644e-05/0.4372, allocations: 92.61 kB / 0.5726 GB, free: 29.29 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.649e-05/0.4372, allocations: 11.61 kB / 0.5726 GB, free: 29.28 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.154e-05/0.4372, allocations: 21.59 kB / 0.5726 GB, free: 29.26 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.879e-05/0.4373, allocations: 324 kB / 0.5729 GB, free: 28.94 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.154e-05/0.4374, allocations: 22.78 kB / 0.5729 GB, free: 28.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.171e-05/0.4375, allocations: 31.44 kB / 0.5729 GB, free: 28.92 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.4376, allocations: 50.91 kB / 0.573 GB, free: 28.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.4376, allocations: 0 / 0.573 GB, free: 28.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002072/0.4378, allocations: 88.84 kB / 0.5731 GB, free: 28.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.4379, allocations: 5.594 kB / 0.5731 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.4379, allocations: 5.781 kB / 0.5731 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.4379, allocations: 0.6562 kB / 0.5731 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.438, allocations: 15.03 kB / 0.5731 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.438, allocations: 0.9375 kB / 0.5731 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.405e-05/0.4381, allocations: 15.06 kB / 0.5731 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.375e-06/0.4381, allocations: 6.266 kB / 0.5731 GB, free: 28.84 MB / 446.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 6.772e-05/0.4382, allocations: 117.5 kB / 0.5732 GB, free: 28.72 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.124e-05/0.4382, allocations: 8.625 kB / 0.5732 GB, free: 28.71 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000253/0.4385, allocations: 104.9 kB / 0.5733 GB, free: 28.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.4385, allocations: 3.938 kB / 0.5734 GB, free: 28.65 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.4385, allocations: 1.531 kB / 0.5734 GB, free: 28.65 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.4385, allocations: 1.469 kB / 0.5734 GB, free: 28.65 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/0.4387, allocations: 183.8 kB / 0.5735 GB, free: 28.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.4387, allocations: 0.5312 kB / 0.5735 GB, free: 28.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.597e-05/0.4388, allocations: 17.5 kB / 0.5735 GB, free: 28.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.4388, allocations: 1.875 kB / 0.5735 GB, free: 28.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.4388, allocations: 0 / 0.5735 GB, free: 28.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.4388, allocations: 5.25 kB / 0.5736 GB, free: 28.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4388, allocations: 0.625 kB / 0.5736 GB, free: 28.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002208/0.4391, allocations: 191 kB / 0.5737 GB, free: 28.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.561e-05/0.4391, allocations: 83.23 kB / 0.5738 GB, free: 28.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.4391, allocations: 6.094 kB / 0.5738 GB, free: 28.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.386e-05/0.4392, allocations: 5.188 kB / 0.5738 GB, free: 28.19 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.735e-05/0.4393, allocations: 7.188 kB / 0.5738 GB, free: 28.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.4393, allocations: 3.828 kB / 0.5738 GB, free: 28.19 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.719e-05/0.4393, allocations: 104.6 kB / 0.5739 GB, free: 28.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4393, allocations: 0 / 0.5739 GB, free: 28.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002485/0.4396, allocations: 23.41 kB / 0.574 GB, free: 28.1 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 (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.0001664/0.4398, allocations: 112.3 kB / 0.5741 GB, free: 28.01 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002309/0.44, allocations: 63.58 kB / 0.5741 GB, free: 27.99 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.44, allocations: 4 kB / 0.5741 GB, free: 27.99 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.868e-05/0.4401, allocations: 31.34 kB / 0.5742 GB, free: 27.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.4405, allocations: 17.06 kB / 0.5742 GB, free: 27.97 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004305/0.4409, allocations: 211.4 kB / 0.5744 GB, free: 27.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001497/0.4411, allocations: 0.6939 MB / 0.5751 GB, free: 27.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.651e-05/0.4411, allocations: 15.8 kB / 0.5751 GB, free: 27.09 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4411, allocations: 3.938 kB / 0.5751 GB, free: 27.09 MB / 446.1 MB Notification: Performance of Templates: time 0.003264/0.4444, allocations: 1.111 MB / 0.5762 GB, free: 27.05 MB / 446.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)