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.00104/0.00104, allocations: 77.09 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.0009017/0.0009017, allocations: 169 kB / 24.05 MB, free: 460 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 0.8824/0.8824, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.002665/0.002665, allocations: 232.8 kB / 261.3 MB, free: 12.68 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.6902/0.6902, allocations: 138.4 MB / 456.3 MB, free: 1.418 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.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.483e-06/1.483e-06, allocations: 0 / 0.5563 GB, free: 324 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.209e-05/1.358e-05, allocations: 2.312 kB / 0.5563 GB, free: 320 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.OffTimer): time 0.002606/0.002619, allocations: 1.517 MB / 0.5578 GB, free: 14.78 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007664/0.003386, allocations: 462.8 kB / 0.5582 GB, free: 14.32 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.204e-05/0.003428, allocations: 4 kB / 0.5582 GB, free: 14.32 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.142e-05/0.003459, allocations: 7.922 kB / 0.5583 GB, free: 14.31 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.03e-05/0.00354, allocations: 7.875 kB / 0.5583 GB, free: 14.3 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001345/0.003674, allocations: 23.91 kB / 0.5583 GB, free: 14.28 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.469e-05/0.003759, allocations: 51.84 kB / 0.5583 GB, free: 14.23 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.783e-05/0.003847, allocations: 11.98 kB / 0.5583 GB, free: 14.22 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.084e-05/0.003917, allocations: 35.91 kB / 0.5584 GB, free: 14.18 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.966e-05/0.003977, allocations: 15.97 kB / 0.5584 GB, free: 14.17 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.003996, allocations: 4 kB / 0.5584 GB, free: 14.16 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.027e-05/0.004007, allocations: 4 kB / 0.5584 GB, free: 14.16 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.345e-05/0.00403, allocations: 11.94 kB / 0.5584 GB, free: 14.15 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.349e-05/0.004064, allocations: 19.97 kB / 0.5584 GB, free: 14.13 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.341e-05/0.004157, allocations: 31.84 kB / 0.5585 GB, free: 14.1 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.004159, allocations: 0 / 0.5585 GB, free: 14.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.00416, allocations: 0 / 0.5585 GB, free: 14.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.086e-06/0.004163, allocations: 0 / 0.5585 GB, free: 14.1 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000387/0.00455, allocations: 384.5 kB / 0.5588 GB, free: 13.69 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.004586, allocations: 12.75 kB / 0.5588 GB, free: 13.68 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.587e-05/0.004622, allocations: 12.89 kB / 0.5589 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.976e-05/0.004711, allocations: 116.5 kB / 0.559 GB, free: 13.52 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.004722, allocations: 384 / 0.559 GB, free: 13.52 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.004734, allocations: 12.36 kB / 0.559 GB, free: 13.51 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.917e-05/0.004814, allocations: 42.25 kB / 0.559 GB, free: 13.46 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.004823, allocations: 4.172 kB / 0.559 GB, free: 13.46 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.004832, allocations: 4.375 kB / 0.559 GB, free: 13.46 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.00484, allocations: 7.938 kB / 0.559 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.578e-05/0.004876, allocations: 15.92 kB / 0.559 GB, free: 13.43 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003406/0.005216, allocations: 268.3 kB / 0.5593 GB, free: 13.14 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.054e-05/0.005307, allocations: 59 kB / 0.5594 GB, free: 13.07 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.994e-05/0.005337, allocations: 19.7 kB / 0.5594 GB, free: 13.05 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.142e-06/0.005343, allocations: 0 / 0.5594 GB, free: 13.05 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001075/0.00545, allocations: 77.03 kB / 0.5595 GB, free: 12.96 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.005452, allocations: 0 / 0.5595 GB, free: 12.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001823/0.005634, allocations: 89.56 kB / 0.5595 GB, free: 12.87 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.005673, allocations: 55.34 kB / 0.5596 GB, free: 12.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.24e-05/0.005756, allocations: 169.9 kB / 0.5598 GB, free: 12.62 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.005772, allocations: 25.7 kB / 0.5598 GB, free: 12.59 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.669e-05/0.005829, allocations: 138.8 kB / 0.5599 GB, free: 12.45 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.005858, allocations: 27.77 kB / 0.5599 GB, free: 12.42 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.959e-05/0.005908, allocations: 35.36 kB / 0.56 GB, free: 12.38 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.006045, allocations: 496.1 kB / 0.5604 GB, free: 11.88 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.202e-05/0.006067, allocations: 8 kB / 0.5605 GB, free: 11.87 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.711e-05/0.006114, allocations: 46.72 kB / 0.5605 GB, free: 11.81 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.367e-05/0.006188, allocations: 62.67 kB / 0.5606 GB, free: 11.73 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.00619, allocations: 0 / 0.5606 GB, free: 11.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001279/0.006318, allocations: 89.55 kB / 0.5606 GB, free: 11.64 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.006331, allocations: 8 kB / 0.5606 GB, free: 11.63 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.006337, allocations: 4.047 kB / 0.5607 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.187e-06/0.006346, allocations: 4 kB / 0.5607 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.647e-05/0.006412, allocations: 15.94 kB / 0.5607 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.006417, allocations: 4 kB / 0.5607 GB, free: 11.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.164e-05/0.006468, allocations: 11.94 kB / 0.5607 GB, free: 11.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.006476, allocations: 4 kB / 0.5607 GB, free: 11.59 MB / 490.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 8.413e-05/0.00656, allocations: 160.8 kB / 0.5608 GB, free: 11.42 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.821e-05/0.006578, allocations: 19.97 kB / 0.5609 GB, free: 11.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.317e-05/0.006601, allocations: 12.11 kB / 0.5609 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.006604, allocations: 0 / 0.5609 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.006605, allocations: 3.938 kB / 0.5609 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.00661, allocations: 7.922 kB / 0.5609 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003189/0.006929, allocations: 317.9 kB / 0.5612 GB, free: 11.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.00693, allocations: 0 / 0.5612 GB, free: 11.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.246e-05/0.006953, allocations: 7.984 kB / 0.5612 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.006956, allocations: 0 / 0.5612 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.006963, allocations: 4 kB / 0.5612 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.006964, allocations: 0 / 0.5612 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.006965, allocations: 4 kB / 0.5612 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001561/0.007121, allocations: 228.2 kB / 0.5614 GB, free: 10.78 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.106e-05/0.007142, allocations: 15.89 kB / 0.5614 GB, free: 10.76 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.007154, allocations: 0 / 0.5614 GB, free: 10.76 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.707e-05/0.007221, allocations: 4 kB / 0.5614 GB, free: 10.76 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.18e-05/0.007253, allocations: 3.984 kB / 0.5614 GB, free: 10.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.007261, allocations: 8 kB / 0.5615 GB, free: 10.75 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.548e-05/0.007306, allocations: 131.2 kB / 0.5616 GB, free: 10.62 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.007306, allocations: 0 / 0.5616 GB, free: 10.62 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002738/0.00758, allocations: 12 kB / 0.5616 GB, free: 10.61 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: 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 7.572e-05/0.007656, allocations: 99.25 kB / 0.5617 GB, free: 10.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.941e-05/0.007755, allocations: 51.53 kB / 0.5617 GB, free: 10.45 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.007757, allocations: 0 / 0.5617 GB, free: 10.45 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.229e-05/0.007799, allocations: 23.67 kB / 0.5618 GB, free: 10.42 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.008089, allocations: 18.67 kB / 0.5618 GB, free: 10.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000289/0.008378, allocations: 166 kB / 0.5619 GB, free: 10.21 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.933e-05/0.008417, allocations: 59.36 kB / 0.562 GB, free: 10.13 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.113e-05/0.008448, allocations: 15.98 kB / 0.562 GB, free: 10.12 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.645e-05/0.008515, allocations: 74.2 kB / 0.5621 GB, free: 10.04 MB / 490.7 MB Notification: Performance of SimCode: time 5.51e-07/0.008515, allocations: 0 / 0.5621 GB, free: 10.04 MB / 490.7 MB Notification: Performance of Templates: time 0.003086/0.0116, allocations: 0.9445 MB / 0.563 GB, free: 9.117 MB / 490.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.297536408994347]