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.00144/0.00144, allocations: 108.8 kB / 16.41 MB, free: 6.453 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.001467/0.001467, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.36/1.36, 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.002221/0.002222, allocations: 287.4 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9729/0.9729, allocations: 169.2 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 104.1 kB / 0.6821 GB, free: 6.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4366/0.4386, allocations: 86.99 MB / 0.7671 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002446/0.4411, allocations: 1.558 MB / 0.7686 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001314/0.4424, allocations: 0.9063 MB / 0.7695 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.896e-05/0.4425, allocations: 0 / 0.7695 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.465e-05/0.4425, allocations: 11.86 kB / 0.7695 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002152/0.4427, allocations: 31.78 kB / 0.7695 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003446/0.4431, allocations: 135.6 kB / 0.7696 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.4432, allocations: 67.78 kB / 0.7697 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.4433, allocations: 15.64 kB / 0.7697 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.932e-05/0.4434, allocations: 43.78 kB / 0.7698 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.4435, allocations: 31.86 kB / 0.7698 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.4436, allocations: 4 kB / 0.7698 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003705/0.4439, allocations: 287.6 kB / 0.7701 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.12e-05/0.444, allocations: 19.91 kB / 0.7701 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.125e-05/0.444, allocations: 27.86 kB / 0.7701 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.4442, allocations: 147.6 kB / 0.7703 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.4443, allocations: 0 / 0.7703 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4443, allocations: 0 / 0.7703 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.4443, allocations: 0 / 0.7703 GB, free: 0.6758 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.0005384/0.4448, allocations: 417.7 kB / 0.7707 GB, free: 228 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.4449, allocations: 8.031 kB / 0.7707 GB, free: 220 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/0.445, allocations: 12.84 kB / 0.7707 GB, free: 208 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.4452, allocations: 180.3 kB / 0.7708 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.4452, allocations: 8.359 kB / 0.7709 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.4452, allocations: 4.375 kB / 0.7709 GB, free: 15.97 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.4454, allocations: 69.97 kB / 0.7709 GB, free: 15.9 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.4454, allocations: 0 / 0.7709 GB, free: 15.9 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.4455, allocations: 0 / 0.7709 GB, free: 15.9 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.4455, allocations: 0 / 0.7709 GB, free: 15.9 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001441/0.4456, allocations: 43.95 kB / 0.771 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004484/0.4461, allocations: 312.6 kB / 0.7713 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00014/0.4462, allocations: 58.55 kB / 0.7713 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.75e-05/0.4463, allocations: 28.97 kB / 0.7713 GB, free: 15.4 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.4463, allocations: 0 / 0.7713 GB, free: 15.4 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.4464, allocations: 34.56 kB / 0.7714 GB, free: 15.36 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.4464, allocations: 0 / 0.7714 GB, free: 15.36 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.0003372/0.4467, allocations: 109.5 kB / 0.7715 GB, free: 15.25 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.4468, allocations: 51.41 kB / 0.7715 GB, free: 15.18 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.4469, allocations: 136.1 kB / 0.7717 GB, free: 15.04 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.4469, allocations: 25.7 kB / 0.7717 GB, free: 15.01 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.169e-05/0.447, allocations: 96.12 kB / 0.7718 GB, free: 14.91 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.447, allocations: 15.81 kB / 0.7718 GB, free: 14.9 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-05/0.447, allocations: 21.7 kB / 0.7718 GB, free: 14.87 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.4471, allocations: 318.8 kB / 0.7721 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.154e-05/0.4472, allocations: 27.97 kB / 0.7721 GB, free: 14.52 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.513e-05/0.4473, allocations: 23.98 kB / 0.7722 GB, free: 14.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.4475, allocations: 52.83 kB / 0.7722 GB, free: 14.45 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.4475, allocations: 3.828 kB / 0.7722 GB, free: 14.45 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002164/0.4477, allocations: 93.52 kB / 0.7723 GB, free: 14.35 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.4477, allocations: 4 kB / 0.7723 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.4477, allocations: 0 / 0.7723 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.4477, allocations: 0 / 0.7723 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.4479, allocations: 19.98 kB / 0.7723 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.4479, allocations: 0 / 0.7723 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.685e-05/0.4479, allocations: 15.83 kB / 0.7723 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.448, allocations: 0 / 0.7723 GB, free: 14.31 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 8.158e-05/0.448, allocations: 121.8 kB / 0.7725 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.208e-05/0.4481, allocations: 7.984 kB / 0.7725 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002374/0.4483, allocations: 98.33 kB / 0.7726 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.4483, allocations: 4 kB / 0.7726 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.4484, allocations: 0 / 0.7726 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.4484, allocations: 0 / 0.7726 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001827/0.4485, allocations: 193.6 kB / 0.7728 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4486, allocations: 0 / 0.7728 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.901e-05/0.4486, allocations: 15.98 kB / 0.7728 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.4487, allocations: 4 kB / 0.7728 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.4487, allocations: 4 kB / 0.7728 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.4487, allocations: 0 / 0.7728 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4487, allocations: 4 kB / 0.7728 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002534/0.4489, allocations: 191.3 kB / 0.773 GB, free: 13.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.732e-05/0.449, allocations: 81.02 kB / 0.773 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/0.449, allocations: 4 kB / 0.773 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.975e-05/0.4491, allocations: 7.984 kB / 0.7731 GB, free: 13.49 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.079e-05/0.4492, allocations: 4 kB / 0.7731 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.333e-06/0.4492, allocations: 3.984 kB / 0.7731 GB, free: 13.48 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.478e-05/0.4492, allocations: 106.2 kB / 0.7732 GB, free: 13.38 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4492, allocations: 0 / 0.7732 GB, free: 13.38 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002479/0.4495, allocations: 16 kB / 0.7732 GB, free: 13.36 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.0001722/0.4497, allocations: 115.2 kB / 0.7733 GB, free: 13.24 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000205/0.4499, allocations: 67.83 kB / 0.7734 GB, free: 13.18 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4499, allocations: 3.938 kB / 0.7734 GB, free: 13.17 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.28e-05/0.45, allocations: 31.92 kB / 0.7734 GB, free: 13.14 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.4503, allocations: 16.67 kB / 0.7734 GB, free: 13.12 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003951/0.4507, allocations: 217.8 kB / 0.7736 GB, free: 12.88 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.4509, allocations: 0.6924 MB / 0.7743 GB, free: 12.16 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.799e-05/0.451, allocations: 7.438 kB / 0.7743 GB, free: 12.15 MB / 0.545 GB Notification: Performance of SimCode: time 2.6e-07/0.451, allocations: 0 / 0.7743 GB, free: 12.15 MB / 0.545 GB Notification: Performance of Templates: time 0.002524/0.4535, allocations: 1.138 MB / 0.7754 GB, free: 11.02 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)