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.001804/0.001804, allocations: 89.48 kB / 19.44 MB, free: 336 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.002144/0.002144, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.611/1.611, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.00456/0.00456, allocations: 234.2 kB / 259.8 MB, free: 12.83 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 1.197/1.197, allocations: 138.5 MB / 454.7 MB, free: 1.488 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.553e-06/1.553e-06, allocations: 0 / 0.5543 GB, free: 0.9141 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.628e-05/2.783e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.9102 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.Examples.GasGapClosed): time 0.003512/0.00354, allocations: 1.762 MB / 0.556 GB, free: 15.14 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002376/0.005916, allocations: 1.075 MB / 0.557 GB, free: 14.05 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001342/0.006051, allocations: 0 / 0.557 GB, free: 14.05 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 7.359e-05/0.006124, allocations: 15.86 kB / 0.5571 GB, free: 14.04 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001908/0.006315, allocations: 31.7 kB / 0.5571 GB, free: 14.01 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008863/0.007201, allocations: 187.1 kB / 0.5573 GB, free: 13.82 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002846/0.007486, allocations: 103.4 kB / 0.5574 GB, free: 13.72 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001595/0.007645, allocations: 15.98 kB / 0.5574 GB, free: 13.71 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002911/0.007936, allocations: 67.88 kB / 0.5575 GB, free: 13.64 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001479/0.008084, allocations: 23.92 kB / 0.5575 GB, free: 13.62 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.373e-05/0.008118, allocations: 8 kB / 0.5575 GB, free: 13.61 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005765/0.008695, allocations: 195.7 kB / 0.5577 GB, free: 13.42 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.796e-05/0.008732, allocations: 11.94 kB / 0.5577 GB, free: 13.41 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 7.557e-05/0.008808, allocations: 31.92 kB / 0.5577 GB, free: 13.38 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006276/0.009436, allocations: 243.3 kB / 0.5579 GB, free: 13.14 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.009441, allocations: 0 / 0.5579 GB, free: 13.14 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.009442, allocations: 0 / 0.5579 GB, free: 13.14 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.009451, allocations: 7.938 kB / 0.5579 GB, free: 13.13 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.0007942/0.01024, allocations: 463.5 kB / 0.5584 GB, free: 12.64 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.01029, allocations: 8.75 kB / 0.5584 GB, free: 12.63 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001958/0.01049, allocations: 20.88 kB / 0.5584 GB, free: 12.61 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002785/0.01077, allocations: 147.2 kB / 0.5586 GB, free: 12.45 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.01078, allocations: 384 / 0.5586 GB, free: 12.45 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.01079, allocations: 4.375 kB / 0.5586 GB, free: 12.44 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.01098, allocations: 66.23 kB / 0.5586 GB, free: 12.37 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.01099, allocations: 192 / 0.5586 GB, free: 12.37 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.011, allocations: 8.375 kB / 0.5586 GB, free: 12.36 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.01101, allocations: 7.938 kB / 0.5586 GB, free: 12.36 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/0.01114, allocations: 39.92 kB / 0.5587 GB, free: 12.32 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006242/0.01177, allocations: 331.6 kB / 0.559 GB, free: 11.96 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001408/0.01191, allocations: 51 kB / 0.559 GB, free: 11.89 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.076e-05/0.01197, allocations: 23.77 kB / 0.5591 GB, free: 11.87 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.304e-05/0.01206, allocations: 8 kB / 0.5591 GB, free: 11.86 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.494e-05/0.01211, allocations: 37.39 kB / 0.5591 GB, free: 11.81 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.01211, allocations: 4 kB / 0.5591 GB, free: 11.81 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003192/0.01243, allocations: 81.7 kB / 0.5592 GB, free: 11.72 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.01248, allocations: 51.52 kB / 0.5592 GB, free: 11.66 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/0.01268, allocations: 209.8 kB / 0.5594 GB, free: 11.44 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.0127, allocations: 25.7 kB / 0.5595 GB, free: 11.41 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.01281, allocations: 150.8 kB / 0.5596 GB, free: 11.25 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/0.01284, allocations: 11.94 kB / 0.5596 GB, free: 11.24 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.951e-05/0.01289, allocations: 19.38 kB / 0.5596 GB, free: 11.21 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002773/0.01316, allocations: 0.5 MB / 0.5601 GB, free: 10.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.796e-05/0.01321, allocations: 8 kB / 0.5601 GB, free: 10.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.603e-05/0.01326, allocations: 20.02 kB / 0.5602 GB, free: 10.68 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.01336, allocations: 35.69 kB / 0.5602 GB, free: 10.64 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.01336, allocations: 0 / 0.5602 GB, free: 10.64 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001594/0.01352, allocations: 73.56 kB / 0.5603 GB, free: 10.56 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.008e-05/0.01355, allocations: 8 kB / 0.5603 GB, free: 10.55 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.01355, allocations: 0 / 0.5603 GB, free: 10.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.01357, allocations: 0 / 0.5603 GB, free: 10.55 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.01367, allocations: 7.984 kB / 0.5603 GB, free: 10.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.01368, allocations: 3.984 kB / 0.5603 GB, free: 10.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.214e-05/0.01372, allocations: 8 kB / 0.5603 GB, free: 10.53 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.01373, allocations: 0 / 0.5603 GB, free: 10.53 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 0.0001289/0.01386, allocations: 164.5 kB / 0.5604 GB, free: 10.36 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.33e-05/0.01389, allocations: 7.953 kB / 0.5605 GB, free: 10.35 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002317/0.01412, allocations: 85.94 kB / 0.5605 GB, free: 10.26 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.01413, allocations: 4 kB / 0.5605 GB, free: 10.26 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.01413, allocations: 0 / 0.5605 GB, free: 10.26 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.01413, allocations: 3.938 kB / 0.5605 GB, free: 10.25 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000215/0.01435, allocations: 156.5 kB / 0.5607 GB, free: 10.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.01435, allocations: 0 / 0.5607 GB, free: 10.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.195e-05/0.01442, allocations: 12 kB / 0.5607 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.01443, allocations: 0 / 0.5607 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.01443, allocations: 0 / 0.5607 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.01444, allocations: 0 / 0.5607 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.01444, allocations: 3.984 kB / 0.5607 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002889/0.01473, allocations: 223.8 kB / 0.5609 GB, free: 9.812 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.6e-05/0.01474, allocations: 3.953 kB / 0.5609 GB, free: 9.809 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.01477, allocations: 4 kB / 0.5609 GB, free: 9.805 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.111e-05/0.01484, allocations: 7.984 kB / 0.5609 GB, free: 9.797 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.936e-05/0.01488, allocations: 0 / 0.5609 GB, free: 9.797 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.01488, allocations: 11.94 kB / 0.5609 GB, free: 9.785 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001246/0.01501, allocations: 158.1 kB / 0.5611 GB, free: 9.633 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01501, allocations: 0 / 0.5611 GB, free: 9.633 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003419/0.01535, allocations: 59.81 kB / 0.5612 GB, free: 9.574 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.0003754/0.01573, allocations: 170.9 kB / 0.5613 GB, free: 9.398 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001827/0.01591, allocations: 43.67 kB / 0.5614 GB, free: 9.352 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.01591, allocations: 0 / 0.5614 GB, free: 9.352 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.686e-05/0.01598, allocations: 24.02 kB / 0.5614 GB, free: 9.324 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.01625, allocations: 19.92 kB / 0.5614 GB, free: 9.305 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004966/0.01675, allocations: 214.8 kB / 0.5616 GB, free: 9.059 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.461e-05/0.01684, allocations: 83.25 kB / 0.5617 GB, free: 8.957 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.826e-05/0.01688, allocations: 7.938 kB / 0.5617 GB, free: 8.949 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.201e-05/0.01692, allocations: 12.5 kB / 0.5617 GB, free: 8.934 MB / 490.7 MB Notification: Performance of SimCode: time 7.42e-07/0.01692, allocations: 4 kB / 0.5617 GB, free: 8.93 MB / 490.7 MB Notification: Performance of Templates: time 0.005772/0.02269, allocations: 1.757 MB / 0.5634 GB, free: 7.188 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: 5.97145781503059]