Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.000807/0.000807, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005183/0.005184, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.356/1.356, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7603/0.7603, allocations: 132.3 MB / 423.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003558/0.0003557, allocations: 12.62 kB / 0.504 GB, free: 3.887 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4605/0.4609, allocations: 81.57 MB / 0.5837 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.001623/0.4625, allocations: 1.291 MB / 0.5849 GB, free: 3.102 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001585/0.4641, allocations: 0.9166 MB / 0.5858 GB, free: 2.473 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.833e-05/0.4642, allocations: 1 kB / 0.5858 GB, free: 2.473 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.934e-05/0.4642, allocations: 1.172 kB / 0.5858 GB, free: 2.473 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002028/0.4644, allocations: 21.95 kB / 0.5859 GB, free: 2.457 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002949/0.4648, allocations: 101.5 kB / 0.586 GB, free: 2.414 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.4649, allocations: 73.36 kB / 0.586 GB, free: 2.379 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.596e-05/0.465, allocations: 10.92 kB / 0.586 GB, free: 2.375 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.87e-05/0.4651, allocations: 29.27 kB / 0.5861 GB, free: 2.363 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.4653, allocations: 40.27 kB / 0.5861 GB, free: 2.344 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.4653, allocations: 2.344 kB / 0.5861 GB, free: 2.344 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000483/0.4658, allocations: 283.4 kB / 0.5864 GB, free: 2.27 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.041e-05/0.4658, allocations: 8.422 kB / 0.5864 GB, free: 2.266 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.818e-05/0.4659, allocations: 55.67 kB / 0.5864 GB, free: 2.215 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002542/0.4661, allocations: 142.3 kB / 0.5866 GB, free: 2.172 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.4661, allocations: 0.75 kB / 0.5866 GB, free: 2.172 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4662, allocations: 0 / 0.5866 GB, free: 2.172 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.247e-06/0.4662, allocations: 0.6562 kB / 0.5866 GB, free: 2.172 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.0005118/0.4667, allocations: 403.3 kB / 0.587 GB, free: 1.777 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.4667, allocations: 9.406 kB / 0.587 GB, free: 1.777 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001266/0.4669, allocations: 13.48 kB / 0.587 GB, free: 1.773 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.467, allocations: 188.3 kB / 0.5872 GB, free: 1.562 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.467, allocations: 5.688 kB / 0.5872 GB, free: 1.559 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.4671, allocations: 10.47 kB / 0.5872 GB, free: 1.551 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001933/0.4673, allocations: 68.41 kB / 0.5872 GB, free: 1.508 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.4673, allocations: 3.938 kB / 0.5872 GB, free: 1.504 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.4673, allocations: 5.156 kB / 0.5872 GB, free: 1.5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.4673, allocations: 0.5625 kB / 0.5872 GB, free: 1.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001763/0.4675, allocations: 52.56 kB / 0.5873 GB, free: 1.488 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004153/0.4679, allocations: 295.4 kB / 0.5876 GB, free: 1.199 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.4681, allocations: 58.66 kB / 0.5876 GB, free: 1.164 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.977e-05/0.4682, allocations: 38.7 kB / 0.5877 GB, free: 1.145 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.4682, allocations: 3.938 kB / 0.5877 GB, free: 1.141 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.4682, allocations: 36.61 kB / 0.5877 GB, free: 1.098 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.322e-06/0.4682, allocations: 0 / 0.5877 GB, free: 1.098 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004043/0.4686, allocations: 120 kB / 0.5878 GB, free: 1.043 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.724e-05/0.4687, allocations: 53.34 kB / 0.5879 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.844e-05/0.4688, allocations: 132.4 kB / 0.588 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.4688, allocations: 29.7 kB / 0.588 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.747e-05/0.4688, allocations: 97.02 kB / 0.5881 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/0.4689, allocations: 11.09 kB / 0.5881 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.452e-05/0.4689, allocations: 16.36 kB / 0.5881 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.311e-05/0.4689, allocations: 324.2 kB / 0.5885 GB, free: 404 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.027e-05/0.469, allocations: 28.47 kB / 0.5885 GB, free: 396 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.959e-05/0.4691, allocations: 33.42 kB / 0.5885 GB, free: 384 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001739/0.4693, allocations: 62.91 kB / 0.5886 GB, free: 360 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.4693, allocations: 0 / 0.5886 GB, free: 360 kB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002333/0.4696, allocations: 100 kB / 0.5887 GB, free: 308 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.4696, allocations: 4.156 kB / 0.5887 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.4696, allocations: 0.7812 kB / 0.5887 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.4696, allocations: 1.734 kB / 0.5887 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.4697, allocations: 19.36 kB / 0.5887 GB, free: 304 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.4698, allocations: 0.7188 kB / 0.5887 GB, free: 304 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.141e-05/0.4698, allocations: 11.8 kB / 0.5887 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.4699, allocations: 6.344 kB / 0.5887 GB, free: 296 kB / 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 6.054e-05/0.4699, allocations: 114.7 kB / 0.5888 GB, free: 176 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.368e-05/0.47, allocations: 7.812 kB / 0.5888 GB, free: 172 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002734/0.4703, allocations: 110.1 kB / 0.5889 GB, free: 108 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.4703, allocations: 5.906 kB / 0.5889 GB, free: 104 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.4703, allocations: 0 / 0.5889 GB, free: 104 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.4703, allocations: 0.7969 kB / 0.5889 GB, free: 104 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/0.4705, allocations: 191.6 kB / 0.5891 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.4705, allocations: 0 / 0.5891 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.704e-05/0.4706, allocations: 24.08 kB / 0.5891 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.4706, allocations: 1.219 kB / 0.5891 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.4706, allocations: 1.891 kB / 0.5892 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4706, allocations: 256 / 0.5892 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.4707, allocations: 4.641 kB / 0.5892 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002927/0.471, allocations: 203.5 kB / 0.5893 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.499e-05/0.471, allocations: 84.25 kB / 0.5894 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.471, allocations: 0.6875 kB / 0.5894 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.941e-05/0.4711, allocations: 7.016 kB / 0.5894 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.4712, allocations: 4.484 kB / 0.5894 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.4712, allocations: 2.922 kB / 0.5894 GB, free: 15.62 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.185e-05/0.4713, allocations: 107.2 kB / 0.5895 GB, free: 15.54 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4713, allocations: 0 / 0.5895 GB, free: 15.54 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002612/0.4715, allocations: 26.84 kB / 0.5896 GB, free: 15.53 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.0001836/0.4717, allocations: 113.3 kB / 0.5897 GB, free: 15.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002512/0.472, allocations: 62.3 kB / 0.5897 GB, free: 15.42 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.472, allocations: 0 / 0.5897 GB, free: 15.42 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.4721, allocations: 35.53 kB / 0.5898 GB, free: 15.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003293/0.4724, allocations: 11.19 kB / 0.5898 GB, free: 15.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000453/0.4729, allocations: 231.7 kB / 0.59 GB, free: 15.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.4732, allocations: 0.6944 MB / 0.5907 GB, free: 14.54 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.181e-05/0.4732, allocations: 8.078 kB / 0.5907 GB, free: 14.53 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.2e-05/0.4732, allocations: 12.06 kB / 0.5907 GB, free: 14.53 MB / 446.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4733, allocations: 4 kB / 0.5907 GB, free: 14.52 MB / 446.1 MB Notification: Performance of Templates: time 0.003926/0.4772, allocations: 0.992 MB / 0.5917 GB, free: 14.43 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)