Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001578/0.001578, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001712/0.001712, allocations: 195.9 kB / 16.14 MB, free: 6.656 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.469/1.469, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.979/2.979, allocations: 472.6 MB / 0.7447 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 65.41 kB / 0.9113 GB, free: 33.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3654, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003598/0.369, allocations: 2.19 MB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001725/0.3708, allocations: 1.075 MB / 1.071 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.99e-05/0.3709, allocations: 11.94 kB / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.99e-05/0.371, allocations: 11.86 kB / 1.071 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002803/0.3713, allocations: 67.41 kB / 1.071 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003426/0.3716, allocations: 151.7 kB / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002839/0.3719, allocations: 282.8 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001756/0.3721, allocations: 60.7 kB / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.3722, allocations: 91.64 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002274/0.3725, allocations: 139.3 kB / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.614e-05/0.3725, allocations: 12 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003825/0.3729, allocations: 287.6 kB / 1.072 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.173e-05/0.373, allocations: 43.77 kB / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.3731, allocations: 107.3 kB / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003436/0.3734, allocations: 331.1 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.3734, allocations: 7.938 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3734, allocations: 3.938 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.3735, allocations: 0 / 1.072 GB, free: 6.051 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.001077/0.3745, allocations: 0.6194 MB / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.3746, allocations: 8.031 kB / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000217/0.3748, allocations: 40.55 kB / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003064/0.3751, allocations: 275.5 kB / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.3751, allocations: 8.656 kB / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.72e-05/0.3752, allocations: 16.38 kB / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005212/0.3757, allocations: 232.9 kB / 1.073 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.3757, allocations: 7.938 kB / 1.073 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/0.3758, allocations: 4 kB / 1.073 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.3758, allocations: 4 kB / 1.073 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006508/0.3764, allocations: 199.8 kB / 1.074 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/0.3776, allocations: 0.9423 MB / 1.075 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007878/0.3784, allocations: 241.2 kB / 1.075 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003017/0.3787, allocations: 102 kB / 1.075 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.118e-05/0.3787, allocations: 19.92 kB / 1.075 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.3788, allocations: 30.56 kB / 1.075 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.483e-06/0.3788, allocations: 0 / 1.075 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.001144/0.3799, allocations: 345.1 kB / 1.075 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.024e-05/0.38, allocations: 77.11 kB / 1.075 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002624/0.3803, allocations: 263 kB / 1.076 GB, free: 2.41 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.3803, allocations: 25.7 kB / 1.076 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.3804, allocations: 172 kB / 1.076 GB, free: 2.207 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.954e-05/0.3805, allocations: 51.27 kB / 1.076 GB, free: 2.156 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.289e-05/0.3805, allocations: 41.7 kB / 1.076 GB, free: 2.109 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.3807, allocations: 334.8 kB / 1.076 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003311/0.381, allocations: 91.91 kB / 1.076 GB, free: 1.684 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003467/0.3814, allocations: 152.4 kB / 1.076 GB, free: 1.516 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006863/0.3821, allocations: 229.8 kB / 1.077 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.3821, allocations: 8 kB / 1.077 GB, free: 1.262 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008188/0.3829, allocations: 300.9 kB / 1.077 GB, free: 0.9609 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.3829, allocations: 12.16 kB / 1.077 GB, free: 0.9492 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3829, allocations: 0 / 1.077 GB, free: 0.9492 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.383, allocations: 4 kB / 1.077 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002953/0.3833, allocations: 63.88 kB / 1.077 GB, free: 0.8828 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.3833, allocations: 0 / 1.077 GB, free: 0.8828 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002328/0.3835, allocations: 47.66 kB / 1.077 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.712e-05/0.3836, allocations: 8 kB / 1.077 GB, free: 0.8281 MB / 0.8262 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.0001192/0.3837, allocations: 141.8 kB / 1.077 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.3838, allocations: 27.66 kB / 1.077 GB, free: 0.6523 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008204/0.3846, allocations: 287.8 kB / 1.077 GB, free: 372 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.3846, allocations: 0 / 1.077 GB, free: 372 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-06/0.3846, allocations: 4 kB / 1.077 GB, free: 368 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3847, allocations: 0 / 1.077 GB, free: 368 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003712/0.385, allocations: 293.3 kB / 1.078 GB, free: 24 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.385, allocations: 3.938 kB / 1.078 GB, free: 20 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002845/0.3853, allocations: 51.95 kB / 1.078 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.3853, allocations: 4 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.3854, allocations: 4 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.858e-06/0.3854, allocations: 11.92 kB / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3854, allocations: 0 / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008356/0.3862, allocations: 432.3 kB / 1.078 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.74e-05/0.3863, allocations: 112.7 kB / 1.078 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.625e-05/0.3864, allocations: 7.938 kB / 1.078 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002575/0.3866, allocations: 23.97 kB / 1.078 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.531e-05/0.3867, allocations: 23.97 kB / 1.078 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.3867, allocations: 4 kB / 1.078 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001792/0.3869, allocations: 193.9 kB / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3869, allocations: 0 / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003511/0.3873, allocations: 55.94 kB / 1.079 GB, free: 15.08 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.0002245/0.3875, allocations: 119.5 kB / 1.079 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007366/0.3882, allocations: 219.7 kB / 1.079 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3883, allocations: 3.938 kB / 1.079 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003567/0.3886, allocations: 128.1 kB / 1.079 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006568/0.3893, allocations: 71.05 kB / 1.079 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008727/0.3902, allocations: 0.5237 MB / 1.08 GB, free: 14 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.3905, allocations: 0.748 MB / 1.08 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001609/0.3907, allocations: 34.42 kB / 1.08 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.241e-05/0.3908, allocations: 23.44 kB / 1.08 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of SimCode: time 2.61e-07/0.3908, allocations: 0 / 1.08 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of Templates: time 0.007211/0.398, allocations: 3.566 MB / 1.084 GB, free: 9.664 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)