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.001442/0.001442, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001757/0.001757, allocations: 177 kB / 23.36 MB, free: 1.129 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.014/1.014, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.001742/0.001742, allocations: 243 kB / 260.5 MB, free: 12.71 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.702/0.702, allocations: 138.4 MB / 402.2 MB, free: 0.5625 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.203e-06/1.203e-06, allocations: 0 / 462.3 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.074e-05/1.194e-05, allocations: 3.406 kB / 462.3 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.Examples.GasGapClosed): time 0.002163/0.002174, allocations: 1.838 MB / 464.1 MB, free: 15.73 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001512/0.003687, allocations: 1.1 MB / 465.2 MB, free: 15.04 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.376e-05/0.00376, allocations: 1.25 kB / 465.2 MB, free: 15.04 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 4.276e-05/0.003803, allocations: 13.7 kB / 465.2 MB, free: 15.03 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001173/0.00392, allocations: 37.25 kB / 465.3 MB, free: 15 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005699/0.00449, allocations: 168.4 kB / 465.4 MB, free: 14.92 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001601/0.004651, allocations: 99.8 kB / 465.5 MB, free: 14.87 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.807e-05/0.004749, allocations: 25.55 kB / 465.6 MB, free: 14.86 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001558/0.004904, allocations: 60.19 kB / 465.6 MB, free: 14.83 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.673e-05/0.004991, allocations: 35.36 kB / 465.7 MB, free: 14.82 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.005009, allocations: 5.438 kB / 465.7 MB, free: 14.82 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003773/0.005386, allocations: 216.2 kB / 465.9 MB, free: 14.77 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.908e-05/0.005405, allocations: 12.98 kB / 465.9 MB, free: 14.76 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.805e-05/0.005443, allocations: 29.94 kB / 465.9 MB, free: 14.75 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002879/0.005731, allocations: 216.3 kB / 466.1 MB, free: 14.68 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.696e-06/0.005734, allocations: 1.812 kB / 466.1 MB, free: 14.68 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.005734, allocations: 0 / 466.1 MB, free: 14.68 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.005738, allocations: 1.375 kB / 466.1 MB, free: 14.68 MB / 426.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.0003367/0.006075, allocations: 331.2 kB / 466.5 MB, free: 14.39 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.006106, allocations: 10.28 kB / 466.5 MB, free: 14.39 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.515e-05/0.006201, allocations: 18.16 kB / 466.5 MB, free: 14.39 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.006343, allocations: 132.9 kB / 466.6 MB, free: 14.25 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-06/0.006352, allocations: 1.844 kB / 466.6 MB, free: 14.25 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.006362, allocations: 5.844 kB / 466.6 MB, free: 14.25 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.006467, allocations: 70.11 kB / 466.7 MB, free: 14.19 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.006475, allocations: 2.594 kB / 466.7 MB, free: 14.19 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.006483, allocations: 5.625 kB / 466.7 MB, free: 14.19 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.00649, allocations: 6.188 kB / 466.7 MB, free: 14.18 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.44e-05/0.006524, allocations: 17.14 kB / 466.7 MB, free: 14.18 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002929/0.006817, allocations: 194.4 kB / 466.9 MB, free: 13.99 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.288e-05/0.00688, allocations: 39.89 kB / 466.9 MB, free: 13.95 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.64e-05/0.006897, allocations: 8.859 kB / 467 MB, free: 13.93 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004059/0.007302, allocations: 161.4 kB / 467.1 MB, free: 13.79 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004366/0.007739, allocations: 35.31 kB / 467.1 MB, free: 13.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.00774, allocations: 0 / 467.1 MB, free: 13.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001103/0.00785, allocations: 43.52 kB / 467.2 MB, free: 13.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.278e-05/0.007873, allocations: 55.34 kB / 467.2 MB, free: 13.63 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.873e-05/0.007942, allocations: 134.6 kB / 467.4 MB, free: 13.49 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.078e-06/0.007951, allocations: 30.33 kB / 467.4 MB, free: 13.45 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.337e-05/0.007984, allocations: 96.08 kB / 467.5 MB, free: 13.36 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/0.008003, allocations: 16.77 kB / 467.5 MB, free: 13.34 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.099e-05/0.008034, allocations: 17.7 kB / 467.5 MB, free: 13.32 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.537e-05/0.0081, allocations: 315.9 kB / 467.8 MB, free: 13 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.428e-06/0.008109, allocations: 4 kB / 467.8 MB, free: 13 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.035e-05/0.008119, allocations: 7.984 kB / 467.9 MB, free: 12.99 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.69e-05/0.008146, allocations: 16.88 kB / 467.9 MB, free: 12.97 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.008148, allocations: 0 / 467.9 MB, free: 12.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.305e-05/0.008201, allocations: 55.92 kB / 467.9 MB, free: 12.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.498e-06/0.00821, allocations: 4 kB / 467.9 MB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.008214, allocations: 0 / 467.9 MB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.008224, allocations: 4 kB / 467.9 MB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.103e-05/0.008275, allocations: 7.984 kB / 467.9 MB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.304e-06/0.008277, allocations: 112 / 467.9 MB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.704e-05/0.008294, allocations: 4.719 kB / 467.9 MB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.008298, allocations: 4.5 kB / 467.9 MB, free: 12.89 MB / 426.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 5.023e-05/0.008349, allocations: 106.4 kB / 468.1 MB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.754e-05/0.008366, allocations: 8.781 kB / 468.1 MB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.875e-05/0.008445, allocations: 58 kB / 468.1 MB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.008447, allocations: 1.625 kB / 468.1 MB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.008448, allocations: 0 / 468.1 MB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.008452, allocations: 8.484 kB / 468.1 MB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.399e-05/0.008546, allocations: 85.81 kB / 468.2 MB, free: 12.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.008547, allocations: 1.156 kB / 468.2 MB, free: 12.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.86e-05/0.008575, allocations: 9.438 kB / 468.2 MB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.008578, allocations: 3.938 kB / 468.2 MB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.008583, allocations: 4.484 kB / 468.2 MB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.008584, allocations: 0.75 kB / 468.2 MB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.008585, allocations: 0 / 468.2 MB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.142e-05/0.008656, allocations: 141.8 kB / 468.4 MB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.676e-06/0.008665, allocations: 7.953 kB / 468.4 MB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.028e-05/0.008675, allocations: 10 kB / 468.4 MB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.334e-05/0.008708, allocations: 3.984 kB / 468.4 MB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.169e-05/0.00873, allocations: 4 kB / 468.4 MB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.008734, allocations: 0 / 468.4 MB, free: 12.41 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.958e-05/0.008753, allocations: 22.41 kB / 468.4 MB, free: 12.39 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.008753, allocations: 3.938 kB / 468.4 MB, free: 12.38 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001954/0.008949, allocations: 72.42 kB / 468.5 MB, free: 12.31 MB / 426.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.0001864/0.009135, allocations: 148.7 kB / 468.6 MB, free: 12.16 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.599e-05/0.009191, allocations: 21.91 kB / 468.7 MB, free: 12.13 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.009194, allocations: 0 / 468.7 MB, free: 12.13 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.791e-05/0.009212, allocations: 17.42 kB / 468.7 MB, free: 12.11 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001289/0.009341, allocations: 10.94 kB / 468.7 MB, free: 12.11 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004245/0.009765, allocations: 223.3 kB / 468.9 MB, free: 11.86 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.105e-05/0.009796, allocations: 59.34 kB / 469 MB, free: 11.78 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.64e-05/0.009822, allocations: 8.172 kB / 469 MB, free: 11.77 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.047e-05/0.009873, allocations: 59.36 kB / 469 MB, free: 11.72 MB / 426.7 MB Notification: Performance of SimCode: time 4.81e-07/0.009873, allocations: 0 / 469 MB, free: 11.72 MB / 426.7 MB Notification: Performance of Templates: time 0.003264/0.01314, allocations: 1.954 MB / 471 MB, free: 9.934 MB / 426.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4946966310963035]