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.001296/0.001296, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001444/0.001444, allocations: 169.3 kB / 23.02 MB, free: 1.555 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.9735/0.9735, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.001752/0.001752, allocations: 230 kB / 260.2 MB, free: 12.82 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.7505/0.7505, allocations: 138.4 MB / 455.2 MB, free: 29.98 MB / 410.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 4.728e-06/4.728e-06, allocations: 4 kB / 0.5551 GB, free: 132 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.271e-05/2.744e-05, allocations: 2.312 kB / 0.5551 GB, free: 128 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002463/0.00249, allocations: 2.121 MB / 0.5572 GB, free: 13.99 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.003833, allocations: 1.056 MB / 0.5582 GB, free: 12.92 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.003945, allocations: 7.938 kB / 0.5582 GB, free: 12.91 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 5.239e-05/0.003997, allocations: 23.67 kB / 0.5582 GB, free: 12.89 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000281/0.004278, allocations: 87.22 kB / 0.5583 GB, free: 12.8 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003979/0.004676, allocations: 203.4 kB / 0.5585 GB, free: 12.61 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002758/0.004952, allocations: 306.6 kB / 0.5588 GB, free: 12.3 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.005096, allocations: 52.69 kB / 0.5589 GB, free: 12.26 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.00525, allocations: 151.6 kB / 0.559 GB, free: 12.11 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/0.005414, allocations: 111.7 kB / 0.5591 GB, free: 12 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.22e-05/0.005446, allocations: 16 kB / 0.5591 GB, free: 11.98 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003251/0.005771, allocations: 279.6 kB / 0.5594 GB, free: 11.71 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.696e-05/0.005808, allocations: 47.77 kB / 0.5594 GB, free: 11.66 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 8.449e-05/0.005892, allocations: 79.75 kB / 0.5595 GB, free: 11.59 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003242/0.006217, allocations: 306.9 kB / 0.5598 GB, free: 11.29 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.00622, allocations: 0 / 0.5598 GB, free: 11.29 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.006222, allocations: 0 / 0.5598 GB, free: 11.29 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.006227, allocations: 0 / 0.5598 GB, free: 11.29 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.0006837/0.00691, allocations: 0.6358 MB / 0.5604 GB, free: 10.61 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.006951, allocations: 9.938 kB / 0.5604 GB, free: 10.61 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001746/0.007125, allocations: 48.75 kB / 0.5605 GB, free: 10.56 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002448/0.00737, allocations: 235.5 kB / 0.5607 GB, free: 10.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.007383, allocations: 12.66 kB / 0.5607 GB, free: 10.29 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/0.007402, allocations: 12.38 kB / 0.5607 GB, free: 10.28 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003184/0.00772, allocations: 218.8 kB / 0.5609 GB, free: 10.03 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.00773, allocations: 4.188 kB / 0.561 GB, free: 10.03 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.007744, allocations: 8.375 kB / 0.561 GB, free: 10.02 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.007753, allocations: 7.938 kB / 0.561 GB, free: 10.01 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.007873, allocations: 55.83 kB / 0.561 GB, free: 9.957 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007425/0.008616, allocations: 1.107 MB / 0.5621 GB, free: 8.789 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004254/0.009041, allocations: 166.2 kB / 0.5623 GB, free: 8.602 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.4e-05/0.009125, allocations: 39.36 kB / 0.5623 GB, free: 8.555 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/0.009151, allocations: 4 kB / 0.5623 GB, free: 8.551 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.009181, allocations: 41.33 kB / 0.5623 GB, free: 8.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 2.885e-06/0.009184, allocations: 4 kB / 0.5623 GB, free: 8.496 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004453/0.009629, allocations: 157.6 kB / 0.5625 GB, free: 8.336 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.009741, allocations: 81.11 kB / 0.5626 GB, free: 8.238 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002517/0.009993, allocations: 302.3 kB / 0.5629 GB, free: 7.926 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.01001, allocations: 29.7 kB / 0.5629 GB, free: 7.891 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.01013, allocations: 211.1 kB / 0.5631 GB, free: 7.68 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.011e-05/0.01017, allocations: 59.47 kB / 0.5631 GB, free: 7.621 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.316e-05/0.01025, allocations: 47.36 kB / 0.5632 GB, free: 7.566 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.01039, allocations: 0.504 MB / 0.5637 GB, free: 7.051 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.417e-05/0.01047, allocations: 23.98 kB / 0.5637 GB, free: 7.027 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.01057, allocations: 89.78 kB / 0.5638 GB, free: 6.91 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001937/0.01077, allocations: 129.7 kB / 0.5639 GB, free: 6.754 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.01077, allocations: 0 / 0.5639 GB, free: 6.754 MB / 490.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003589/0.01113, allocations: 177.2 kB / 0.5641 GB, free: 6.574 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.01114, allocations: 4 kB / 0.5641 GB, free: 6.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.01115, allocations: 160 / 0.5641 GB, free: 6.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.01117, allocations: 11.94 kB / 0.5641 GB, free: 6.559 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.0113, allocations: 51.91 kB / 0.5642 GB, free: 6.508 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.01131, allocations: 0 / 0.5642 GB, free: 6.508 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.446e-05/0.01139, allocations: 27.88 kB / 0.5642 GB, free: 6.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.01141, allocations: 8.703 kB / 0.5642 GB, free: 6.473 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 8.284e-05/0.01149, allocations: 176.4 kB / 0.5644 GB, free: 6.289 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.38e-05/0.01156, allocations: 31.81 kB / 0.5644 GB, free: 6.258 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002443/0.01181, allocations: 167.3 kB / 0.5645 GB, free: 6.086 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.01181, allocations: 7.875 kB / 0.5646 GB, free: 6.078 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.01181, allocations: 0 / 0.5646 GB, free: 6.078 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.01182, allocations: 7.938 kB / 0.5646 GB, free: 6.07 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002105/0.01203, allocations: 208.5 kB / 0.5648 GB, free: 5.832 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.01203, allocations: 0 / 0.5648 GB, free: 5.832 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.01213, allocations: 39.97 kB / 0.5648 GB, free: 5.793 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.01213, allocations: 0 / 0.5648 GB, free: 5.793 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.01215, allocations: 8 kB / 0.5648 GB, free: 5.785 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.01215, allocations: 0 / 0.5648 GB, free: 5.785 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.01215, allocations: 7.938 kB / 0.5648 GB, free: 5.777 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002846/0.01243, allocations: 428 kB / 0.5652 GB, free: 5.34 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.685e-05/0.01246, allocations: 27.78 kB / 0.5652 GB, free: 5.312 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.01248, allocations: 4 kB / 0.5652 GB, free: 5.309 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.01258, allocations: 15.98 kB / 0.5653 GB, free: 5.293 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.667e-05/0.01264, allocations: 23.91 kB / 0.5653 GB, free: 5.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.01265, allocations: 4 kB / 0.5653 GB, free: 5.266 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001129/0.01276, allocations: 211 kB / 0.5655 GB, free: 5.062 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01276, allocations: 0 / 0.5655 GB, free: 5.062 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002377/0.013, allocations: 67.88 kB / 0.5656 GB, free: 4.996 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.000156/0.01315, allocations: 119.1 kB / 0.5657 GB, free: 4.871 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000194/0.01335, allocations: 97.14 kB / 0.5658 GB, free: 4.773 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.01335, allocations: 4 kB / 0.5658 GB, free: 4.77 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.463e-05/0.01343, allocations: 55.59 kB / 0.5658 GB, free: 4.711 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.0138, allocations: 78.02 kB / 0.5659 GB, free: 4.633 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009824/0.01478, allocations: 443.3 kB / 0.5663 GB, free: 4.164 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.114e-05/0.01483, allocations: 84.56 kB / 0.5664 GB, free: 4.062 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 8.321e-05/0.01491, allocations: 26.44 kB / 0.5664 GB, free: 4.035 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.976e-05/0.01497, allocations: 28.5 kB / 0.5665 GB, free: 4.008 MB / 490.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01498, allocations: 0 / 0.5665 GB, free: 4.008 MB / 490.7 MB Notification: Performance of Templates: time 0.005886/0.02086, allocations: 4.281 MB / 0.5706 GB, free: 15.87 MB / 0.4948 GB " [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.9150864658877254]