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.0006933/0.0006933, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001039/0.001732, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007239/0.0007239, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001025/0.001749, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.015/1.015, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07822/1.093, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001434/0.001434, allocations: 223.2 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001217/0.002651, allocations: 478.8 kB / 244.8 MB, free: 14.07 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7277/0.7277, allocations: 138.7 MB / 384.3 MB, free: 356 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07535/0.8031, allocations: 42.41 MB / 426.7 MB, free: 5.816 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.302e-06/1.302e-06, allocations: 0 / 428 MB, free: 4.535 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.356e-06/9.658e-06, allocations: 2.312 kB / 428 MB, free: 4.531 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.Examples.GasGapClosed): time 0.00186/0.00187, allocations: 1.841 MB / 429.8 MB, free: 2.676 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001115/0.002985, allocations: 1.117 MB / 431 MB, free: 1.551 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.871e-05/0.003044, allocations: 0 / 431 MB, free: 1.551 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.576e-05/0.00308, allocations: 11.86 kB / 431 MB, free: 1.539 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.357e-05/0.003133, allocations: 27.72 kB / 431 MB, free: 1.512 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003523/0.003486, allocations: 175.2 kB / 431.2 MB, free: 1.34 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000113/0.003599, allocations: 99.48 kB / 431.3 MB, free: 1.242 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.592e-05/0.003685, allocations: 15.98 kB / 431.3 MB, free: 1.227 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001473/0.003832, allocations: 83.69 kB / 431.4 MB, free: 1.145 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.194e-05/0.003914, allocations: 31.89 kB / 431.4 MB, free: 1.113 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.003931, allocations: 8 kB / 431.4 MB, free: 1.105 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002886/0.004219, allocations: 211.7 kB / 431.6 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.742e-05/0.004237, allocations: 15.94 kB / 431.6 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.556e-05/0.004262, allocations: 23.94 kB / 431.7 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.004491, allocations: 179.5 kB / 431.8 MB, free: 0.6836 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/0.004499, allocations: 0 / 431.8 MB, free: 0.6836 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.0045, allocations: 0 / 431.8 MB, free: 0.6836 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.004507, allocations: 0 / 431.8 MB, free: 0.6836 MB / 410.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.0003348/0.004842, allocations: 359.8 kB / 432.2 MB, free: 316 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.813e-05/0.00487, allocations: 11.98 kB / 432.2 MB, free: 304 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001141/0.004984, allocations: 94.03 kB / 432.3 MB, free: 192 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.005107, allocations: 149.4 kB / 432.4 MB, free: 16 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.322e-06/0.005113, allocations: 384 / 432.4 MB, free: 16 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.828e-06/0.005123, allocations: 4.375 kB / 432.4 MB, free: 12 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1991/0.2042, allocations: 64.72 kB / 432.5 MB, free: 1.867 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.2042, allocations: 192 / 432.5 MB, free: 1.867 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.2042, allocations: 4.844 kB / 432.5 MB, free: 1.867 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.2042, allocations: 0.9688 kB / 432.5 MB, free: 1.867 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.331e-05/0.2043, allocations: 13.73 kB / 432.5 MB, free: 1.867 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003403/0.2046, allocations: 201.8 kB / 432.7 MB, free: 1.723 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.594e-05/0.2047, allocations: 31.64 kB / 432.7 MB, free: 1.699 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.445e-05/0.2047, allocations: 8.359 kB / 432.8 MB, free: 1.691 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004396/0.2051, allocations: 157.6 kB / 432.9 MB, free: 1.691 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.791e-05/0.2051, allocations: 33.94 kB / 432.9 MB, free: 1.652 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.2051, allocations: 0 / 432.9 MB, free: 1.652 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001275/0.2053, allocations: 52.06 kB / 433 MB, free: 1.621 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.657e-05/0.2053, allocations: 53.78 kB / 433 MB, free: 1.559 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.818e-05/0.2054, allocations: 134.4 kB / 433.2 MB, free: 1.449 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.572e-06/0.2054, allocations: 26.27 kB / 433.2 MB, free: 1.418 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.47e-05/0.2054, allocations: 99.12 kB / 433.3 MB, free: 1.336 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.2054, allocations: 15.34 kB / 433.3 MB, free: 1.332 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.425e-05/0.2054, allocations: 13.77 kB / 433.3 MB, free: 1.316 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.2055, allocations: 322.3 kB / 433.6 MB, free: 17 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.271e-05/0.2055, allocations: 3.812 kB / 433.6 MB, free: 17 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.013e-05/0.2056, allocations: 3.078 kB / 433.6 MB, free: 17 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.893e-05/0.2056, allocations: 18.27 kB / 433.7 MB, free: 17 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2056, allocations: 0.5625 kB / 433.7 MB, free: 17 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.054e-05/0.2056, allocations: 46.08 kB / 433.7 MB, free: 16.96 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.2056, allocations: 5.656 kB / 433.7 MB, free: 16.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.2057, allocations: 0 / 433.7 MB, free: 16.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.2057, allocations: 2.906 kB / 433.7 MB, free: 16.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.362e-05/0.2057, allocations: 10.81 kB / 433.7 MB, free: 16.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.2057, allocations: 0 / 433.7 MB, free: 16.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.064e-05/0.2058, allocations: 7.312 kB / 433.7 MB, free: 16.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.932e-06/0.2058, allocations: 1.844 kB / 433.7 MB, free: 16.96 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.879e-05/0.2058, allocations: 111.3 kB / 433.8 MB, free: 16.85 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.55e-05/0.2058, allocations: 6.953 kB / 433.9 MB, free: 16.85 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001071/0.206, allocations: 60.52 kB / 433.9 MB, free: 16.81 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.206, allocations: 0 / 433.9 MB, free: 16.81 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.206, allocations: 4.359 kB / 433.9 MB, free: 16.81 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.206, allocations: 4.641 kB / 433.9 MB, free: 16.81 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/0.2061, allocations: 84.03 kB / 434 MB, free: 16.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.2061, allocations: 1.344 kB / 434 MB, free: 16.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.003e-05/0.2061, allocations: 10.91 kB / 434 MB, free: 16.73 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.152e-05/0.2061, allocations: 10.22 kB / 434 MB, free: 16.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2061, allocations: 2.906 kB / 434 MB, free: 16.73 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.2061, allocations: 2.109 kB / 434 MB, free: 16.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.2061, allocations: 0 / 434 MB, free: 16.73 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.2061, allocations: 4.562 kB / 434 MB, free: 16.73 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.641e-05/0.2062, allocations: 145.6 kB / 434.2 MB, free: 16.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.2062, allocations: 2.672 kB / 434.2 MB, free: 16.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.226e-05/0.2063, allocations: 3.219 kB / 434.2 MB, free: 16.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.557e-05/0.2063, allocations: 4.453 kB / 434.2 MB, free: 16.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.2063, allocations: 2.844 kB / 434.2 MB, free: 16.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.354e-05/0.2063, allocations: 24.91 kB / 434.2 MB, free: 16.59 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2063, allocations: 1.062 kB / 434.2 MB, free: 16.59 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001994/0.2065, allocations: 63.91 kB / 434.3 MB, free: 16.59 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.0002153/0.2067, allocations: 157.1 kB / 434.4 MB, free: 16.52 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.77e-05/0.2068, allocations: 25.36 kB / 434.5 MB, free: 16.51 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.2068, allocations: 0 / 434.5 MB, free: 16.51 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.428e-05/0.2068, allocations: 22.73 kB / 434.5 MB, free: 16.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001952/0.207, allocations: 111.2 kB / 434.6 MB, free: 16.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.2085, allocations: 211.9 kB / 434.8 MB, free: 16.26 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.922e-05/0.2086, allocations: 59.61 kB / 434.9 MB, free: 16.19 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.817e-05/0.2086, allocations: 8.203 kB / 434.9 MB, free: 16.19 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.794e-05/0.2086, allocations: 58.75 kB / 434.9 MB, free: 16.14 MB / 426.7 MB Notification: Performance of SimCode: time 5.71e-07/0.2086, allocations: 0.7656 kB / 434.9 MB, free: 16.14 MB / 426.7 MB Notification: Performance of Templates: time 0.003769/0.2124, allocations: 1.895 MB / 436.8 MB, free: 16.11 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.364868763834238]