Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001534/0.001534, allocations: 110.8 kB / 16.41 MB, free: 6.477 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.001581/0.001581, allocations: 185.5 kB / 17.34 MB, free: 5.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.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002167/0.002167, allocations: 296.8 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.013/1.013, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 100.2 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4555/0.4573, allocations: 86.98 MB / 0.7671 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.00253/0.4599, allocations: 1.573 MB / 0.7686 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001348/0.4613, allocations: 0.9102 MB / 0.7695 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.452e-05/0.4613, allocations: 0 / 0.7695 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.212e-05/0.4614, allocations: 3.938 kB / 0.7695 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002124/0.4616, allocations: 27.78 kB / 0.7695 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003356/0.462, allocations: 139.6 kB / 0.7696 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001344/0.4621, allocations: 71.72 kB / 0.7697 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.4622, allocations: 19.62 kB / 0.7697 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.768e-05/0.4623, allocations: 31.86 kB / 0.7698 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.4624, allocations: 39.84 kB / 0.7698 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.4625, allocations: 4 kB / 0.7698 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003778/0.4628, allocations: 291.6 kB / 0.7701 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.863e-05/0.4629, allocations: 15.92 kB / 0.7701 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.054e-05/0.4629, allocations: 27.86 kB / 0.7701 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002323/0.4632, allocations: 155.5 kB / 0.7703 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.4632, allocations: 0 / 0.7703 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4632, allocations: 0 / 0.7703 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.4632, allocations: 0 / 0.7703 GB, free: 0.5859 MB / 0.5294 GB 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.0005618/0.4637, allocations: 409.7 kB / 0.7707 GB, free: 144 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.4638, allocations: 8.031 kB / 0.7707 GB, free: 136 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001299/0.4639, allocations: 16.84 kB / 0.7707 GB, free: 120 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002654/0.4642, allocations: 180.3 kB / 0.7709 GB, free: 15.9 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.4642, allocations: 4.375 kB / 0.7709 GB, free: 15.9 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.4642, allocations: 4.375 kB / 0.7709 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.4644, allocations: 69.97 kB / 0.7709 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.4644, allocations: 3.938 kB / 0.7709 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.4645, allocations: 0 / 0.7709 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.4645, allocations: 0 / 0.7709 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001476/0.4646, allocations: 43.95 kB / 0.771 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004251/0.4651, allocations: 308.7 kB / 0.7713 GB, free: 15.42 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.4652, allocations: 54.56 kB / 0.7713 GB, free: 15.36 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.902e-05/0.4653, allocations: 24.97 kB / 0.7713 GB, free: 15.33 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.4653, allocations: 7.922 kB / 0.7714 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.4654, allocations: 38.56 kB / 0.7714 GB, free: 15.28 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.4654, allocations: 0 / 0.7714 GB, free: 15.28 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.0003657/0.4657, allocations: 109.5 kB / 0.7715 GB, free: 15.16 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.4658, allocations: 51.41 kB / 0.7715 GB, free: 15.1 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.924e-05/0.4659, allocations: 132.5 kB / 0.7717 GB, free: 14.96 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.4659, allocations: 25.7 kB / 0.7717 GB, free: 14.93 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.825e-05/0.466, allocations: 92.14 kB / 0.7718 GB, free: 14.84 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.07e-05/0.466, allocations: 19.8 kB / 0.7718 GB, free: 14.82 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.815e-05/0.466, allocations: 13.72 kB / 0.7718 GB, free: 14.8 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.4661, allocations: 326.8 kB / 0.7721 GB, free: 14.47 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.926e-05/0.4662, allocations: 27.92 kB / 0.7722 GB, free: 14.45 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.79e-05/0.4663, allocations: 27.92 kB / 0.7722 GB, free: 14.42 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.4664, allocations: 52.83 kB / 0.7722 GB, free: 14.36 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.4665, allocations: 0 / 0.7722 GB, free: 14.36 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002187/0.4667, allocations: 89.56 kB / 0.7723 GB, free: 14.27 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.4667, allocations: 8 kB / 0.7723 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.4667, allocations: 0 / 0.7723 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.4667, allocations: 0 / 0.7723 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.4669, allocations: 15.98 kB / 0.7723 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.4669, allocations: 3.938 kB / 0.7723 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.614e-05/0.4669, allocations: 15.84 kB / 0.7724 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.467, allocations: 0 / 0.7724 GB, free: 14.23 MB / 0.545 GB 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 7.793e-05/0.467, allocations: 120.2 kB / 0.7725 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.128e-05/0.4671, allocations: 15.92 kB / 0.7725 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002479/0.4673, allocations: 90.41 kB / 0.7726 GB, free: 13.99 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.4674, allocations: 4 kB / 0.7726 GB, free: 13.99 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.4674, allocations: 64 / 0.7726 GB, free: 13.99 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.4674, allocations: 7.984 kB / 0.7726 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.4676, allocations: 189.5 kB / 0.7728 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.4676, allocations: 0 / 0.7728 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.754e-05/0.4677, allocations: 19.92 kB / 0.7728 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.4677, allocations: 4 kB / 0.7728 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.4677, allocations: 0 / 0.7728 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.4677, allocations: 0 / 0.7728 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4677, allocations: 4 kB / 0.7728 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002405/0.4679, allocations: 187.4 kB / 0.773 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.35e-05/0.468, allocations: 81.02 kB / 0.773 GB, free: 13.42 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.468, allocations: 8 kB / 0.7731 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.645e-05/0.4681, allocations: 4 kB / 0.7731 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.342e-05/0.4682, allocations: 7.984 kB / 0.7731 GB, free: 13.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.4682, allocations: 0 / 0.7731 GB, free: 13.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.375e-05/0.4682, allocations: 106.2 kB / 0.7732 GB, free: 13.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4682, allocations: 0 / 0.7732 GB, free: 13.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002469/0.4685, allocations: 16 kB / 0.7732 GB, free: 13.29 MB / 0.545 GB 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.0001845/0.4687, allocations: 123.2 kB / 0.7733 GB, free: 13.16 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002152/0.4689, allocations: 59.84 kB / 0.7734 GB, free: 13.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4689, allocations: 0 / 0.7734 GB, free: 13.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.959e-05/0.469, allocations: 35.97 kB / 0.7734 GB, free: 13.06 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.4693, allocations: 11.94 kB / 0.7734 GB, free: 13.05 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004196/0.4697, allocations: 213.9 kB / 0.7736 GB, free: 12.81 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002232/0.47, allocations: 0.6924 MB / 0.7743 GB, free: 12.09 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.626e-05/0.47, allocations: 11.44 kB / 0.7743 GB, free: 12.08 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.47, allocations: 0 / 0.7743 GB, free: 12.08 MB / 0.545 GB Notification: Performance of Templates: time 0.002795/0.4728, allocations: 1.123 MB / 0.7754 GB, free: 10.96 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)