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.0009552/0.0009552, allocations: 92.31 kB / 20.19 MB, free: 4.355 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.0009264/0.0009264, allocations: 172.9 kB / 23.49 MB, free: 1.051 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.9589/0.9589, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.001618/0.001618, allocations: 231 kB / 260.5 MB, free: 12.89 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.7692/0.7692, allocations: 138.4 MB / 455.4 MB, free: 1.555 MB / 362.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.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.673e-06/1.673e-06, allocations: 0 / 0.555 GB, free: 0.9297 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.859e-05/3.027e-05, allocations: 9.766 kB / 0.555 GB, free: 0.9219 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap): time 0.002699/0.002729, allocations: 1.297 MB / 0.5563 GB, free: 15.61 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001675/0.004404, allocations: 0.9074 MB / 0.5571 GB, free: 14.7 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.771e-05/0.004452, allocations: 4 kB / 0.5572 GB, free: 14.69 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.753e-05/0.00448, allocations: 0 / 0.5572 GB, free: 14.69 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.453e-05/0.004534, allocations: 3.984 kB / 0.5572 GB, free: 14.69 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006667/0.005201, allocations: 139.4 kB / 0.5573 GB, free: 14.55 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.513e-05/0.005296, allocations: 27.86 kB / 0.5573 GB, free: 14.52 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.403e-05/0.00535, allocations: 0 / 0.5573 GB, free: 14.52 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002206/0.005571, allocations: 27.91 kB / 0.5573 GB, free: 14.5 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.919e-05/0.00564, allocations: 19.92 kB / 0.5574 GB, free: 14.48 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.005659, allocations: 0 / 0.5574 GB, free: 14.48 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003111/0.00597, allocations: 167.8 kB / 0.5575 GB, free: 14.31 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.467e-05/0.005985, allocations: 4 kB / 0.5575 GB, free: 14.31 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.515e-05/0.00601, allocations: 4 kB / 0.5575 GB, free: 14.3 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002955/0.006305, allocations: 163.5 kB / 0.5577 GB, free: 14.14 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.006311, allocations: 4 kB / 0.5577 GB, free: 14.14 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.006312, allocations: 0 / 0.5577 GB, free: 14.14 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.006317, allocations: 0 / 0.5577 GB, free: 14.14 MB / 490.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.0004393/0.006757, allocations: 388.3 kB / 0.5581 GB, free: 13.73 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.006807, allocations: 16.75 kB / 0.5581 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001304/0.006938, allocations: 4.938 kB / 0.5581 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.00705, allocations: 108.6 kB / 0.5582 GB, free: 13.57 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.007066, allocations: 4.375 kB / 0.5582 GB, free: 13.57 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.007077, allocations: 4.375 kB / 0.5582 GB, free: 13.57 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.007191, allocations: 42.23 kB / 0.5582 GB, free: 13.52 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.007199, allocations: 192 / 0.5582 GB, free: 13.52 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.007212, allocations: 4.375 kB / 0.5582 GB, free: 13.52 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.007223, allocations: 3.938 kB / 0.5582 GB, free: 13.51 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.852e-05/0.007281, allocations: 15.98 kB / 0.5583 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001696/0.007451, allocations: 128.6 kB / 0.5584 GB, free: 13.34 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.628e-05/0.007527, allocations: 47.05 kB / 0.5584 GB, free: 13.28 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.775e-05/0.007555, allocations: 11.69 kB / 0.5584 GB, free: 13.26 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001213/0.007676, allocations: 8.125 kB / 0.5584 GB, free: 13.25 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.007707, allocations: 41.38 kB / 0.5585 GB, free: 13.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 1.382e-06/0.007708, allocations: 0 / 0.5585 GB, free: 13.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002002/0.007908, allocations: 61.64 kB / 0.5585 GB, free: 13.14 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.007945, allocations: 55.34 kB / 0.5586 GB, free: 13.07 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.723e-05/0.008042, allocations: 157.9 kB / 0.5587 GB, free: 12.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.008056, allocations: 33.58 kB / 0.5588 GB, free: 12.86 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.55e-05/0.008102, allocations: 131 kB / 0.5589 GB, free: 12.73 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.221e-05/0.008134, allocations: 15.84 kB / 0.5589 GB, free: 12.71 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.935e-05/0.008173, allocations: 27.36 kB / 0.5589 GB, free: 12.68 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.008306, allocations: 496.1 kB / 0.5594 GB, free: 12.18 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.222e-05/0.008329, allocations: 4 kB / 0.5594 GB, free: 12.18 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.021e-05/0.008349, allocations: 7.984 kB / 0.5594 GB, free: 12.17 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.623e-05/0.008405, allocations: 24.06 kB / 0.5594 GB, free: 12.14 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.008408, allocations: 0 / 0.5594 GB, free: 12.14 MB / 490.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001032/0.008511, allocations: 57.69 kB / 0.5595 GB, free: 12.08 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.008527, allocations: 8 kB / 0.5595 GB, free: 12.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.008532, allocations: 0 / 0.5595 GB, free: 12.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.008547, allocations: 7.938 kB / 0.5595 GB, free: 12.06 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.495e-05/0.008632, allocations: 8 kB / 0.5595 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.008641, allocations: 7.922 kB / 0.5595 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.923e-05/0.00866, allocations: 3.953 kB / 0.5595 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.008667, allocations: 4 kB / 0.5595 GB, free: 12.04 MB / 490.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 9.875e-05/0.008766, allocations: 156.6 kB / 0.5597 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.365e-05/0.00878, allocations: 4 kB / 0.5597 GB, free: 11.87 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001954/0.008975, allocations: 77.48 kB / 0.5598 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.008977, allocations: 0 / 0.5598 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.008982, allocations: 3.938 kB / 0.5598 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.008986, allocations: 0 / 0.5598 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001002/0.009086, allocations: 124.6 kB / 0.5599 GB, free: 11.63 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.009088, allocations: 0 / 0.5599 GB, free: 11.63 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.822e-05/0.009136, allocations: 8 kB / 0.5599 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.009141, allocations: 4 kB / 0.5599 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.009149, allocations: 0 / 0.5599 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.009152, allocations: 0 / 0.5599 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.009153, allocations: 4 kB / 0.5599 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/0.009279, allocations: 104.3 kB / 0.56 GB, free: 11.49 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.804e-06/0.009287, allocations: 0 / 0.56 GB, free: 11.49 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.009303, allocations: 7.984 kB / 0.56 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.04e-05/0.009323, allocations: 192 / 0.56 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.248e-05/0.009346, allocations: 7.938 kB / 0.56 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.009357, allocations: 11.94 kB / 0.56 GB, free: 11.46 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.91e-05/0.009396, allocations: 127.1 kB / 0.5602 GB, free: 11.34 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.009396, allocations: 0 / 0.5602 GB, free: 11.34 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002845/0.009681, allocations: 51.81 kB / 0.5602 GB, free: 11.29 MB / 490.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.0002916/0.009973, allocations: 167.1 kB / 0.5604 GB, free: 11.12 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001167/0.01009, allocations: 31.67 kB / 0.5604 GB, free: 11.08 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01009, allocations: 0 / 0.5604 GB, free: 11.08 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.13e-05/0.01012, allocations: 27.61 kB / 0.5604 GB, free: 11.05 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001546/0.01028, allocations: 4 kB / 0.5604 GB, free: 11.05 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003234/0.0106, allocations: 122.3 kB / 0.5605 GB, free: 10.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.42e-05/0.01064, allocations: 63.3 kB / 0.5606 GB, free: 10.82 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.024e-05/0.01069, allocations: 11.98 kB / 0.5606 GB, free: 10.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.152e-05/0.01073, allocations: 12.5 kB / 0.5606 GB, free: 10.79 MB / 490.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01073, allocations: 0 / 0.5606 GB, free: 10.79 MB / 490.7 MB Notification: Performance of Templates: time 0.004204/0.01493, allocations: 1.268 MB / 0.5619 GB, free: 9.527 MB / 490.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.636404186952859]