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.0007023/0.0007023, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001494/0.002196, allocations: 435.8 kB / 10.33 MB, free: 368 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.001495/0.001495, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001774/0.003269, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.05/1.05, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09344/1.144, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.001336/0.001336, allocations: 238.6 kB / 244.2 MB, free: 14.62 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001029/0.002365, allocations: 463.2 kB / 244.6 MB, free: 14.17 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.6843/0.6843, allocations: 138.7 MB / 384.1 MB, free: 476 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07021/0.7545, allocations: 42.39 MB / 426.5 MB, free: 5.953 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.774e-06/1.774e-06, allocations: 0 / 427.8 MB, free: 4.664 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.196e-05/1.374e-05, allocations: 2.312 kB / 427.8 MB, free: 4.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap): time 0.002196/0.002209, allocations: 1.337 MB / 429.1 MB, free: 3.309 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.003607, allocations: 0.9229 MB / 430 MB, free: 2.379 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.162e-05/0.003629, allocations: 3.938 kB / 430 MB, free: 2.375 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.068e-05/0.003639, allocations: 3.938 kB / 430 MB, free: 2.371 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.298e-05/0.003662, allocations: 0 / 430 MB, free: 2.371 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003567/0.004019, allocations: 135.4 kB / 430.2 MB, free: 2.238 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.846e-05/0.004088, allocations: 27.8 kB / 430.2 MB, free: 2.211 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.152e-05/0.004129, allocations: 0 / 430.2 MB, free: 2.211 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.004254, allocations: 23.97 kB / 430.2 MB, free: 2.188 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.547e-05/0.004319, allocations: 15.92 kB / 430.2 MB, free: 2.172 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.004336, allocations: 0 / 430.2 MB, free: 2.172 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003527/0.004689, allocations: 183.8 kB / 430.4 MB, free: 1.992 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.182e-05/0.004701, allocations: 8 kB / 430.4 MB, free: 1.984 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.699e-05/0.004718, allocations: 4 kB / 430.4 MB, free: 1.98 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002482/0.004966, allocations: 135.6 kB / 430.5 MB, free: 1.848 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.667e-05/0.004983, allocations: 4 kB / 430.5 MB, free: 1.844 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.004983, allocations: 0 / 430.5 MB, free: 1.844 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.69e-05/0.005, allocations: 0 / 430.5 MB, free: 1.844 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.0004002/0.0054, allocations: 272.3 kB / 430.8 MB, free: 1.555 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.005436, allocations: 11.98 kB / 430.8 MB, free: 1.543 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001417/0.005577, allocations: 90.03 kB / 430.9 MB, free: 1.438 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.704e-05/0.005674, allocations: 105.7 kB / 431 MB, free: 1.309 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.005686, allocations: 8.375 kB / 431 MB, free: 1.301 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.464e-06/0.005693, allocations: 4.375 kB / 431 MB, free: 1.297 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.69e-05/0.00578, allocations: 42.23 kB / 431.1 MB, free: 1.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.00579, allocations: 8.062 kB / 431.1 MB, free: 1.242 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.005798, allocations: 384 / 431.1 MB, free: 1.242 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.005807, allocations: 7.938 kB / 431.1 MB, free: 1.234 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.444e-05/0.005852, allocations: 7.984 kB / 431.1 MB, free: 1.227 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001159/0.005968, allocations: 69.03 kB / 431.2 MB, free: 1.145 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.24e-05/0.00603, allocations: 34.55 kB / 431.2 MB, free: 1.102 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.691e-05/0.006047, allocations: 4.859 kB / 431.2 MB, free: 1.094 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004467/0.006494, allocations: 108.1 kB / 431.3 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.00652, allocations: 30.56 kB / 431.3 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.006521, allocations: 0 / 431.3 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001257/0.006646, allocations: 57.61 kB / 431.4 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.00668, allocations: 51.41 kB / 431.4 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.143e-05/0.006741, allocations: 102.7 kB / 431.5 MB, free: 0.7109 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.006753, allocations: 25.7 kB / 431.6 MB, free: 0.6797 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.408e-05/0.006777, allocations: 80.27 kB / 431.6 MB, free: 0.5977 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.935e-05/0.006807, allocations: 19.91 kB / 431.7 MB, free: 0.5781 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.154e-05/0.006838, allocations: 17.7 kB / 431.7 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.307e-05/0.006931, allocations: 318.8 kB / 432 MB, free: 240 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.21e-05/0.006944, allocations: 4 kB / 432 MB, free: 236 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.131e-05/0.006955, allocations: 4 kB / 432 MB, free: 232 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.787e-05/0.006993, allocations: 24.78 kB / 432 MB, free: 204 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.006995, allocations: 0 / 432 MB, free: 204 kB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.122e-05/0.007056, allocations: 42.06 kB / 432.1 MB, free: 156 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.007068, allocations: 4 kB / 432.1 MB, free: 152 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.007072, allocations: 0 / 432.1 MB, free: 152 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.007081, allocations: 8 kB / 432.1 MB, free: 144 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.514e-05/0.007146, allocations: 16.05 kB / 432.1 MB, free: 128 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.344e-06/0.007148, allocations: 0 / 432.1 MB, free: 128 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.835e-05/0.007167, allocations: 7.891 kB / 432.1 MB, free: 120 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.007172, allocations: 0 / 432.1 MB, free: 120 kB / 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 0.195/0.2021, allocations: 112.2 kB / 432.2 MB, free: 2.199 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.2021, allocations: 2.438 kB / 432.2 MB, free: 2.199 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001784/0.2023, allocations: 66.14 kB / 432.3 MB, free: 2.168 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.2023, allocations: 0.7188 kB / 432.3 MB, free: 2.168 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.2023, allocations: 2.875 kB / 432.3 MB, free: 2.168 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.2023, allocations: 0.5469 kB / 432.3 MB, free: 2.168 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.799e-05/0.2024, allocations: 76.45 kB / 432.4 MB, free: 2.094 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.2024, allocations: 1.562 kB / 432.4 MB, free: 2.094 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.061e-05/0.2025, allocations: 12.17 kB / 432.4 MB, free: 2.094 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.238e-06/0.2025, allocations: 2.125 kB / 432.4 MB, free: 2.094 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.2025, allocations: 1.719 kB / 432.4 MB, free: 2.094 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.2025, allocations: 0.75 kB / 432.4 MB, free: 2.094 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.2025, allocations: 3.953 kB / 432.4 MB, free: 2.094 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.2025, allocations: 3.062 kB / 432.4 MB, free: 2.094 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.238e-05/0.2026, allocations: 74.17 kB / 432.5 MB, free: 2.031 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.061e-05/0.2026, allocations: 4.969 kB / 432.5 MB, free: 2.031 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.128e-05/0.2026, allocations: 2.719 kB / 432.5 MB, free: 2.031 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.303e-05/0.2026, allocations: 5.844 kB / 432.5 MB, free: 2.031 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.2026, allocations: 0 / 432.5 MB, free: 2.031 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.222e-05/0.2026, allocations: 9.109 kB / 432.5 MB, free: 2.023 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2026, allocations: 0.9375 kB / 432.5 MB, free: 2.023 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001926/0.2028, allocations: 54.94 kB / 432.5 MB, free: 2.023 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.0002087/0.203, allocations: 148.1 kB / 432.7 MB, free: 1.957 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.402e-05/0.2031, allocations: 23.41 kB / 432.7 MB, free: 1.949 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.2031, allocations: 3.609 kB / 432.7 MB, free: 1.949 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.52e-05/0.2031, allocations: 21.83 kB / 432.7 MB, free: 1.941 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.306e-05/0.2032, allocations: 9.469 kB / 432.7 MB, free: 1.941 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004349/0.2036, allocations: 121.7 kB / 432.8 MB, free: 1.844 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.175e-05/0.2037, allocations: 58 kB / 432.9 MB, free: 1.773 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.535e-05/0.2037, allocations: 10.33 kB / 432.9 MB, free: 1.773 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.018e-05/0.2037, allocations: 52.06 kB / 433 MB, free: 1.73 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.2037, allocations: 0 / 433 MB, free: 1.73 MB / 410.7 MB Notification: Performance of Templates: time 0.003278/0.207, allocations: 1.448 MB / 434.4 MB, free: 1.703 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.4809973826631904]