Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.01023/0.01023, allocations: 169 kB / 16.26 MB, free: 6.652 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.41/1.41, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.998/2.998, allocations: 473.4 MB / 0.7469 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003774/0.0003774, allocations: 16.28 kB / 0.9158 GB, free: 33.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.3652, allocations: 162.2 MB / 1.074 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002281/0.3675, allocations: 1.851 MB / 1.076 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001752/0.3693, allocations: 1.056 MB / 1.077 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.3694, allocations: 7.938 kB / 1.077 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.573e-05/0.3695, allocations: 19.84 kB / 1.077 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002934/0.3698, allocations: 67.41 kB / 1.077 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000404/0.3702, allocations: 151.7 kB / 1.077 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002932/0.3705, allocations: 274.8 kB / 1.077 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001833/0.3707, allocations: 60.7 kB / 1.078 GB, free: 4 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.3708, allocations: 95.56 kB / 1.078 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002189/0.371, allocations: 123.4 kB / 1.078 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.654e-05/0.3711, allocations: 8 kB / 1.078 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003933/0.3715, allocations: 283.6 kB / 1.078 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.855e-05/0.3716, allocations: 35.78 kB / 1.078 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.3717, allocations: 129 kB / 1.078 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003537/0.372, allocations: 319 kB / 1.078 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.372, allocations: 3.938 kB / 1.078 GB, free: 3.016 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3721, allocations: 0 / 1.078 GB, free: 3.016 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.3721, allocations: 4 kB / 1.078 GB, free: 3.012 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001034/0.3731, allocations: 0.6078 MB / 1.079 GB, free: 2.352 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.3732, allocations: 8.031 kB / 1.079 GB, free: 2.344 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002259/0.3734, allocations: 40.64 kB / 1.079 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000307/0.3737, allocations: 275.5 kB / 1.079 GB, free: 1.996 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.3737, allocations: 8.656 kB / 1.079 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.111e-05/0.3738, allocations: 16.38 kB / 1.079 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005731/0.3743, allocations: 256.9 kB / 1.08 GB, free: 1.699 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.3744, allocations: 3.938 kB / 1.08 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.902e-05/0.3744, allocations: 4 kB / 1.08 GB, free: 1.691 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.3744, allocations: 8 kB / 1.08 GB, free: 1.684 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007311/0.3751, allocations: 243.8 kB / 1.08 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00114/0.3763, allocations: 0.9461 MB / 1.081 GB, free: 440 kB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007955/0.3771, allocations: 265.3 kB / 1.081 GB, free: 156 kB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003653/0.3775, allocations: 133.8 kB / 1.081 GB, free: 16 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.3775, allocations: 7.875 kB / 1.081 GB, free: 8 kB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.08e-05/0.3775, allocations: 42.56 kB / 1.081 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 1.694e-06/0.3776, allocations: 0 / 1.081 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16): time 0.001284/0.3788, allocations: 409.1 kB / 1.082 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.3789, allocations: 77.11 kB / 1.082 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002783/0.3792, allocations: 263 kB / 1.082 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.3792, allocations: 25.7 kB / 1.082 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.3793, allocations: 168.1 kB / 1.082 GB, free: 15 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.123e-05/0.3794, allocations: 51.17 kB / 1.082 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-05/0.3794, allocations: 25.7 kB / 1.082 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.3796, allocations: 338.8 kB / 1.083 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003555/0.3799, allocations: 107.9 kB / 1.083 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003827/0.3803, allocations: 169.8 kB / 1.083 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007413/0.3811, allocations: 285.8 kB / 1.083 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3811, allocations: 3.938 kB / 1.083 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009103/0.382, allocations: 333 kB / 1.083 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.382, allocations: 8 kB / 1.083 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.382, allocations: 0 / 1.083 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.382, allocations: 4 kB / 1.083 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003171/0.3824, allocations: 76.02 kB / 1.083 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.3824, allocations: 7.984 kB / 1.084 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002646/0.3827, allocations: 51.75 kB / 1.084 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.3827, allocations: 8 kB / 1.084 GB, free: 13.49 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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 0.0001278/0.3828, allocations: 129.8 kB / 1.084 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/0.3829, allocations: 31.66 kB / 1.084 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009458/0.3839, allocations: 335.8 kB / 1.084 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.3839, allocations: 4 kB / 1.084 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.3839, allocations: 0 / 1.084 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.3839, allocations: 3.984 kB / 1.084 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003757/0.3843, allocations: 293.4 kB / 1.084 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.83e-06/0.3843, allocations: 11.94 kB / 1.084 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002807/0.3846, allocations: 63.95 kB / 1.084 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3846, allocations: 0 / 1.084 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.3847, allocations: 4 kB / 1.084 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.3847, allocations: 3.938 kB / 1.084 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3847, allocations: 4 kB / 1.084 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009243/0.3856, allocations: 487.8 kB / 1.085 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.072e-05/0.3857, allocations: 100.8 kB / 1.085 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.583e-05/0.3857, allocations: 4 kB / 1.085 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002895/0.386, allocations: 39.95 kB / 1.085 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.719e-05/0.3861, allocations: 15.98 kB / 1.085 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.3861, allocations: 7.984 kB / 1.085 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001847/0.3863, allocations: 193.9 kB / 1.085 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3863, allocations: 0 / 1.085 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003679/0.3867, allocations: 59.83 kB / 1.085 GB, free: 11.64 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0002023/0.3869, allocations: 115.5 kB / 1.085 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008422/0.3877, allocations: 271.9 kB / 1.086 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3878, allocations: 0 / 1.086 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003992/0.3882, allocations: 152.3 kB / 1.086 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006161/0.3888, allocations: 64.72 kB / 1.086 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008246/0.3896, allocations: 0.5265 MB / 1.086 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.3899, allocations: 0.744 MB / 1.087 GB, free: 9.707 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000152/0.3901, allocations: 42.41 kB / 1.087 GB, free: 9.668 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.2e-05/0.3902, allocations: 23.44 kB / 1.087 GB, free: 9.645 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.3902, allocations: 0 / 1.087 GB, free: 9.645 MB / 0.8419 GB Notification: Performance of Templates: time 0.007373/0.3976, allocations: 3.556 MB / 1.091 GB, free: 6.156 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)