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.0009649/0.0009649, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001008/0.001008, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.047/1.047, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.002695/0.002695, allocations: 240.8 kB / 261.3 MB, free: 12.66 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.7335/0.7335, allocations: 138.4 MB / 456.3 MB, free: 1.414 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.693e-06/1.693e-06, allocations: 3.938 kB / 0.5563 GB, free: 300 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.097e-05/2.266e-05, allocations: 6.25 kB / 0.5563 GB, free: 292 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap): time 0.001888/0.001911, allocations: 1.313 MB / 0.5576 GB, free: 14.96 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000982/0.002893, allocations: 0.8918 MB / 0.5585 GB, free: 14.06 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.012e-05/0.002923, allocations: 4 kB / 0.5585 GB, free: 14.06 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.04e-05/0.002944, allocations: 3.938 kB / 0.5585 GB, free: 14.05 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.987e-05/0.002984, allocations: 4 kB / 0.5585 GB, free: 14.05 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003656/0.003349, allocations: 139.4 kB / 0.5586 GB, free: 13.91 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.288e-05/0.003402, allocations: 27.86 kB / 0.5586 GB, free: 13.89 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.798e-05/0.00345, allocations: 0 / 0.5586 GB, free: 13.89 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.003565, allocations: 31.84 kB / 0.5587 GB, free: 13.86 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.367e-05/0.003619, allocations: 19.92 kB / 0.5587 GB, free: 13.84 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.003632, allocations: 0 / 0.5587 GB, free: 13.84 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002003/0.003832, allocations: 163.8 kB / 0.5589 GB, free: 13.68 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.228e-05/0.003844, allocations: 4 kB / 0.5589 GB, free: 13.67 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.556e-05/0.00386, allocations: 4 kB / 0.5589 GB, free: 13.67 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.004036, allocations: 167.5 kB / 0.559 GB, free: 13.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.004038, allocations: 0 / 0.559 GB, free: 13.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.004039, allocations: 0 / 0.559 GB, free: 13.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.004043, allocations: 0 / 0.559 GB, free: 13.5 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.0002938/0.004337, allocations: 396.2 kB / 0.5594 GB, free: 13.08 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.004369, allocations: 12.75 kB / 0.5594 GB, free: 13.07 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.292e-05/0.004452, allocations: 8.922 kB / 0.5594 GB, free: 13.06 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.069e-05/0.004532, allocations: 108.6 kB / 0.5595 GB, free: 12.93 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.004543, allocations: 384 / 0.5595 GB, free: 12.93 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.083e-06/0.00455, allocations: 4.375 kB / 0.5595 GB, free: 12.93 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.366e-05/0.004614, allocations: 42.23 kB / 0.5596 GB, free: 12.88 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.004621, allocations: 192 / 0.5596 GB, free: 12.88 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.111e-06/0.004627, allocations: 4.312 kB / 0.5596 GB, free: 12.88 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.004634, allocations: 7.938 kB / 0.5596 GB, free: 12.87 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.931e-05/0.004663, allocations: 11.98 kB / 0.5596 GB, free: 12.86 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001072/0.00477, allocations: 109.2 kB / 0.5597 GB, free: 12.72 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.629e-05/0.004817, allocations: 31.06 kB / 0.5597 GB, free: 12.68 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.732e-05/0.004834, allocations: 19.86 kB / 0.5597 GB, free: 12.66 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.51e-05/0.004899, allocations: 8 kB / 0.5598 GB, free: 12.65 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.004919, allocations: 37.39 kB / 0.5598 GB, free: 12.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 8.02e-07/0.00492, allocations: 0 / 0.5598 GB, free: 12.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001138/0.005033, allocations: 61.58 kB / 0.5598 GB, free: 12.54 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/0.00506, allocations: 51.41 kB / 0.5599 GB, free: 12.47 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.617e-05/0.005116, allocations: 169.8 kB / 0.5601 GB, free: 12.29 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.879e-06/0.005126, allocations: 29.7 kB / 0.5601 GB, free: 12.25 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.759e-05/0.005153, allocations: 131 kB / 0.5602 GB, free: 12.12 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.005179, allocations: 15.84 kB / 0.5602 GB, free: 12.11 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.528e-05/0.005205, allocations: 23.38 kB / 0.5602 GB, free: 12.07 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003748/0.005579, allocations: 0.4884 MB / 0.5607 GB, free: 11.57 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.145e-05/0.005591, allocations: 4 kB / 0.5607 GB, free: 11.57 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.148e-06/0.0056, allocations: 4 kB / 0.5607 GB, free: 11.57 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.155e-05/0.005632, allocations: 27.98 kB / 0.5608 GB, free: 11.54 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.005634, allocations: 4 kB / 0.5608 GB, free: 11.53 MB / 490.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.05e-05/0.005694, allocations: 53.69 kB / 0.5608 GB, free: 11.47 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.938e-06/0.005704, allocations: 4 kB / 0.5608 GB, free: 11.47 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.005708, allocations: 0 / 0.5608 GB, free: 11.47 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.185e-06/0.005716, allocations: 4 kB / 0.5608 GB, free: 11.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.549e-05/0.005761, allocations: 8 kB / 0.5608 GB, free: 11.46 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-06/0.005765, allocations: 3.984 kB / 0.5608 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.3e-05/0.005778, allocations: 7.891 kB / 0.5608 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-06/0.005781, allocations: 4 kB / 0.5608 GB, free: 11.44 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 5.661e-05/0.005838, allocations: 160.5 kB / 0.561 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.204e-06/0.005845, allocations: 8 kB / 0.561 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001111/0.005956, allocations: 73.48 kB / 0.5611 GB, free: 11.19 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.005957, allocations: 0 / 0.5611 GB, free: 11.19 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.005959, allocations: 0 / 0.5611 GB, free: 11.19 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.005963, allocations: 3.938 kB / 0.5611 GB, free: 11.19 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.346e-05/0.006027, allocations: 105.2 kB / 0.5612 GB, free: 11.06 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.006027, allocations: 0 / 0.5612 GB, free: 11.06 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.449e-05/0.006052, allocations: 11.98 kB / 0.5612 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.71e-07/0.006052, allocations: 0 / 0.5612 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.729e-06/0.006057, allocations: 4 kB / 0.5612 GB, free: 11.04 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.41e-07/0.006058, allocations: 0 / 0.5612 GB, free: 11.04 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.006058, allocations: 4 kB / 0.5612 GB, free: 11.04 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.776e-05/0.006126, allocations: 96.27 kB / 0.5613 GB, free: 10.92 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.24e-06/0.006131, allocations: 4 kB / 0.5613 GB, free: 10.92 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.135e-06/0.006139, allocations: 4.188 kB / 0.5613 GB, free: 10.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.388e-06/0.006149, allocations: 4 kB / 0.5613 GB, free: 10.91 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.433e-05/0.006163, allocations: 7.984 kB / 0.5613 GB, free: 10.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.006166, allocations: 3.938 kB / 0.5613 GB, free: 10.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.729e-05/0.006193, allocations: 123.2 kB / 0.5614 GB, free: 10.78 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006193, allocations: 0 / 0.5614 GB, free: 10.78 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001732/0.006366, allocations: 55.8 kB / 0.5615 GB, free: 10.72 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.0001711/0.006537, allocations: 167.1 kB / 0.5616 GB, free: 10.55 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.835e-05/0.006606, allocations: 39.55 kB / 0.5617 GB, free: 10.51 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.22e-07/0.006607, allocations: 0 / 0.5617 GB, free: 10.51 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.448e-05/0.006621, allocations: 15.69 kB / 0.5617 GB, free: 10.49 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.58e-05/0.006717, allocations: 6.969 kB / 0.5617 GB, free: 10.48 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001917/0.006909, allocations: 134.2 kB / 0.5618 GB, free: 10.32 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.459e-05/0.006933, allocations: 51.38 kB / 0.5619 GB, free: 10.25 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.056e-05/0.006964, allocations: 15.98 kB / 0.5619 GB, free: 10.24 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.737e-05/0.007001, allocations: 78.2 kB / 0.562 GB, free: 10.16 MB / 490.7 MB Notification: Performance of SimCode: time 9.22e-07/0.007002, allocations: 0 / 0.562 GB, free: 10.16 MB / 490.7 MB Notification: Performance of Templates: time 0.002512/0.009514, allocations: 1.442 MB / 0.5634 GB, free: 8.719 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.6262399298138916]