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.004954/0.004954, allocations: 99.75 kB / 15.73 MB, free: 6.039 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.001046/0.001046, allocations: 191.9 kB / 16.67 MB, free: 5.949 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.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002084/0.002084, allocations: 292.3 kB / 290.8 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.9247/0.9247, allocations: 169.2 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001723/0.001723, allocations: 95.86 kB / 0.6815 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4285/0.4302, allocations: 86.97 MB / 0.7664 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002562/0.4328, allocations: 1.57 MB / 0.7679 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00144/0.4343, allocations: 0.8985 MB / 0.7688 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.149e-05/0.4344, allocations: 8 kB / 0.7688 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.532e-05/0.4344, allocations: 11.86 kB / 0.7688 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002132/0.4346, allocations: 23.78 kB / 0.7688 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003365/0.435, allocations: 139.6 kB / 0.769 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001374/0.4351, allocations: 75.72 kB / 0.769 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.4352, allocations: 15.94 kB / 0.7691 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.605e-05/0.4353, allocations: 35.84 kB / 0.7691 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.4355, allocations: 35.84 kB / 0.7691 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.4355, allocations: 4 kB / 0.7691 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003858/0.4359, allocations: 283.6 kB / 0.7694 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.129e-05/0.4359, allocations: 11.98 kB / 0.7694 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.969e-05/0.436, allocations: 31.8 kB / 0.7694 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000258/0.4362, allocations: 157.5 kB / 0.7696 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.4362, allocations: 4 kB / 0.7696 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.893e-06/0.4362, allocations: 3.938 kB / 0.7696 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.4362, allocations: 0 / 0.7696 GB, free: 0.7539 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.0005601/0.4368, allocations: 417.5 kB / 0.77 GB, free: 308 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.4369, allocations: 8.031 kB / 0.77 GB, free: 300 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.437, allocations: 12.89 kB / 0.77 GB, free: 288 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.4372, allocations: 184.3 kB / 0.7702 GB, free: 64 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.4372, allocations: 4.375 kB / 0.7702 GB, free: 60 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.705e-05/0.4372, allocations: 12.36 kB / 0.7702 GB, free: 48 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002052/0.4374, allocations: 61.98 kB / 0.7703 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.4375, allocations: 0 / 0.7703 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.4375, allocations: 0 / 0.7703 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.4375, allocations: 0 / 0.7703 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001466/0.4376, allocations: 43.91 kB / 0.7703 GB, free: 15.94 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004738/0.4381, allocations: 304.7 kB / 0.7706 GB, free: 15.59 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.4383, allocations: 54.55 kB / 0.7707 GB, free: 15.53 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.789e-05/0.4384, allocations: 32.97 kB / 0.7707 GB, free: 15.49 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.4384, allocations: 80 / 0.7707 GB, free: 15.49 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.4384, allocations: 38.56 kB / 0.7707 GB, free: 15.45 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 8.02e-07/0.4384, allocations: 3.938 kB / 0.7707 GB, free: 15.44 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.0003778/0.4388, allocations: 105.6 kB / 0.7708 GB, free: 15.33 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.4389, allocations: 51.41 kB / 0.7709 GB, free: 15.27 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.439, allocations: 128.3 kB / 0.771 GB, free: 15.14 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.439, allocations: 29.7 kB / 0.771 GB, free: 15.1 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.482e-05/0.4391, allocations: 104.1 kB / 0.7711 GB, free: 15 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.54e-05/0.4391, allocations: 7.906 kB / 0.7711 GB, free: 14.99 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.742e-05/0.4392, allocations: 25.7 kB / 0.7712 GB, free: 14.96 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.4393, allocations: 318.8 kB / 0.7715 GB, free: 14.64 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.938e-05/0.4394, allocations: 19.98 kB / 0.7715 GB, free: 14.62 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.022e-05/0.4395, allocations: 27.97 kB / 0.7715 GB, free: 14.59 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.4396, allocations: 56.78 kB / 0.7716 GB, free: 14.53 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.4396, allocations: 3.984 kB / 0.7716 GB, free: 14.53 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002101/0.4398, allocations: 85.62 kB / 0.7716 GB, free: 14.44 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.4399, allocations: 15.88 kB / 0.7717 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.289e-06/0.4399, allocations: 0 / 0.7717 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.4399, allocations: 0 / 0.7717 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.44, allocations: 15.98 kB / 0.7717 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.44, allocations: 0 / 0.7717 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.413e-05/0.4401, allocations: 19.88 kB / 0.7717 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-06/0.4401, allocations: 4 kB / 0.7717 GB, free: 14.38 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 9.154e-05/0.4402, allocations: 124.1 kB / 0.7718 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.338e-05/0.4402, allocations: 7.953 kB / 0.7718 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002415/0.4405, allocations: 94.45 kB / 0.7719 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.4405, allocations: 0 / 0.7719 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.4405, allocations: 0 / 0.7719 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.4405, allocations: 4 kB / 0.7719 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.4407, allocations: 193.6 kB / 0.7721 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4407, allocations: 0 / 0.7721 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.184e-05/0.4408, allocations: 15.98 kB / 0.7721 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.4408, allocations: 0 / 0.7721 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.629e-06/0.4408, allocations: 0 / 0.7721 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.4408, allocations: 0 / 0.7721 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.4408, allocations: 3.938 kB / 0.7721 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002605/0.4411, allocations: 195.4 kB / 0.7723 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.571e-05/0.4411, allocations: 81.06 kB / 0.7724 GB, free: 13.58 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.4412, allocations: 4 kB / 0.7724 GB, free: 13.58 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.428e-05/0.4413, allocations: 7.984 kB / 0.7724 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.813e-05/0.4413, allocations: 4 kB / 0.7724 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.4413, allocations: 3.984 kB / 0.7724 GB, free: 13.56 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.309e-05/0.4414, allocations: 102.4 kB / 0.7725 GB, free: 13.46 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4414, allocations: 4 kB / 0.7725 GB, free: 13.46 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002366/0.4416, allocations: 19.94 kB / 0.7725 GB, free: 13.44 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.0001713/0.4418, allocations: 111.2 kB / 0.7726 GB, free: 13.32 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002363/0.4421, allocations: 63.83 kB / 0.7727 GB, free: 13.26 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4421, allocations: 0 / 0.7727 GB, free: 13.26 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.122e-05/0.4422, allocations: 31.98 kB / 0.7727 GB, free: 13.23 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/0.4425, allocations: 12.55 kB / 0.7727 GB, free: 13.22 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004022/0.4429, allocations: 203.9 kB / 0.7729 GB, free: 12.99 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/0.4431, allocations: 0.6962 MB / 0.7736 GB, free: 12.27 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.033e-05/0.4432, allocations: 7.734 kB / 0.7736 GB, free: 12.26 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.081e-05/0.4432, allocations: 19.42 kB / 0.7736 GB, free: 12.24 MB / 0.545 GB Notification: Performance of SimCode: time 2.5e-07/0.4432, allocations: 3.938 kB / 0.7736 GB, free: 12.24 MB / 0.545 GB Notification: Performance of Templates: time 0.00357/0.4468, allocations: 1.096 MB / 0.7747 GB, free: 11.15 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)