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.001311/0.001311, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001481/0.001481, allocations: 210.5 kB / 22.24 MB, free: 5.258 MB / 14.72 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.48/1.48, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 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.00263/0.00263, allocations: 283.9 kB / 312.7 MB, free: 2.602 MB / 238.1 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.259/1.259, allocations: 180.6 MB / 0.5369 GB, free: 14.59 MB / 382.1 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002936/0.002936, allocations: 117 kB / 0.74 GB, free: 27.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1901, allocations: 95.37 MB / 0.8331 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.Examples.GasGapClosed): time 0.003514/0.1936, allocations: 1.729 MB / 0.8348 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001993/0.1956, allocations: 1.013 MB / 0.8358 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.99e-05/0.1957, allocations: 7.938 kB / 0.8358 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 5.543e-05/0.1957, allocations: 7.922 kB / 0.8358 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001181/0.1958, allocations: 31.66 kB / 0.8358 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006574/0.1965, allocations: 183.3 kB / 0.836 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001828/0.1967, allocations: 107.5 kB / 0.8361 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.1968, allocations: 19.94 kB / 0.8361 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001576/0.197, allocations: 43.84 kB / 0.8361 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.1971, allocations: 35.84 kB / 0.8362 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.1971, allocations: 8 kB / 0.8362 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004245/0.1975, allocations: 187.8 kB / 0.8364 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.19e-05/0.1975, allocations: 19.92 kB / 0.8364 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.638e-05/0.1976, allocations: 31.86 kB / 0.8364 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004347/0.198, allocations: 219.3 kB / 0.8366 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.198, allocations: 4 kB / 0.8366 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.603e-06/0.198, allocations: 0 / 0.8366 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.198, allocations: 0 / 0.8366 GB, free: 4.207 MB / 0.5762 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.0006365/0.1987, allocations: 353.4 kB / 0.837 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.1987, allocations: 9.938 kB / 0.837 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001688/0.1989, allocations: 20.88 kB / 0.837 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002755/0.1991, allocations: 134.4 kB / 0.8371 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.1992, allocations: 8.375 kB / 0.8371 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.1992, allocations: 12.38 kB / 0.8371 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.1994, allocations: 73.97 kB / 0.8372 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.1994, allocations: 0 / 0.8372 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.1994, allocations: 0 / 0.8372 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1994, allocations: 0 / 0.8372 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001411/0.1995, allocations: 43.92 kB / 0.8373 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005165/0.2001, allocations: 272.4 kB / 0.8375 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.2002, allocations: 50.5 kB / 0.8376 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.158e-05/0.2003, allocations: 16.86 kB / 0.8376 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.174e-05/0.2004, allocations: 8.078 kB / 0.8376 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.2004, allocations: 38.56 kB / 0.8376 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.403e-06/0.2004, allocations: 0 / 0.8376 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0002958/0.2007, allocations: 77.73 kB / 0.8377 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.543e-05/0.2007, allocations: 59.34 kB / 0.8378 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.2009, allocations: 135.6 kB / 0.8379 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.2009, allocations: 25.7 kB / 0.8379 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.265e-05/0.201, allocations: 112 kB / 0.838 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/0.201, allocations: 15.89 kB / 0.838 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.034e-05/0.2011, allocations: 13.72 kB / 0.838 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.2012, allocations: 322.8 kB / 0.8384 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.017e-05/0.2013, allocations: 12 kB / 0.8384 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.735e-05/0.2013, allocations: 15.98 kB / 0.8384 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000115/0.2014, allocations: 40.78 kB / 0.8384 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2014, allocations: 0 / 0.8384 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001596/0.2016, allocations: 69.62 kB / 0.8385 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.2016, allocations: 8 kB / 0.8385 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.2016, allocations: 0 / 0.8385 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.2016, allocations: 0 / 0.8385 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.2017, allocations: 15.92 kB / 0.8385 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.401e-06/0.2017, allocations: 0 / 0.8385 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.482e-05/0.2018, allocations: 11.88 kB / 0.8385 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.2018, allocations: 4 kB / 0.8385 GB, free: 2.098 MB / 0.5762 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 0.0001047/0.2019, allocations: 114 kB / 0.8386 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.497e-05/0.2019, allocations: 12.28 kB / 0.8386 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002306/0.2022, allocations: 89.98 kB / 0.8387 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.2022, allocations: 0 / 0.8387 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.2022, allocations: 0 / 0.8387 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.2022, allocations: 3.938 kB / 0.8387 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001977/0.2024, allocations: 129.3 kB / 0.8389 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2024, allocations: 0 / 0.8389 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.592e-05/0.2025, allocations: 15.92 kB / 0.8389 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.2025, allocations: 0 / 0.8389 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.2025, allocations: 0 / 0.8389 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2025, allocations: 0 / 0.8389 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2025, allocations: 4 kB / 0.8389 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/0.2027, allocations: 171.4 kB / 0.839 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.571e-05/0.2027, allocations: 7.953 kB / 0.839 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.2027, allocations: 8 kB / 0.8391 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.43e-05/0.2028, allocations: 7.984 kB / 0.8391 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.789e-05/0.2028, allocations: 3.938 kB / 0.8391 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.2028, allocations: 4 kB / 0.8391 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.048e-05/0.2029, allocations: 103.2 kB / 0.8392 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.2029, allocations: 0 / 0.8392 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003404/0.2033, allocations: 67.69 kB / 0.8392 GB, free: 1.301 MB / 0.5762 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.0002967/0.2036, allocations: 170.9 kB / 0.8394 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001626/0.2037, allocations: 35.97 kB / 0.8394 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2037, allocations: 0 / 0.8394 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.114e-05/0.2038, allocations: 19.98 kB / 0.8394 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.2041, allocations: 16.66 kB / 0.8395 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004537/0.2045, allocations: 219.6 kB / 0.8397 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.572e-05/0.2046, allocations: 75.33 kB / 0.8397 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.637e-05/0.2046, allocations: 8.25 kB / 0.8398 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.178e-05/0.2047, allocations: 11.44 kB / 0.8398 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.2047, allocations: 0 / 0.8398 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of Templates: time 0.005368/0.21, allocations: 1.804 MB / 0.8415 GB, free: 14.91 MB / 0.5919 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: 6.222532719373703] Failed to read output from testmodel.py, exit status != 0: 0.21777033619582653 0.234016241 0.032841018 Calling exit ...