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.0009181/0.0009181, allocations: 93.06 kB / 19.65 MB, free: 284 kB / 13.93 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.001658/0.001658, allocations: 169 kB / 23.02 MB, free: 1.551 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 1.088/1.088, allocations: 177.1 MB / 203.4 MB, free: 5.605 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.001689/0.001689, allocations: 234 kB / 260.2 MB, free: 12.8 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.6925/0.6925, allocations: 138.4 MB / 455.2 MB, free: 1.516 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.443e-06/1.443e-06, allocations: 0 / 0.5551 GB, free: 0.5469 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.523e-05/2.667e-05, allocations: 9.688 kB / 0.5551 GB, free: 0.5391 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap): time 0.001775/0.001802, allocations: 1.297 MB / 0.5563 GB, free: 15.23 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.003004, allocations: 0.9035 MB / 0.5572 GB, free: 14.32 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.68e-05/0.00304, allocations: 0 / 0.5572 GB, free: 14.32 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.366e-05/0.003064, allocations: 0 / 0.5572 GB, free: 14.32 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.306e-05/0.003107, allocations: 7.922 kB / 0.5572 GB, free: 14.31 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004897/0.003597, allocations: 147.4 kB / 0.5574 GB, free: 14.16 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.798e-05/0.003665, allocations: 31.84 kB / 0.5574 GB, free: 14.13 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.795e-05/0.003703, allocations: 4 kB / 0.5574 GB, free: 14.13 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.003849, allocations: 23.92 kB / 0.5574 GB, free: 14.11 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.041e-05/0.00391, allocations: 11.97 kB / 0.5574 GB, free: 14.09 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.003925, allocations: 0 / 0.5574 GB, free: 14.09 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000248/0.004173, allocations: 167.8 kB / 0.5576 GB, free: 13.93 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.292e-05/0.004186, allocations: 3.938 kB / 0.5576 GB, free: 13.93 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.117e-05/0.004207, allocations: 11.98 kB / 0.5576 GB, free: 13.91 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002133/0.004421, allocations: 163.6 kB / 0.5578 GB, free: 13.75 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.004423, allocations: 0 / 0.5578 GB, free: 13.75 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.004424, allocations: 0 / 0.5578 GB, free: 13.75 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.004428, allocations: 0 / 0.5578 GB, free: 13.75 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.0003513/0.00478, allocations: 392.2 kB / 0.5581 GB, free: 13.34 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.00482, allocations: 12.75 kB / 0.5582 GB, free: 13.32 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.913e-05/0.004919, allocations: 4.938 kB / 0.5582 GB, free: 13.32 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.446e-05/0.005004, allocations: 108.6 kB / 0.5583 GB, free: 13.19 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.005016, allocations: 4.375 kB / 0.5583 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.366e-06/0.005024, allocations: 4.375 kB / 0.5583 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.507e-05/0.00512, allocations: 46.23 kB / 0.5583 GB, free: 13.13 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.005127, allocations: 192 / 0.5583 GB, free: 13.13 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.005138, allocations: 384 / 0.5583 GB, free: 13.13 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.005147, allocations: 3.938 kB / 0.5583 GB, free: 13.12 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.335e-05/0.005191, allocations: 19.98 kB / 0.5583 GB, free: 13.11 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001305/0.005321, allocations: 120.6 kB / 0.5585 GB, free: 12.95 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.72e-05/0.005388, allocations: 47.05 kB / 0.5585 GB, free: 12.89 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.266e-05/0.005411, allocations: 11.69 kB / 0.5585 GB, free: 12.88 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001133/0.005524, allocations: 8 kB / 0.5585 GB, free: 12.87 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.005549, allocations: 41.38 kB / 0.5586 GB, free: 12.82 MB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 1.183e-06/0.00555, allocations: 0 / 0.5586 GB, free: 12.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001816/0.005731, allocations: 65.77 kB / 0.5586 GB, free: 12.75 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.005768, allocations: 55.34 kB / 0.5587 GB, free: 12.68 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.011e-05/0.005858, allocations: 157.9 kB / 0.5588 GB, free: 12.51 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.005873, allocations: 25.7 kB / 0.5589 GB, free: 12.48 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.185e-05/0.005915, allocations: 130.8 kB / 0.559 GB, free: 12.35 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.55e-05/0.00595, allocations: 15.84 kB / 0.559 GB, free: 12.33 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.669e-05/0.005987, allocations: 27.36 kB / 0.559 GB, free: 12.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.006125, allocations: 492.1 kB / 0.5595 GB, free: 11.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.627e-05/0.006152, allocations: 8.125 kB / 0.5595 GB, free: 11.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.651e-05/0.006168, allocations: 11.98 kB / 0.5595 GB, free: 11.79 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.216e-05/0.00623, allocations: 23.69 kB / 0.5595 GB, free: 11.76 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.006233, allocations: 0 / 0.5595 GB, free: 11.76 MB / 490.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001003/0.006333, allocations: 62.11 kB / 0.5596 GB, free: 11.69 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.006353, allocations: 8 kB / 0.5596 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.00636, allocations: 0 / 0.5596 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.006375, allocations: 3.938 kB / 0.5596 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.082e-05/0.006466, allocations: 11.94 kB / 0.5596 GB, free: 11.67 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/0.006479, allocations: 11.91 kB / 0.5596 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.638e-05/0.006495, allocations: 3.953 kB / 0.5596 GB, free: 11.65 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.006503, allocations: 8 kB / 0.5596 GB, free: 11.64 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 8.205e-05/0.006585, allocations: 152.6 kB / 0.5598 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.07e-05/0.006595, allocations: 8 kB / 0.5598 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001823/0.006778, allocations: 69.48 kB / 0.5599 GB, free: 11.41 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.006781, allocations: 0 / 0.5599 GB, free: 11.41 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.006787, allocations: 3.938 kB / 0.5599 GB, free: 11.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.006791, allocations: 4 kB / 0.5599 GB, free: 11.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.48e-05/0.006886, allocations: 124.6 kB / 0.56 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.006888, allocations: 3.938 kB / 0.56 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.537e-05/0.006923, allocations: 12 kB / 0.56 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.006927, allocations: 0 / 0.56 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.006938, allocations: 4 kB / 0.56 GB, free: 11.22 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/0.006941, allocations: 0 / 0.56 GB, free: 11.22 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.006942, allocations: 0 / 0.56 GB, free: 11.22 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001076/0.00705, allocations: 104.3 kB / 0.5601 GB, free: 11.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.157e-06/0.007059, allocations: 4 kB / 0.5601 GB, free: 11.09 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.007072, allocations: 0 / 0.5601 GB, free: 11.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.037e-06/0.007081, allocations: 0 / 0.5601 GB, free: 11.09 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.019e-05/0.007112, allocations: 8 kB / 0.5601 GB, free: 11.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.533e-06/0.007118, allocations: 11.86 kB / 0.5601 GB, free: 11.07 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.884e-05/0.007167, allocations: 127.2 kB / 0.5602 GB, free: 10.95 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007167, allocations: 0 / 0.5602 GB, free: 10.95 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002219/0.007389, allocations: 43.81 kB / 0.5603 GB, free: 10.91 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.0005772/0.007966, allocations: 167 kB / 0.5604 GB, free: 10.73 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001121/0.008078, allocations: 35.8 kB / 0.5605 GB, free: 10.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.008081, allocations: 3.938 kB / 0.5605 GB, free: 10.69 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.18e-05/0.008102, allocations: 27.7 kB / 0.5605 GB, free: 10.66 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001176/0.00822, allocations: 8 kB / 0.5605 GB, free: 10.65 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002756/0.008496, allocations: 122.3 kB / 0.5606 GB, free: 10.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.188e-05/0.008538, allocations: 63.3 kB / 0.5607 GB, free: 10.42 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.121e-05/0.008569, allocations: 11.98 kB / 0.5607 GB, free: 10.41 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.484e-05/0.008594, allocations: 16.5 kB / 0.5607 GB, free: 10.39 MB / 490.7 MB Notification: Performance of SimCode: time 3.71e-07/0.008594, allocations: 0 / 0.5607 GB, free: 10.39 MB / 490.7 MB Notification: Performance of Templates: time 0.003256/0.01185, allocations: 1.431 MB / 0.5621 GB, free: 8.965 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.7249495428986847]