Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 92.2 kB / 20.19 MB, free: 4.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 173 kB / 23.49 MB, free: 1.051 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9802/0.9802, allocations: 177.1 MB / 203.8 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001754/0.001754, allocations: 226.4 kB / 260.5 MB, free: 12.88 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7236/0.7236, allocations: 138.4 MB / 455.4 MB, free: 1.539 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.555 GB, free: 0.8711 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.12e-05/2.275e-05, allocations: 2.312 kB / 0.555 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002483/0.002505, allocations: 2.128 MB / 0.5571 GB, free: 14.73 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001288/0.003794, allocations: 1.048 MB / 0.5581 GB, free: 13.67 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.221e-05/0.003886, allocations: 11.88 kB / 0.5582 GB, free: 13.66 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.307e-05/0.003929, allocations: 23.73 kB / 0.5582 GB, free: 13.63 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00026/0.004189, allocations: 83.22 kB / 0.5583 GB, free: 13.55 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003297/0.004519, allocations: 195.4 kB / 0.5584 GB, free: 13.36 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002373/0.004756, allocations: 306.5 kB / 0.5587 GB, free: 13.06 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.004895, allocations: 52.81 kB / 0.5588 GB, free: 13.01 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.005029, allocations: 155.6 kB / 0.5589 GB, free: 12.86 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.005186, allocations: 107.7 kB / 0.559 GB, free: 12.75 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.776e-05/0.005214, allocations: 16 kB / 0.5591 GB, free: 12.74 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002879/0.005502, allocations: 279.6 kB / 0.5593 GB, free: 12.46 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.461e-05/0.005536, allocations: 55.75 kB / 0.5594 GB, free: 12.41 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.131e-05/0.005598, allocations: 75.83 kB / 0.5594 GB, free: 12.34 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004166/0.006014, allocations: 302.8 kB / 0.5597 GB, free: 12.04 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.006017, allocations: 0 / 0.5597 GB, free: 12.04 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.006018, allocations: 0 / 0.5597 GB, free: 12.04 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.006023, allocations: 0 / 0.5597 GB, free: 12.04 MB / 490.7 MB 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.0006414/0.006664, allocations: 0.6315 MB / 0.5604 GB, free: 11.37 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.006701, allocations: 8.75 kB / 0.5604 GB, free: 11.36 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001774/0.006878, allocations: 60.69 kB / 0.5604 GB, free: 11.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/0.007109, allocations: 223.5 kB / 0.5606 GB, free: 11.06 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.007123, allocations: 12.66 kB / 0.5606 GB, free: 11.05 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.007141, allocations: 16.38 kB / 0.5607 GB, free: 11.03 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000276/0.007416, allocations: 210.9 kB / 0.5609 GB, free: 10.79 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.007424, allocations: 4.172 kB / 0.5609 GB, free: 10.79 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.00744, allocations: 8.375 kB / 0.5609 GB, free: 10.78 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.007452, allocations: 11.94 kB / 0.5609 GB, free: 10.77 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/0.007566, allocations: 63.81 kB / 0.5609 GB, free: 10.71 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007082/0.008274, allocations: 1.107 MB / 0.562 GB, free: 9.539 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003218/0.008596, allocations: 166.2 kB / 0.5622 GB, free: 9.352 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.113e-05/0.008657, allocations: 47.3 kB / 0.5622 GB, free: 9.297 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.008674, allocations: 7.938 kB / 0.5622 GB, free: 9.289 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.008694, allocations: 37.39 kB / 0.5623 GB, free: 9.242 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 1.693e-06/0.008695, allocations: 4 kB / 0.5623 GB, free: 9.238 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003159/0.009011, allocations: 157.6 kB / 0.5624 GB, free: 9.078 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.009046, allocations: 81.11 kB / 0.5625 GB, free: 8.98 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001899/0.009236, allocations: 306.3 kB / 0.5628 GB, free: 8.66 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.009249, allocations: 25.7 kB / 0.5628 GB, free: 8.629 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003156/0.009565, allocations: 211.1 kB / 0.563 GB, free: 8.418 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/0.009594, allocations: 55.48 kB / 0.5631 GB, free: 8.363 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.069e-05/0.009645, allocations: 47.36 kB / 0.5631 GB, free: 8.309 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.009752, allocations: 0.504 MB / 0.5636 GB, free: 7.793 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.367e-05/0.009806, allocations: 19.98 kB / 0.5636 GB, free: 7.773 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.486e-05/0.009891, allocations: 98.59 kB / 0.5637 GB, free: 7.648 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.01003, allocations: 129.7 kB / 0.5638 GB, free: 7.492 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.01003, allocations: 0 / 0.5638 GB, free: 7.492 MB / 490.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002305/0.01026, allocations: 169.9 kB / 0.564 GB, free: 7.32 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.01027, allocations: 8.156 kB / 0.564 GB, free: 7.312 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.01028, allocations: 0 / 0.564 GB, free: 7.312 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.01029, allocations: 7.938 kB / 0.564 GB, free: 7.305 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.01042, allocations: 55.91 kB / 0.5641 GB, free: 7.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.01042, allocations: 0 / 0.5641 GB, free: 7.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.023e-05/0.0105, allocations: 23.88 kB / 0.5641 GB, free: 7.227 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.01052, allocations: 12 kB / 0.5641 GB, free: 7.215 MB / 490.7 MB 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 7.748e-05/0.01059, allocations: 164.5 kB / 0.5643 GB, free: 7.043 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.834e-05/0.01066, allocations: 35.81 kB / 0.5643 GB, free: 7.008 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002195/0.01088, allocations: 175.3 kB / 0.5645 GB, free: 6.828 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.01089, allocations: 3.938 kB / 0.5645 GB, free: 6.824 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.01089, allocations: 0 / 0.5645 GB, free: 6.824 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.01089, allocations: 7.984 kB / 0.5645 GB, free: 6.816 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001985/0.01109, allocations: 208.5 kB / 0.5647 GB, free: 6.578 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.0111, allocations: 0 / 0.5647 GB, free: 6.578 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.808e-05/0.01119, allocations: 39.97 kB / 0.5647 GB, free: 6.539 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.0112, allocations: 0 / 0.5647 GB, free: 6.539 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.01121, allocations: 12 kB / 0.5647 GB, free: 6.527 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.01121, allocations: 0 / 0.5647 GB, free: 6.527 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.01121, allocations: 11.81 kB / 0.5647 GB, free: 6.516 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002526/0.01147, allocations: 410.9 kB / 0.5651 GB, free: 6.094 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.532e-05/0.01149, allocations: 31.73 kB / 0.5652 GB, free: 6.062 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.267e-05/0.01151, allocations: 8 kB / 0.5652 GB, free: 6.055 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.64e-05/0.01161, allocations: 19.98 kB / 0.5652 GB, free: 6.035 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.63e-05/0.01167, allocations: 19.91 kB / 0.5652 GB, free: 6.016 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.01167, allocations: 4 kB / 0.5652 GB, free: 6.012 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001011/0.01178, allocations: 215 kB / 0.5654 GB, free: 5.805 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01178, allocations: 8 kB / 0.5654 GB, free: 5.797 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002259/0.012, allocations: 51.94 kB / 0.5655 GB, free: 5.746 MB / 490.7 MB 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.0001459/0.01215, allocations: 123.1 kB / 0.5656 GB, free: 5.617 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001767/0.01232, allocations: 93.92 kB / 0.5657 GB, free: 5.523 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.01232, allocations: 4 kB / 0.5657 GB, free: 5.52 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.073e-05/0.0124, allocations: 59.59 kB / 0.5657 GB, free: 5.457 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.01274, allocations: 80.67 kB / 0.5658 GB, free: 5.379 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006989/0.01344, allocations: 447.4 kB / 0.5662 GB, free: 4.906 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.281e-05/0.0135, allocations: 84.31 kB / 0.5663 GB, free: 4.805 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 8.078e-05/0.01358, allocations: 26.44 kB / 0.5664 GB, free: 4.773 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.448e-05/0.01363, allocations: 24.5 kB / 0.5664 GB, free: 4.75 MB / 490.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01363, allocations: 4 kB / 0.5664 GB, free: 4.746 MB / 490.7 MB Notification: Performance of Templates: time 0.005873/0.0195, allocations: 4.258 MB / 0.5705 GB, free: 0.6055 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6873604729771614]