Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.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.001021/0.001021, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00109/0.002111, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001093/0.001093, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001354/0.002447, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.8826/0.8826, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07787/0.9605, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001413/0.001413, allocations: 236.4 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001136/0.002549, allocations: 459.6 kB / 244.6 MB, free: 14.19 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6443/0.6443, allocations: 138.7 MB / 384.1 MB, free: 480 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07337/0.7177, allocations: 42.4 MB / 426.5 MB, free: 5.949 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer") translateModel(BuildingSystems.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 427.7 MB, free: 4.68 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.034e-05/1.161e-05, allocations: 2.312 kB / 427.7 MB, free: 4.676 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.OffTimer): time 0.001623/0.001635, allocations: 1.568 MB / 429.3 MB, free: 3.094 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005569/0.002192, allocations: 478.6 kB / 429.8 MB, free: 2.621 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.984e-05/0.002221, allocations: 0 / 429.8 MB, free: 2.621 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.17e-05/0.002243, allocations: 3.938 kB / 429.8 MB, free: 2.617 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.019e-05/0.002283, allocations: 15.92 kB / 429.8 MB, free: 2.602 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.706e-05/0.00235, allocations: 23.84 kB / 429.8 MB, free: 2.578 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.614e-05/0.002417, allocations: 47.86 kB / 429.9 MB, free: 2.531 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.349e-05/0.00249, allocations: 15.98 kB / 429.9 MB, free: 2.516 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.262e-05/0.002553, allocations: 31.91 kB / 429.9 MB, free: 2.484 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.435e-05/0.002607, allocations: 23.91 kB / 429.9 MB, free: 2.461 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.002626, allocations: 4 kB / 429.9 MB, free: 2.457 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.907e-06/0.002635, allocations: 4 kB / 429.9 MB, free: 2.453 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.455e-05/0.002649, allocations: 7.938 kB / 430 MB, free: 2.445 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.484e-05/0.002674, allocations: 12 kB / 430 MB, free: 2.434 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 7.792e-05/0.002752, allocations: 35.84 kB / 430 MB, free: 2.398 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.208e-05/0.002764, allocations: 3.984 kB / 430 MB, free: 2.395 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.002765, allocations: 0 / 430 MB, free: 2.395 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.002775, allocations: 0 / 430 MB, free: 2.395 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003256/0.003101, allocations: 264.6 kB / 430.3 MB, free: 2.113 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.683e-05/0.003128, allocations: 11.98 kB / 430.3 MB, free: 2.102 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.585e-05/0.003154, allocations: 8.922 kB / 430.3 MB, free: 2.094 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.763e-05/0.003221, allocations: 113.8 kB / 430.4 MB, free: 1.957 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.415e-06/0.00323, allocations: 4.375 kB / 430.4 MB, free: 1.953 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/0.003239, allocations: 8.312 kB / 430.4 MB, free: 1.945 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.018e-05/0.003299, allocations: 50.17 kB / 430.5 MB, free: 1.891 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.231e-06/0.003305, allocations: 4.172 kB / 430.5 MB, free: 1.887 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.891e-06/0.003311, allocations: 384 / 430.5 MB, free: 1.887 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.003316, allocations: 7.938 kB / 430.5 MB, free: 1.879 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.562e-05/0.003342, allocations: 19.98 kB / 430.5 MB, free: 1.859 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002151/0.003557, allocations: 184.2 kB / 430.7 MB, free: 1.664 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.566e-05/0.003613, allocations: 34.56 kB / 430.7 MB, free: 1.621 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.958e-05/0.003632, allocations: 16.84 kB / 430.7 MB, free: 1.602 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.872e-06/0.003639, allocations: 4 kB / 430.7 MB, free: 1.598 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.754e-05/0.003727, allocations: 75.3 kB / 430.8 MB, free: 1.512 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.003728, allocations: 0 / 430.8 MB, free: 1.512 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001008/0.003829, allocations: 65.61 kB / 430.9 MB, free: 1.441 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.003863, allocations: 59.41 kB / 430.9 MB, free: 1.371 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.663e-05/0.00391, allocations: 110.6 kB / 431 MB, free: 1.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.003923, allocations: 33.7 kB / 431.1 MB, free: 1.211 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.615e-05/0.003949, allocations: 80.14 kB / 431.1 MB, free: 1.129 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.003968, allocations: 27.83 kB / 431.2 MB, free: 1.102 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.993e-05/0.003998, allocations: 25.7 kB / 431.2 MB, free: 1.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.244e-05/0.00406, allocations: 322.8 kB / 431.5 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.588e-06/0.00407, allocations: 4 kB / 431.5 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.327e-05/0.004093, allocations: 35.42 kB / 431.5 MB, free: 0.6953 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.833e-05/0.004142, allocations: 59.33 kB / 431.6 MB, free: 0.625 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.004143, allocations: 4 kB / 431.6 MB, free: 0.6211 MB / 410.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 6.46e-05/0.004208, allocations: 73.48 kB / 431.7 MB, free: 0.543 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/0.004218, allocations: 4 kB / 431.7 MB, free: 0.5391 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.004222, allocations: 4 kB / 431.7 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.703e-06/0.004229, allocations: 0 / 431.7 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.98e-05/0.004279, allocations: 20 kB / 431.7 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.004283, allocations: 3.984 kB / 431.7 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.932e-05/0.004312, allocations: 11.89 kB / 431.7 MB, free: 0.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.004317, allocations: 4 kB / 431.7 MB, free: 0.4961 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.432e-05/0.004371, allocations: 122.1 kB / 431.8 MB, free: 376 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.906e-06/0.00438, allocations: 11.92 kB / 431.9 MB, free: 364 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.864e-05/0.004398, allocations: 12.11 kB / 431.9 MB, free: 356 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.0044, allocations: 0 / 431.9 MB, free: 356 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.004402, allocations: 0 / 431.9 MB, free: 356 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.004404, allocations: 0 / 431.9 MB, free: 356 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.004581, allocations: 222.8 kB / 432.1 MB, free: 108 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.004583, allocations: 8 kB / 432.1 MB, free: 100 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.318e-05/0.004596, allocations: 8 kB / 432.1 MB, free: 92 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.292e-06/0.004603, allocations: 3.953 kB / 432.1 MB, free: 88 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.004606, allocations: 7.984 kB / 432.1 MB, free: 80 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.228e-06/0.00461, allocations: 7.938 kB / 432.1 MB, free: 72 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.004611, allocations: 0 / 432.1 MB, free: 72 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.004611, allocations: 0 / 432.1 MB, free: 72 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1694/0.174, allocations: 152.7 kB / 432.3 MB, free: 2.566 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.174, allocations: 4.594 kB / 432.3 MB, free: 2.566 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.941e-05/0.174, allocations: 4.172 kB / 432.3 MB, free: 2.566 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.24e-05/0.1741, allocations: 6.297 kB / 432.3 MB, free: 2.566 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.1741, allocations: 3.344 kB / 432.3 MB, free: 2.566 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.664e-05/0.1741, allocations: 9.234 kB / 432.3 MB, free: 2.559 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1741, allocations: 0.8125 kB / 432.3 MB, free: 2.559 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001424/0.1742, allocations: 16.95 kB / 432.3 MB, free: 2.559 MB / 410.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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 8.294e-05/0.1743, allocations: 80.17 kB / 432.4 MB, free: 2.492 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.435e-05/0.1744, allocations: 44.89 kB / 432.4 MB, free: 2.484 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/0.1744, allocations: 2.969 kB / 432.4 MB, free: 2.484 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.212e-05/0.1745, allocations: 23.45 kB / 432.5 MB, free: 2.477 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001493/0.1746, allocations: 26.06 kB / 432.5 MB, free: 2.477 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003671/0.175, allocations: 155.5 kB / 432.6 MB, free: 2.363 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.326e-05/0.175, allocations: 61.84 kB / 432.7 MB, free: 2.293 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.361e-05/0.175, allocations: 5.344 kB / 432.7 MB, free: 2.293 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.587e-05/0.1751, allocations: 60.08 kB / 432.8 MB, free: 2.25 MB / 410.7 MB Notification: Performance of SimCode: time 9.62e-07/0.1751, allocations: 0 / 432.8 MB, free: 2.25 MB / 410.7 MB Notification: Performance of Templates: time 0.00217/0.1772, allocations: 0.85 MB / 433.6 MB, free: 2.227 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.083873520605266]