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.001202/0.001202, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 192.8 kB / 16.53 MB, free: 6.664 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.426/1.426, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.888/2.888, allocations: 472.6 MB / 0.7451 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 64.59 kB / 0.912 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.3636, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003649/0.3673, allocations: 2.152 MB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001801/0.3692, allocations: 1.055 MB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.3693, allocations: 3.938 kB / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.762e-05/0.3694, allocations: 23.73 kB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003327/0.3697, allocations: 87.2 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004342/0.3702, allocations: 195.5 kB / 1.072 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002914/0.3705, allocations: 286.8 kB / 1.072 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001844/0.3707, allocations: 64.69 kB / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.3708, allocations: 103.6 kB / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002179/0.371, allocations: 139.4 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.906e-05/0.3711, allocations: 20 kB / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003917/0.3715, allocations: 295.6 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.618e-05/0.3715, allocations: 51.72 kB / 1.073 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001084/0.3716, allocations: 127.2 kB / 1.073 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003574/0.372, allocations: 323.1 kB / 1.073 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.372, allocations: 4 kB / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.703e-06/0.372, allocations: 8 kB / 1.073 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.372, allocations: 0 / 1.073 GB, free: 5.504 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.001059/0.3731, allocations: 0.6193 MB / 1.074 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.3732, allocations: 8.031 kB / 1.074 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002279/0.3734, allocations: 40.55 kB / 1.074 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.3737, allocations: 271.5 kB / 1.074 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.3738, allocations: 12.66 kB / 1.074 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.3738, allocations: 12.38 kB / 1.074 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000532/0.3743, allocations: 236.8 kB / 1.074 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.3743, allocations: 4 kB / 1.074 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/0.3744, allocations: 8 kB / 1.074 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.3744, allocations: 4 kB / 1.074 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006413/0.375, allocations: 199.8 kB / 1.074 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00114/0.3762, allocations: 0.9384 MB / 1.075 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007406/0.3769, allocations: 241.2 kB / 1.075 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003153/0.3773, allocations: 105.6 kB / 1.076 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.3773, allocations: 7.938 kB / 1.076 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.3773, allocations: 38.56 kB / 1.076 GB, free: 2.566 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.483e-06/0.3773, allocations: 0 / 1.076 GB, free: 2.566 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.001233/0.3786, allocations: 337.4 kB / 1.076 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.3786, allocations: 81.09 kB / 1.076 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002489/0.3789, allocations: 263 kB / 1.076 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.3789, allocations: 29.7 kB / 1.076 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.379, allocations: 172 kB / 1.076 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.048e-05/0.3791, allocations: 51.2 kB / 1.077 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.287e-05/0.3792, allocations: 45.7 kB / 1.077 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.3793, allocations: 334.8 kB / 1.077 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003165/0.3796, allocations: 95.84 kB / 1.077 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003421/0.38, allocations: 145.8 kB / 1.077 GB, free: 0.9688 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006385/0.3806, allocations: 234.4 kB / 1.077 GB, free: 0.7188 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.3806, allocations: 4 kB / 1.077 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008009/0.3814, allocations: 289 kB / 1.078 GB, free: 436 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.3815, allocations: 8 kB / 1.078 GB, free: 428 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.3815, allocations: 4.234 kB / 1.078 GB, free: 424 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.3815, allocations: 4 kB / 1.078 GB, free: 420 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003118/0.3818, allocations: 59.89 kB / 1.078 GB, free: 360 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.3818, allocations: 7.969 kB / 1.078 GB, free: 352 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002351/0.3821, allocations: 43.72 kB / 1.078 GB, free: 308 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.3821, allocations: 4 kB / 1.078 GB, free: 304 kB / 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.0001219/0.3822, allocations: 134.3 kB / 1.078 GB, free: 160 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/0.3823, allocations: 31.66 kB / 1.078 GB, free: 128 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000837/0.3832, allocations: 295.3 kB / 1.078 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.3832, allocations: 4 kB / 1.078 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3832, allocations: 0 / 1.078 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.3832, allocations: 7.984 kB / 1.078 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000366/0.3836, allocations: 293.3 kB / 1.078 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3836, allocations: 3.938 kB / 1.078 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002623/0.3839, allocations: 51.89 kB / 1.079 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.3839, allocations: 8 kB / 1.079 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.3839, allocations: 4 kB / 1.079 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.3839, allocations: 4 kB / 1.079 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3839, allocations: 0 / 1.079 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008212/0.3848, allocations: 434.3 kB / 1.079 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.483e-05/0.3848, allocations: 108.6 kB / 1.079 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.782e-05/0.3849, allocations: 11.94 kB / 1.079 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002547/0.3852, allocations: 27.95 kB / 1.079 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.547e-05/0.3852, allocations: 15.98 kB / 1.079 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.3853, allocations: 8 kB / 1.079 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001737/0.3854, allocations: 190 kB / 1.079 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3854, allocations: 0 / 1.079 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003833/0.3858, allocations: 55.98 kB / 1.079 GB, free: 14.55 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.0002172/0.3861, allocations: 119.5 kB / 1.079 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007849/0.3868, allocations: 233.5 kB / 1.08 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3869, allocations: 3.938 kB / 1.08 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003587/0.3872, allocations: 124.2 kB / 1.08 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006142/0.3878, allocations: 73.52 kB / 1.08 GB, free: 14 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008297/0.3887, allocations: 450.8 kB / 1.08 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.389, allocations: 0.7519 MB / 1.081 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000149/0.3891, allocations: 34.27 kB / 1.081 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.772e-05/0.3892, allocations: 23.44 kB / 1.081 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of SimCode: time 4.21e-07/0.3892, allocations: 0 / 1.081 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of Templates: time 0.00785/0.3971, allocations: 3.952 MB / 1.085 GB, free: 8.82 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)