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.001864/0.001864, allocations: 84.73 kB / 19.44 MB, free: 356 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.002433/0.002433, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.448/1.448, allocations: 177.2 MB / 203.1 MB, free: 5.582 MB / 186.7 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.002719/0.002719, allocations: 229 kB / 259.8 MB, free: 12.83 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 1.088/1.088, allocations: 138.5 MB / 454.7 MB, free: 1.484 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.713e-06/1.713e-06, allocations: 0 / 0.5543 GB, free: 0.9023 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.859e-05/3.031e-05, allocations: 6.312 kB / 0.5543 GB, free: 0.8945 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap): time 0.002798/0.002829, allocations: 1.259 MB / 0.5555 GB, free: 15.62 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001773/0.004602, allocations: 0.8412 MB / 0.5563 GB, free: 14.77 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.237e-05/0.004634, allocations: 4 kB / 0.5564 GB, free: 14.77 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.572e-05/0.00466, allocations: 7.922 kB / 0.5564 GB, free: 14.76 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.287e-05/0.004703, allocations: 7.922 kB / 0.5564 GB, free: 14.75 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007101/0.005413, allocations: 143.4 kB / 0.5565 GB, free: 14.61 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.779e-05/0.005491, allocations: 27.86 kB / 0.5565 GB, free: 14.59 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.188e-05/0.005532, allocations: 4 kB / 0.5565 GB, free: 14.58 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001573/0.00569, allocations: 23.97 kB / 0.5566 GB, free: 14.56 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.483e-05/0.005755, allocations: 11.98 kB / 0.5566 GB, free: 14.55 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.005774, allocations: 4 kB / 0.5566 GB, free: 14.54 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003731/0.006147, allocations: 159.8 kB / 0.5567 GB, free: 14.39 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.939e-05/0.006167, allocations: 11.92 kB / 0.5567 GB, free: 14.38 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.99e-05/0.006197, allocations: 7.984 kB / 0.5567 GB, free: 14.37 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003726/0.006569, allocations: 163.5 kB / 0.5569 GB, free: 14.21 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.006572, allocations: 0 / 0.5569 GB, free: 14.21 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.006572, allocations: 0 / 0.5569 GB, free: 14.21 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.006576, allocations: 0 / 0.5569 GB, free: 14.21 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.0004745/0.007051, allocations: 290 kB / 0.5572 GB, free: 13.89 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.00709, allocations: 12.75 kB / 0.5572 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.007196, allocations: 4.938 kB / 0.5572 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.007332, allocations: 109.7 kB / 0.5573 GB, free: 13.75 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.007347, allocations: 4.375 kB / 0.5573 GB, free: 13.74 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.007359, allocations: 4.359 kB / 0.5573 GB, free: 13.74 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.007476, allocations: 46.19 kB / 0.5574 GB, free: 13.69 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.007483, allocations: 192 / 0.5574 GB, free: 13.69 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.007495, allocations: 4.375 kB / 0.5574 GB, free: 13.68 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.007506, allocations: 7.938 kB / 0.5574 GB, free: 13.68 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.064e-05/0.007596, allocations: 19.97 kB / 0.5574 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001712/0.007768, allocations: 109.3 kB / 0.5575 GB, free: 13.52 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.962e-05/0.007857, allocations: 34.62 kB / 0.5575 GB, free: 13.48 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.5e-05/0.007892, allocations: 12.98 kB / 0.5575 GB, free: 13.46 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001055/0.007998, allocations: 11.98 kB / 0.5575 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/0.008036, allocations: 42.5 kB / 0.5576 GB, free: 13.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.008037, allocations: 0 / 0.5576 GB, free: 13.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002227/0.00826, allocations: 65.83 kB / 0.5576 GB, free: 13.33 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.008308, allocations: 55.34 kB / 0.5577 GB, free: 13.26 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.776e-05/0.008396, allocations: 93.86 kB / 0.5578 GB, free: 13.16 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.008417, allocations: 25.83 kB / 0.5578 GB, free: 13.13 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.847e-05/0.008465, allocations: 88.14 kB / 0.5579 GB, free: 13.04 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.307e-05/0.008498, allocations: 15.89 kB / 0.5579 GB, free: 13.02 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.39e-05/0.008542, allocations: 17.72 kB / 0.5579 GB, free: 13 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.008716, allocations: 310.8 kB / 0.5582 GB, free: 12.69 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.424e-05/0.008751, allocations: 15.98 kB / 0.5582 GB, free: 12.67 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.541e-05/0.008776, allocations: 12 kB / 0.5583 GB, free: 12.66 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.023e-05/0.008836, allocations: 24.86 kB / 0.5583 GB, free: 12.63 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.008838, allocations: 0 / 0.5583 GB, free: 12.63 MB / 490.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001153/0.008953, allocations: 57.69 kB / 0.5583 GB, free: 12.57 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.008968, allocations: 4 kB / 0.5583 GB, free: 12.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.008972, allocations: 8 kB / 0.5583 GB, free: 12.56 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.008989, allocations: 3.938 kB / 0.5583 GB, free: 12.55 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.594e-05/0.009075, allocations: 11.98 kB / 0.5584 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.009084, allocations: 7.922 kB / 0.5584 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.892e-05/0.009123, allocations: 7.891 kB / 0.5584 GB, free: 12.53 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.009129, allocations: 3.938 kB / 0.5584 GB, free: 12.52 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.24e-05/0.009222, allocations: 109.8 kB / 0.5585 GB, free: 12.41 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.981e-05/0.009242, allocations: 8 kB / 0.5585 GB, free: 12.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002185/0.00946, allocations: 77.48 kB / 0.5586 GB, free: 12.32 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.009465, allocations: 4 kB / 0.5586 GB, free: 12.32 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.009471, allocations: 3.938 kB / 0.5586 GB, free: 12.31 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.009473, allocations: 0 / 0.5586 GB, free: 12.31 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.009604, allocations: 113.3 kB / 0.5587 GB, free: 12.17 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.009606, allocations: 0 / 0.5587 GB, free: 12.17 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.358e-05/0.009659, allocations: 8 kB / 0.5587 GB, free: 12.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.009661, allocations: 0 / 0.5587 GB, free: 12.16 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.009669, allocations: 4.188 kB / 0.5587 GB, free: 12.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.009672, allocations: 4 kB / 0.5587 GB, free: 12.16 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.009673, allocations: 8 kB / 0.5587 GB, free: 12.15 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001581/0.009831, allocations: 97.03 kB / 0.5588 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.523e-06/0.009838, allocations: 0 / 0.5588 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.009852, allocations: 4 kB / 0.5588 GB, free: 12.03 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.255e-05/0.009875, allocations: 0 / 0.5588 GB, free: 12.03 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.916e-05/0.009894, allocations: 3.984 kB / 0.5588 GB, free: 12.03 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.009904, allocations: 7.938 kB / 0.5588 GB, free: 12.02 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.102e-05/0.009955, allocations: 79.28 kB / 0.5589 GB, free: 11.94 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009955, allocations: 0 / 0.5589 GB, free: 11.94 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002874/0.01024, allocations: 47.81 kB / 0.5589 GB, free: 11.89 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.0003153/0.01056, allocations: 178.3 kB / 0.5591 GB, free: 11.71 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001038/0.01066, allocations: 23.98 kB / 0.5591 GB, free: 11.69 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.01066, allocations: 3.938 kB / 0.5591 GB, free: 11.69 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.761e-05/0.0107, allocations: 19.98 kB / 0.5591 GB, free: 11.67 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001501/0.01085, allocations: 4 kB / 0.5592 GB, free: 11.66 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003298/0.01118, allocations: 128.6 kB / 0.5593 GB, free: 11.51 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.962e-05/0.01125, allocations: 63.28 kB / 0.5593 GB, free: 11.43 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.697e-05/0.0113, allocations: 19.97 kB / 0.5594 GB, free: 11.41 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.874e-05/0.01134, allocations: 12.5 kB / 0.5594 GB, free: 11.4 MB / 490.7 MB Notification: Performance of SimCode: time 6.12e-07/0.01134, allocations: 0 / 0.5594 GB, free: 11.4 MB / 490.7 MB Notification: Performance of Templates: time 0.004462/0.0158, allocations: 1.242 MB / 0.5606 GB, free: 10.16 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.6169564289739355]