Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed.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.0009735/0.0009735, 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.0009131/0.0009131, allocations: 165 kB / 23.02 MB, free: 1.551 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 1.095/1.095, allocations: 177.1 MB / 203.4 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.00167/0.00167, allocations: 230.2 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.7462/0.7462, allocations: 138.4 MB / 455.2 MB, free: 1.512 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.HAM.Examples.GasGapClosed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed") translateModel(BuildingSystems.HAM.Examples.GasGapClosed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.5551 GB, free: 0.5742 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.65e-05/1.824e-05, allocations: 6.312 kB / 0.5551 GB, free: 0.5664 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.Examples.GasGapClosed): time 0.002074/0.002093, allocations: 1.794 MB / 0.5568 GB, free: 14.76 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.003351, allocations: 1.098 MB / 0.5579 GB, free: 13.65 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.294e-05/0.003414, allocations: 0 / 0.5579 GB, free: 13.65 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.62e-05/0.00346, allocations: 11.86 kB / 0.5579 GB, free: 13.64 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.48e-05/0.003555, allocations: 27.72 kB / 0.5579 GB, free: 13.61 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003988/0.003953, allocations: 191.2 kB / 0.5581 GB, free: 13.43 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000127/0.00408, allocations: 99.47 kB / 0.5582 GB, free: 13.33 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.004187, allocations: 19.97 kB / 0.5582 GB, free: 13.31 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.004314, allocations: 55.84 kB / 0.5583 GB, free: 13.25 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.382e-05/0.004388, allocations: 35.89 kB / 0.5583 GB, free: 13.22 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.004406, allocations: 7.938 kB / 0.5583 GB, free: 13.21 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002455/0.004651, allocations: 191.7 kB / 0.5585 GB, free: 13.02 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.00467, allocations: 19.88 kB / 0.5585 GB, free: 13 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.659e-05/0.004706, allocations: 31.91 kB / 0.5585 GB, free: 12.97 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002666/0.004973, allocations: 223.4 kB / 0.5588 GB, free: 12.75 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.004975, allocations: 0 / 0.5588 GB, free: 12.75 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.004976, allocations: 0 / 0.5588 GB, free: 12.75 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.407e-06/0.004979, allocations: 0 / 0.5588 GB, free: 12.75 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004689/0.005448, allocations: 455.8 kB / 0.5592 GB, free: 12.27 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.005486, allocations: 8.75 kB / 0.5592 GB, free: 12.27 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/0.005589, allocations: 16.89 kB / 0.5592 GB, free: 12.25 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.005738, allocations: 148.4 kB / 0.5594 GB, free: 12.08 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.005748, allocations: 4.375 kB / 0.5594 GB, free: 12.07 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.005761, allocations: 4.375 kB / 0.5594 GB, free: 12.07 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.00588, allocations: 74.88 kB / 0.5594 GB, free: 11.99 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.005891, allocations: 192 / 0.5594 GB, free: 11.99 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.005901, allocations: 384 / 0.5594 GB, free: 11.99 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-06/0.00591, allocations: 3.938 kB / 0.5594 GB, free: 11.98 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.758e-05/0.005958, allocations: 19.98 kB / 0.5595 GB, free: 11.96 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003564/0.006314, allocations: 319.5 kB / 0.5598 GB, free: 11.62 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.395e-05/0.006388, allocations: 43.05 kB / 0.5598 GB, free: 11.56 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.797e-05/0.006416, allocations: 11.69 kB / 0.5598 GB, free: 11.55 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.851e-05/0.006495, allocations: 12 kB / 0.5598 GB, free: 11.54 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.006516, allocations: 41.41 kB / 0.5599 GB, free: 11.48 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.006517, allocations: 0 / 0.5599 GB, free: 11.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001549/0.006671, allocations: 53.64 kB / 0.5599 GB, free: 11.43 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/0.006698, allocations: 55.41 kB / 0.56 GB, free: 11.36 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.134e-05/0.006789, allocations: 185.9 kB / 0.5601 GB, free: 11.16 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.006799, allocations: 25.7 kB / 0.5602 GB, free: 11.13 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.348e-05/0.006852, allocations: 154.8 kB / 0.5603 GB, free: 10.97 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.804e-05/0.00687, allocations: 11.88 kB / 0.5603 GB, free: 10.96 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-05/0.006898, allocations: 27.36 kB / 0.5604 GB, free: 10.93 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.007031, allocations: 0.4883 MB / 0.5608 GB, free: 10.43 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.091e-05/0.007052, allocations: 8 kB / 0.5608 GB, free: 10.42 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.541e-05/0.007067, allocations: 7.922 kB / 0.5609 GB, free: 10.41 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.218e-05/0.00711, allocations: 19.69 kB / 0.5609 GB, free: 10.39 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.007112, allocations: 0 / 0.5609 GB, free: 10.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.628e-05/0.007178, allocations: 49.64 kB / 0.5609 GB, free: 10.33 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.00719, allocations: 4 kB / 0.5609 GB, free: 10.33 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.007194, allocations: 112 / 0.5609 GB, free: 10.33 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.007212, allocations: 16.27 kB / 0.5609 GB, free: 10.31 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.953e-05/0.007291, allocations: 7.984 kB / 0.5609 GB, free: 10.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.007298, allocations: 0 / 0.5609 GB, free: 10.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.056e-05/0.007318, allocations: 4 kB / 0.5609 GB, free: 10.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.007324, allocations: 4 kB / 0.561 GB, free: 10.3 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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.338e-05/0.007408, allocations: 160.5 kB / 0.5611 GB, free: 10.13 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.915e-05/0.007427, allocations: 11.94 kB / 0.5611 GB, free: 10.12 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001258/0.007553, allocations: 70 kB / 0.5612 GB, free: 10.04 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.007555, allocations: 0 / 0.5612 GB, free: 10.04 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.007559, allocations: 0 / 0.5612 GB, free: 10.04 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.007562, allocations: 4 kB / 0.5612 GB, free: 10.04 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.00768, allocations: 140.5 kB / 0.5613 GB, free: 9.867 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.007682, allocations: 0 / 0.5613 GB, free: 9.867 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.238e-05/0.007714, allocations: 8 kB / 0.5613 GB, free: 9.859 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.007716, allocations: 0 / 0.5613 GB, free: 9.859 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.007724, allocations: 4 kB / 0.5613 GB, free: 9.855 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.007725, allocations: 0 / 0.5613 GB, free: 9.855 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.007727, allocations: 3.984 kB / 0.5613 GB, free: 9.852 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/0.007876, allocations: 207.8 kB / 0.5615 GB, free: 9.629 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.979e-06/0.007886, allocations: 7.953 kB / 0.5615 GB, free: 9.621 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.056e-05/0.007896, allocations: 4 kB / 0.5615 GB, free: 9.617 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.157e-05/0.007928, allocations: 0 / 0.5615 GB, free: 9.617 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.885e-05/0.007967, allocations: 11.98 kB / 0.5616 GB, free: 9.605 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.00797, allocations: 0 / 0.5616 GB, free: 9.605 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.869e-05/0.008019, allocations: 142.3 kB / 0.5617 GB, free: 9.469 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008019, allocations: 0 / 0.5617 GB, free: 9.469 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001947/0.008213, allocations: 71.69 kB / 0.5618 GB, free: 9.398 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (4): * Single equations (assignments): 4 * 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.0001858/0.008399, allocations: 167 kB / 0.5619 GB, free: 9.227 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.335e-05/0.008483, allocations: 31.55 kB / 0.562 GB, free: 9.191 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.008484, allocations: 0 / 0.562 GB, free: 9.191 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.399e-05/0.008508, allocations: 27.67 kB / 0.562 GB, free: 9.16 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001858/0.008693, allocations: 11.94 kB / 0.562 GB, free: 9.148 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005174/0.009211, allocations: 210.7 kB / 0.5622 GB, free: 8.906 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.009314, allocations: 63.34 kB / 0.5623 GB, free: 8.824 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.37e-05/0.009337, allocations: 4 kB / 0.5623 GB, free: 8.82 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.631e-05/0.009364, allocations: 12.5 kB / 0.5623 GB, free: 8.805 MB / 490.7 MB Notification: Performance of SimCode: time 5.01e-07/0.009364, allocations: 0 / 0.5623 GB, free: 8.805 MB / 490.7 MB Notification: Performance of Templates: time 0.003373/0.01274, allocations: 1.776 MB / 0.564 GB, free: 7.043 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed.sim & ./BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8004165566526353]