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.001068/0.001068, allocations: 93.06 kB / 19.65 MB, free: 276 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.001336/0.001336, 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.098/1.098, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.001724/0.001724, allocations: 241.8 kB / 260.2 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 0.763/0.763, allocations: 138.4 MB / 455.1 MB, free: 29.95 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 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.913e-06/1.913e-06, allocations: 0 / 0.555 GB, free: 216 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.69e-05/2.881e-05, allocations: 6.109 kB / 0.555 GB, free: 212 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap): time 0.001867/0.001896, allocations: 1.302 MB / 0.5563 GB, free: 14.88 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.003035, allocations: 0.8994 MB / 0.5572 GB, free: 13.98 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.245e-05/0.003067, allocations: 4 kB / 0.5572 GB, free: 13.98 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.772e-05/0.003095, allocations: 7.922 kB / 0.5572 GB, free: 13.97 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.099e-05/0.003136, allocations: 7.938 kB / 0.5572 GB, free: 13.96 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004475/0.003584, allocations: 143.4 kB / 0.5574 GB, free: 13.82 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.191e-05/0.003656, allocations: 27.91 kB / 0.5574 GB, free: 13.79 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.109e-05/0.003697, allocations: 0 / 0.5574 GB, free: 13.79 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001533/0.00385, allocations: 27.86 kB / 0.5574 GB, free: 13.77 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.004e-05/0.00391, allocations: 19.97 kB / 0.5574 GB, free: 13.75 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.003928, allocations: 0 / 0.5574 GB, free: 13.75 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000242/0.00417, allocations: 155.8 kB / 0.5576 GB, free: 13.59 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.463e-05/0.004185, allocations: 4 kB / 0.5576 GB, free: 13.59 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.669e-05/0.004211, allocations: 19.91 kB / 0.5576 GB, free: 13.57 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002308/0.004442, allocations: 155.5 kB / 0.5577 GB, free: 13.42 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.004446, allocations: 0 / 0.5577 GB, free: 13.42 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.004447, allocations: 0 / 0.5577 GB, free: 13.42 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.373e-06/0.004455, allocations: 0 / 0.5577 GB, free: 13.42 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.0004487/0.004903, allocations: 388 kB / 0.5581 GB, free: 13 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.004954, allocations: 13.94 kB / 0.5581 GB, free: 12.99 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001289/0.005083, allocations: 21.16 kB / 0.5581 GB, free: 12.97 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.005193, allocations: 112.6 kB / 0.5583 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.00521, allocations: 384 / 0.5583 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.005225, allocations: 4.375 kB / 0.5583 GB, free: 12.83 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.00534, allocations: 46.19 kB / 0.5583 GB, free: 12.78 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.005357, allocations: 192 / 0.5583 GB, free: 12.78 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.005371, allocations: 4.375 kB / 0.5583 GB, free: 12.78 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.005383, allocations: 3.938 kB / 0.5583 GB, free: 12.77 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.563e-05/0.005439, allocations: 23.97 kB / 0.5583 GB, free: 12.75 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001555/0.005594, allocations: 108.6 kB / 0.5584 GB, free: 12.61 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.28e-05/0.005657, allocations: 47.11 kB / 0.5585 GB, free: 12.55 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.572e-05/0.005683, allocations: 19.81 kB / 0.5585 GB, free: 12.53 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000114/0.005797, allocations: 7.984 kB / 0.5585 GB, free: 12.52 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.005821, allocations: 41.33 kB / 0.5586 GB, free: 12.47 MB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.005822, allocations: 0 / 0.5586 GB, free: 12.47 MB / 490.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001736/0.005995, allocations: 57.69 kB / 0.5586 GB, free: 12.41 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.006027, allocations: 59.34 kB / 0.5587 GB, free: 12.34 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.458e-05/0.006102, allocations: 149.9 kB / 0.5588 GB, free: 12.17 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.006113, allocations: 25.7 kB / 0.5588 GB, free: 12.14 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.486e-05/0.006148, allocations: 135 kB / 0.559 GB, free: 12 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.278e-05/0.006181, allocations: 23.78 kB / 0.559 GB, free: 11.98 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.081e-05/0.006212, allocations: 23.38 kB / 0.559 GB, free: 11.95 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.006341, allocations: 496.1 kB / 0.5595 GB, free: 11.45 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.237e-05/0.006363, allocations: 7.984 kB / 0.5595 GB, free: 11.45 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.438e-05/0.006378, allocations: 11.94 kB / 0.5595 GB, free: 11.43 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.163e-05/0.006419, allocations: 19.69 kB / 0.5595 GB, free: 11.41 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.006422, allocations: 4 kB / 0.5595 GB, free: 11.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.407e-05/0.006496, allocations: 49.69 kB / 0.5596 GB, free: 11.35 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.006509, allocations: 4 kB / 0.5596 GB, free: 11.35 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.006513, allocations: 0 / 0.5596 GB, free: 11.35 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.006534, allocations: 8.438 kB / 0.5596 GB, free: 11.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.862e-05/0.006622, allocations: 7.984 kB / 0.5596 GB, free: 11.33 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.00663, allocations: 11.88 kB / 0.5596 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.473e-05/0.006645, allocations: 4 kB / 0.5596 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-06/0.006652, allocations: 4 kB / 0.5596 GB, free: 11.31 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 6.909e-05/0.006721, allocations: 160.5 kB / 0.5598 GB, free: 11.14 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.466e-06/0.006729, allocations: 3.953 kB / 0.5598 GB, free: 11.14 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001594/0.006889, allocations: 85.47 kB / 0.5598 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.00689, allocations: 0 / 0.5598 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.006896, allocations: 3.938 kB / 0.5598 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.0069, allocations: 0 / 0.5598 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.484e-05/0.006984, allocations: 120.6 kB / 0.56 GB, free: 10.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.006986, allocations: 0 / 0.56 GB, free: 10.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.548e-05/0.007022, allocations: 11.94 kB / 0.56 GB, free: 10.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.007025, allocations: 0 / 0.56 GB, free: 10.89 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.007034, allocations: 4 kB / 0.56 GB, free: 10.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.007036, allocations: 0 / 0.56 GB, free: 10.88 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.007037, allocations: 0 / 0.56 GB, free: 10.88 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000108/0.007145, allocations: 104.4 kB / 0.5601 GB, free: 10.76 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.155e-06/0.007153, allocations: 3.953 kB / 0.5601 GB, free: 10.75 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.007166, allocations: 4 kB / 0.5601 GB, free: 10.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.001e-05/0.007176, allocations: 4 kB / 0.5601 GB, free: 10.75 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.162e-05/0.007198, allocations: 3.984 kB / 0.5601 GB, free: 10.74 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.007208, allocations: 7.938 kB / 0.5601 GB, free: 10.73 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.176e-05/0.00725, allocations: 119.2 kB / 0.5602 GB, free: 10.62 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00725, allocations: 0 / 0.5602 GB, free: 10.62 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002222/0.007472, allocations: 51.81 kB / 0.5603 GB, free: 10.57 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.0002462/0.007718, allocations: 175 kB / 0.5604 GB, free: 10.39 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001047/0.007823, allocations: 31.67 kB / 0.5605 GB, free: 10.35 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.007825, allocations: 0 / 0.5605 GB, free: 10.35 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.207e-05/0.007847, allocations: 23.92 kB / 0.5605 GB, free: 10.32 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001276/0.007975, allocations: 8.062 kB / 0.5605 GB, free: 10.32 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003299/0.008304, allocations: 138.3 kB / 0.5606 GB, free: 10.15 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.077e-05/0.008345, allocations: 63.22 kB / 0.5607 GB, free: 10.07 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.008e-05/0.008385, allocations: 12 kB / 0.5607 GB, free: 10.06 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.775e-05/0.008413, allocations: 12.5 kB / 0.5607 GB, free: 10.05 MB / 490.7 MB Notification: Performance of SimCode: time 9.32e-07/0.008414, allocations: 0 / 0.5607 GB, free: 10.05 MB / 490.7 MB Notification: Performance of Templates: time 0.003251/0.01166, allocations: 1.261 MB / 0.5619 GB, free: 8.797 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: 4.087136177811772]