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.001139/0.001139, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001352/0.001352, allocations: 193.6 kB / 16.25 MB, free: 6.621 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.405/1.405, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.805/2.805, allocations: 472.6 MB / 0.7448 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 70.27 kB / 0.9115 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.3626, allocations: 159.9 MB / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.00355/0.3662, allocations: 2.205 MB / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001772/0.368, allocations: 1.044 MB / 1.071 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001712/0.3682, allocations: 7.938 kB / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 7.343e-05/0.3683, allocations: 11.86 kB / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003662/0.3687, allocations: 79.41 kB / 1.071 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004995/0.3692, allocations: 155.8 kB / 1.071 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003178/0.3695, allocations: 298.8 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000178/0.3697, allocations: 60.72 kB / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.3698, allocations: 107.6 kB / 1.072 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/0.3701, allocations: 143.3 kB / 1.072 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.854e-05/0.3701, allocations: 23.98 kB / 1.072 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004014/0.3705, allocations: 295.6 kB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.409e-05/0.3706, allocations: 55.7 kB / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.3707, allocations: 115.3 kB / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004001/0.3711, allocations: 331.1 kB / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3711, allocations: 0 / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3711, allocations: 0 / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.3711, allocations: 0 / 1.072 GB, free: 5.918 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.00114/0.3723, allocations: 0.6214 MB / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.3723, allocations: 12.03 kB / 1.073 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002376/0.3726, allocations: 40.55 kB / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003381/0.3729, allocations: 283.5 kB / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.3729, allocations: 12.66 kB / 1.073 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.733e-05/0.373, allocations: 16.38 kB / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005485/0.3735, allocations: 236.8 kB / 1.074 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.3735, allocations: 0 / 1.074 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.3736, allocations: 4 kB / 1.074 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.3736, allocations: 4 kB / 1.074 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006243/0.3742, allocations: 203.7 kB / 1.074 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001211/0.3754, allocations: 0.9307 MB / 1.075 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000767/0.3762, allocations: 245.2 kB / 1.075 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003071/0.3765, allocations: 105.6 kB / 1.075 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.426e-05/0.3766, allocations: 8.188 kB / 1.075 GB, free: 3.016 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.3766, allocations: 34.56 kB / 1.075 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.323e-06/0.3766, allocations: 0 / 1.075 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.001126/0.3777, allocations: 337.6 kB / 1.075 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.424e-05/0.3778, allocations: 81.11 kB / 1.076 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002707/0.3781, allocations: 271 kB / 1.076 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.3781, allocations: 33.7 kB / 1.076 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.3782, allocations: 160.1 kB / 1.076 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.998e-05/0.3783, allocations: 55.2 kB / 1.076 GB, free: 2.016 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.881e-05/0.3784, allocations: 37.7 kB / 1.076 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.3785, allocations: 338.8 kB / 1.076 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003147/0.3788, allocations: 95.84 kB / 1.076 GB, free: 1.539 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003228/0.3791, allocations: 140.8 kB / 1.077 GB, free: 1.383 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006468/0.3798, allocations: 253.7 kB / 1.077 GB, free: 1.113 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3798, allocations: 0 / 1.077 GB, free: 1.113 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007826/0.3806, allocations: 297 kB / 1.077 GB, free: 0.8164 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.3806, allocations: 4 kB / 1.077 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.3806, allocations: 4 kB / 1.077 GB, free: 0.8086 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.3807, allocations: 0 / 1.077 GB, free: 0.8086 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002816/0.381, allocations: 67.88 kB / 1.077 GB, free: 0.7422 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.381, allocations: 8.125 kB / 1.077 GB, free: 0.7344 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/0.3812, allocations: 39.72 kB / 1.077 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.157e-05/0.3812, allocations: 11.98 kB / 1.077 GB, free: 0.6836 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.0001325/0.3814, allocations: 129.8 kB / 1.077 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.3815, allocations: 27.66 kB / 1.077 GB, free: 0.5195 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007721/0.3823, allocations: 283.2 kB / 1.078 GB, free: 240 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.3823, allocations: 7.938 kB / 1.078 GB, free: 232 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.3823, allocations: 0 / 1.078 GB, free: 232 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.3823, allocations: 7.984 kB / 1.078 GB, free: 224 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003926/0.3827, allocations: 293.3 kB / 1.078 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3827, allocations: 3.938 kB / 1.078 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002505/0.383, allocations: 55.95 kB / 1.078 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.383, allocations: 4 kB / 1.078 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.383, allocations: 7.984 kB / 1.078 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.383, allocations: 0 / 1.078 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.383, allocations: 0 / 1.078 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008087/0.3838, allocations: 446.5 kB / 1.078 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.128e-05/0.3839, allocations: 112.6 kB / 1.079 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.662e-05/0.384, allocations: 8 kB / 1.079 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002494/0.3842, allocations: 19.97 kB / 1.079 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.062e-05/0.3843, allocations: 19.97 kB / 1.079 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.3843, allocations: 8 kB / 1.079 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001756/0.3845, allocations: 186 kB / 1.079 GB, free: 15 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3845, allocations: 4 kB / 1.079 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.00035/0.3849, allocations: 52 kB / 1.079 GB, free: 14.94 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.0002346/0.3851, allocations: 119.2 kB / 1.079 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007569/0.3859, allocations: 236 kB / 1.079 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.217e-06/0.3859, allocations: 0 / 1.079 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003389/0.3862, allocations: 123.8 kB / 1.079 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006189/0.3869, allocations: 78.97 kB / 1.079 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000833/0.3877, allocations: 0.5145 MB / 1.08 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.388, allocations: 0.7521 MB / 1.081 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000154/0.3882, allocations: 30.28 kB / 1.081 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.191e-05/0.3883, allocations: 27.42 kB / 1.081 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of SimCode: time 3.91e-07/0.3883, allocations: 0 / 1.081 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of Templates: time 0.007372/0.3957, allocations: 3.719 MB / 1.084 GB, free: 9.363 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)