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.0008531/0.0008531, allocations: 76.55 kB / 19.93 MB, free: 4.621 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.0007212/0.0007212, allocations: 177.9 kB / 23.22 MB, free: 1.332 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.8406/0.8406, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.001399/0.001399, allocations: 234.4 kB / 260.2 MB, free: 13.02 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.6407/0.6407, allocations: 138.4 MB / 455.1 MB, free: 29.95 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.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 2.805e-06/2.805e-06, allocations: 0 / 0.6475 GB, free: 1.426 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.027e-05/3.307e-05, allocations: 6.219 kB / 0.6475 GB, free: 1.418 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.Examples.GasGapClosed): time 0.2542/0.2543, allocations: 1.726 MB / 0.6492 GB, free: 56.39 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001311/0.2556, allocations: 1.019 MB / 0.6501 GB, free: 56.11 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.908e-05/0.2556, allocations: 0.8438 kB / 0.6501 GB, free: 56.11 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 4.21e-05/0.2557, allocations: 13.06 kB / 0.6502 GB, free: 56.11 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 9.133e-05/0.2558, allocations: 30.03 kB / 0.6502 GB, free: 56.09 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004342/0.2562, allocations: 187.8 kB / 0.6504 GB, free: 56.04 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.2564, allocations: 99.22 kB / 0.6505 GB, free: 56 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.2565, allocations: 23.72 kB / 0.6505 GB, free: 56 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.2566, allocations: 56 kB / 0.6505 GB, free: 56 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 8.241e-05/0.2567, allocations: 34.64 kB / 0.6506 GB, free: 55.99 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/0.2567, allocations: 6.094 kB / 0.6506 GB, free: 55.99 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002646/0.257, allocations: 191.7 kB / 0.6508 GB, free: 55.97 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.629e-05/0.257, allocations: 20.75 kB / 0.6508 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.763e-05/0.2571, allocations: 25.72 kB / 0.6508 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003078/0.2574, allocations: 246.3 kB / 0.651 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2574, allocations: 0 / 0.651 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.233e-06/0.2574, allocations: 0.8438 kB / 0.651 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.2574, allocations: 0.9375 kB / 0.651 GB, free: 55.93 MB / 0.5573 GB 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.0003799/0.2578, allocations: 349 kB / 0.6514 GB, free: 55.62 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.2578, allocations: 11.28 kB / 0.6514 GB, free: 55.62 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.2579, allocations: 18.81 kB / 0.6514 GB, free: 55.62 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002/0.2581, allocations: 140.7 kB / 0.6515 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.2581, allocations: 9.125 kB / 0.6515 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.2581, allocations: 5.391 kB / 0.6515 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.2583, allocations: 69.62 kB / 0.6516 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.2583, allocations: 192 / 0.6516 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-06/0.2583, allocations: 5.969 kB / 0.6516 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.2583, allocations: 5.75 kB / 0.6516 GB, free: 55.44 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.163e-05/0.2584, allocations: 49.59 kB / 0.6517 GB, free: 55.44 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003063/0.2587, allocations: 266.9 kB / 0.6519 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 8.707e-05/0.2587, allocations: 43.77 kB / 0.652 GB, free: 55.21 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.27e-05/0.2588, allocations: 20.05 kB / 0.652 GB, free: 55.2 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 6.458e-05/0.2588, allocations: 8.078 kB / 0.652 GB, free: 55.2 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.293e-05/0.2589, allocations: 38.19 kB / 0.652 GB, free: 55.16 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.2589, allocations: 1.719 kB / 0.652 GB, free: 55.16 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.0001891/0.259, allocations: 82.56 kB / 0.6521 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.194e-05/0.2591, allocations: 55.31 kB / 0.6522 GB, free: 55.06 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.985e-05/0.2591, allocations: 132.2 kB / 0.6523 GB, free: 54.96 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.953e-06/0.2591, allocations: 25.7 kB / 0.6523 GB, free: 54.93 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.158e-05/0.2592, allocations: 111.4 kB / 0.6524 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.609e-05/0.2592, allocations: 9.75 kB / 0.6524 GB, free: 54.83 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.541e-05/0.2592, allocations: 17.17 kB / 0.6524 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.461e-05/0.2593, allocations: 322.8 kB / 0.6528 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.355e-05/0.2593, allocations: 15.58 kB / 0.6528 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.464e-05/0.2593, allocations: 14.28 kB / 0.6528 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.03e-05/0.2594, allocations: 41.14 kB / 0.6528 GB, free: 54.49 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2594, allocations: 1.562 kB / 0.6528 GB, free: 54.49 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.955e-05/0.2595, allocations: 72.47 kB / 0.6529 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.2595, allocations: 6.25 kB / 0.6529 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.2595, allocations: 1.625 kB / 0.6529 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.2595, allocations: 4.25 kB / 0.6529 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.986e-05/0.2596, allocations: 8.828 kB / 0.6529 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.2596, allocations: 1.312 kB / 0.6529 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.017e-05/0.2596, allocations: 2.125 kB / 0.6529 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.2596, allocations: 1.312 kB / 0.6529 GB, free: 54.45 MB / 0.5573 GB 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 4.378e-05/0.2596, allocations: 120.8 kB / 0.653 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.49e-05/0.2597, allocations: 11.14 kB / 0.653 GB, free: 54.33 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001436/0.2598, allocations: 89.34 kB / 0.6531 GB, free: 54.29 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.2598, allocations: 2.75 kB / 0.6531 GB, free: 54.29 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.2598, allocations: 3.312 kB / 0.6531 GB, free: 54.29 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.2598, allocations: 1.031 kB / 0.6531 GB, free: 54.29 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.418e-05/0.2599, allocations: 133.1 kB / 0.6533 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.2599, allocations: 2.484 kB / 0.6533 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.489e-05/0.2599, allocations: 8.625 kB / 0.6533 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.2599, allocations: 5.516 kB / 0.6533 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.26, allocations: 3.562 kB / 0.6533 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.26, allocations: 0.9844 kB / 0.6533 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.26, allocations: 3.5 kB / 0.6533 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000101/0.2601, allocations: 173.8 kB / 0.6535 GB, free: 54.02 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.206e-05/0.2601, allocations: 7.984 kB / 0.6535 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.108e-05/0.2601, allocations: 1.625 kB / 0.6535 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.285e-05/0.2601, allocations: 6.281 kB / 0.6535 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.738e-05/0.2601, allocations: 3.391 kB / 0.6535 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.2601, allocations: 2.406 kB / 0.6535 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.653e-05/0.2602, allocations: 104.8 kB / 0.6536 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4e-08/0.2602, allocations: 0 / 0.6536 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002127/0.2604, allocations: 62.77 kB / 0.6536 GB, free: 53.92 MB / 0.5573 GB 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.0002035/0.2606, allocations: 174.1 kB / 0.6538 GB, free: 53.81 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001074/0.2607, allocations: 35.31 kB / 0.6538 GB, free: 53.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2607, allocations: 5.25 kB / 0.6538 GB, free: 53.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 3.026e-05/0.2607, allocations: 24.09 kB / 0.6539 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001888/0.2609, allocations: 16.64 kB / 0.6539 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002858/0.2612, allocations: 222.4 kB / 0.6541 GB, free: 53.6 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.878e-05/0.2613, allocations: 82.88 kB / 0.6542 GB, free: 53.52 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.481e-05/0.2613, allocations: 17.69 kB / 0.6542 GB, free: 53.52 MB / 0.5573 GB Notification: Performance of SimCode: time 5.51e-07/0.2613, allocations: 1.688 kB / 0.6542 GB, free: 53.52 MB / 0.5573 GB Notification: Performance of Templates: time 0.002626/0.2639, allocations: 1.732 MB / 0.6559 GB, free: 53.38 MB / 0.5573 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.935428498312831] Failed to read output from testmodel.py, exit status != 0: 0.26891622971743345 0.280144424 0.020978068000000002 Calling exit ...