Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.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.0007486/0.0007486, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001077/0.001826, 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.0007791/0.0007791, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009821/0.001761, 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 0.9669/0.9669, allocations: 177.2 MB / 189.7 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08373/1.051, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.00137/0.00137, allocations: 230.3 kB / 244.4 MB, free: 14.55 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001834/0.003204, allocations: 479.6 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.7087/0.7087, allocations: 138.7 MB / 384.3 MB, free: 372 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07104/0.7797, allocations: 42.4 MB / 426.7 MB, free: 5.844 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.ConvectiveHeatTransfer.Examples.AlphaGap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap") translateModel(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 428 MB, free: 4.535 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.408e-06/1.048e-05, allocations: 6.312 kB / 428 MB, free: 4.527 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap): time 0.001467/0.001477, allocations: 1.352 MB / 429.4 MB, free: 3.16 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008513/0.002328, allocations: 0.9151 MB / 430.3 MB, free: 2.238 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.963e-05/0.002348, allocations: 0 / 430.3 MB, free: 2.238 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.977e-06/0.002357, allocations: 3.938 kB / 430.3 MB, free: 2.234 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.937e-05/0.002376, allocations: 7.922 kB / 430.3 MB, free: 2.227 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000243/0.002619, allocations: 139.3 kB / 430.4 MB, free: 2.09 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.712e-05/0.002677, allocations: 27.86 kB / 430.5 MB, free: 2.062 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.252e-05/0.002709, allocations: 0 / 430.5 MB, free: 2.062 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.002812, allocations: 19.98 kB / 430.5 MB, free: 2.043 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.958e-05/0.002861, allocations: 19.91 kB / 430.5 MB, free: 2.023 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.002874, allocations: 4 kB / 430.5 MB, free: 2.02 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002416/0.003116, allocations: 175.8 kB / 430.7 MB, free: 1.848 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.242e-05/0.003128, allocations: 8 kB / 430.7 MB, free: 1.84 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.318e-05/0.003141, allocations: 4 kB / 430.7 MB, free: 1.836 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.003315, allocations: 135.6 kB / 430.8 MB, free: 1.703 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.021e-05/0.003325, allocations: 0 / 430.8 MB, free: 1.703 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.003326, allocations: 0 / 430.8 MB, free: 1.703 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.287e-06/0.003336, allocations: 0 / 430.8 MB, free: 1.703 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003052/0.003641, allocations: 276.3 kB / 431.1 MB, free: 1.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.899e-05/0.00367, allocations: 12.03 kB / 431.1 MB, free: 1.398 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.003785, allocations: 86.03 kB / 431.2 MB, free: 1.297 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.214e-05/0.003867, allocations: 105.7 kB / 431.3 MB, free: 1.168 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.003881, allocations: 8.375 kB / 431.3 MB, free: 1.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.003893, allocations: 384 / 431.3 MB, free: 1.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.208e-05/0.003965, allocations: 46.17 kB / 431.4 MB, free: 1.109 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-06/0.003971, allocations: 4.188 kB / 431.4 MB, free: 1.105 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-06/0.003977, allocations: 384 / 431.4 MB, free: 1.105 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.003983, allocations: 3.938 kB / 431.4 MB, free: 1.102 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.741e-05/0.004011, allocations: 11.98 kB / 431.4 MB, free: 1.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.427e-05/0.004095, allocations: 65.05 kB / 431.4 MB, free: 1.012 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.472e-05/0.00414, allocations: 38.48 kB / 431.5 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.362e-05/0.004154, allocations: 8.859 kB / 431.5 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003167/0.00447, allocations: 104.1 kB / 431.6 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.004492, allocations: 42.5 kB / 431.6 MB, free: 0.8008 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 7.51e-07/0.004493, allocations: 0 / 431.6 MB, free: 0.8008 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001075/0.0046, allocations: 45.67 kB / 431.7 MB, free: 0.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.294e-05/0.004623, allocations: 55.41 kB / 431.7 MB, free: 0.6836 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.506e-05/0.004668, allocations: 94.72 kB / 431.8 MB, free: 0.5781 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.978e-06/0.004678, allocations: 29.7 kB / 431.9 MB, free: 0.543 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.739e-05/0.004696, allocations: 80.14 kB / 431.9 MB, free: 472 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.575e-05/0.004721, allocations: 20.02 kB / 431.9 MB, free: 452 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.276e-05/0.004744, allocations: 17.7 kB / 432 MB, free: 428 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.225e-05/0.004816, allocations: 318.8 kB / 432.3 MB, free: 100 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.657e-06/0.004825, allocations: 4 kB / 432.3 MB, free: 96 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.676e-06/0.004834, allocations: 7.938 kB / 432.3 MB, free: 88 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.772e-05/0.004861, allocations: 20.83 kB / 432.3 MB, free: 64 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.004863, allocations: 0 / 432.3 MB, free: 64 kB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.423e-05/0.004907, allocations: 45.67 kB / 432.4 MB, free: 12 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.004918, allocations: 8 kB / 432.4 MB, free: 4 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.004921, allocations: 0 / 432.4 MB, free: 4 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.004932, allocations: 0 / 432.4 MB, free: 4 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1941/0.1991, allocations: 11.98 kB / 432.4 MB, free: 2.148 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1991, allocations: 1.922 kB / 432.4 MB, free: 2.148 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.287e-05/0.1991, allocations: 6.016 kB / 432.4 MB, free: 2.148 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.1991, allocations: 4.547 kB / 432.4 MB, free: 2.148 MB / 410.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 (5): * Single equations (assignments): 5 * 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.055e-05/0.1992, allocations: 110 kB / 432.5 MB, free: 2.035 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.707e-05/0.1992, allocations: 3.953 kB / 432.5 MB, free: 2.035 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001492/0.1993, allocations: 70.45 kB / 432.6 MB, free: 2.004 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.1993, allocations: 1.344 kB / 432.6 MB, free: 2.004 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.1993, allocations: 0 / 432.6 MB, free: 2.004 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1993, allocations: 5.688 kB / 432.6 MB, free: 2.004 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.936e-05/0.1994, allocations: 68.09 kB / 432.6 MB, free: 1.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1994, allocations: 2.781 kB / 432.6 MB, free: 1.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.316e-05/0.1994, allocations: 11.48 kB / 432.7 MB, free: 1.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.615e-06/0.1994, allocations: 2.531 kB / 432.7 MB, free: 1.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.1995, allocations: 2.578 kB / 432.7 MB, free: 1.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-06/0.1995, allocations: 5.328 kB / 432.7 MB, free: 1.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1995, allocations: 1.438 kB / 432.7 MB, free: 1.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.1995, allocations: 3.719 kB / 432.7 MB, free: 1.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.037e-05/0.1995, allocations: 74.52 kB / 432.7 MB, free: 1.867 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.688e-06/0.1995, allocations: 7.062 kB / 432.7 MB, free: 1.863 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.508e-06/0.1995, allocations: 4.438 kB / 432.8 MB, free: 1.863 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.174e-05/0.1996, allocations: 5.125 kB / 432.8 MB, free: 1.863 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.1996, allocations: 1.625 kB / 432.8 MB, free: 1.863 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.2e-05/0.1996, allocations: 8.016 kB / 432.8 MB, free: 1.855 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1996, allocations: 1.156 kB / 432.8 MB, free: 1.855 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001763/0.1997, allocations: 52.31 kB / 432.8 MB, free: 1.855 MB / 410.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 (6): * Single equations (assignments): 6 * 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.0002013/0.1999, allocations: 151.1 kB / 433 MB, free: 1.789 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.516e-05/0.2, allocations: 24.14 kB / 433 MB, free: 1.781 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.2, allocations: 2.344 kB / 433 MB, free: 1.781 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.411e-05/0.2, allocations: 24.39 kB / 433 MB, free: 1.773 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.849e-05/0.2001, allocations: 9.766 kB / 433 MB, free: 1.773 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004335/0.2005, allocations: 124.9 kB / 433.1 MB, free: 1.676 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.921e-05/0.2006, allocations: 57.16 kB / 433.2 MB, free: 1.605 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.258e-05/0.2006, allocations: 11.73 kB / 433.2 MB, free: 1.605 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.173e-05/0.2006, allocations: 54.44 kB / 433.3 MB, free: 1.562 MB / 410.7 MB Notification: Performance of SimCode: time 5.91e-07/0.2006, allocations: 0 / 433.3 MB, free: 1.562 MB / 410.7 MB Notification: Performance of Templates: time 0.003003/0.2036, allocations: 1.353 MB / 434.6 MB, free: 1.547 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.sim & ./BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3958916682749987]