Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.676/1.676, allocations: 285.6 MB / 293.1 MB, free: 10.16 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001074/0.001074, allocations: 176.9 kB / 361.4 MB, free: 6.805 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.676/1.676, allocations: 205.2 MB / 0.62 GB, free: 11.67 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008638/0.0008638, allocations: 98.52 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.002e-05/2.005e-05, allocations: 4 kB / 0.8517 GB, free: 2.754 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6911/0.6912, allocations: 115.3 MB / 0.9644 GB, free: 78.89 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.207/0.8983, allocations: 137.9 MB / 1.099 GB, free: 1.891 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/0.8986, allocations: 71.95 kB / 1.099 GB, free: 1.82 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003221/0.9018, allocations: 1.09 MB / 1.1 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.627e-06/0.9019, allocations: 0.5 kB / 1.1 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.795e-06/0.9019, allocations: 5.203 kB / 1.1 GB, free: 0.7539 MB / 0.698 GB 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.0003996/0.9023, allocations: 346.9 kB / 1.101 GB, free: 380 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.9023, allocations: 12.66 kB / 1.101 GB, free: 368 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.847e-05/0.9024, allocations: 2.281 kB / 1.101 GB, free: 368 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.9025, allocations: 174.9 kB / 1.101 GB, free: 152 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.9025, allocations: 0 / 1.101 GB, free: 152 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.9026, allocations: 6.719 kB / 1.101 GB, free: 148 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.595e-05/0.9027, allocations: 28.77 kB / 1.101 GB, free: 120 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.622e-05/0.9028, allocations: 49.19 kB / 1.101 GB, free: 68 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.9028, allocations: 3.938 kB / 1.101 GB, free: 64 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.9028, allocations: 0.9375 kB / 1.101 GB, free: 64 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.9028, allocations: 0 / 1.101 GB, free: 64 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004732/0.9033, allocations: 280 kB / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.433e-05/0.9034, allocations: 49.38 kB / 1.101 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.179e-05/0.9034, allocations: 25.67 kB / 1.101 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.9035, allocations: 5.562 kB / 1.101 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001566/0.9036, allocations: 67.39 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.9036, allocations: 0.5625 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0001865/0.9038, allocations: 78.19 kB / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.9039, allocations: 56.09 kB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.026e-05/0.904, allocations: 96.98 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.904, allocations: 26.23 kB / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.175e-05/0.9041, allocations: 88.86 kB / 1.102 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.112e-05/0.9041, allocations: 20.34 kB / 1.102 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/0.9041, allocations: 0 / 1.102 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.9043, allocations: 319.5 kB / 1.102 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.683e-05/0.9043, allocations: 16.52 kB / 1.102 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.893e-05/0.9044, allocations: 42.06 kB / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.318e-05/0.9045, allocations: 21.33 kB / 1.102 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.9045, allocations: 4 kB / 1.102 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001721/0.9047, allocations: 87.31 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.9047, allocations: 6.125 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.9047, allocations: 0 / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.9047, allocations: 4 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.535e-05/0.9048, allocations: 8 kB / 1.102 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.9048, allocations: 1.719 kB / 1.102 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.593e-05/0.9049, allocations: 17.52 kB / 1.102 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.9049, allocations: 8 kB / 1.102 GB, free: 14.66 MB / 0.7136 GB 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,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.596e-05/0.905, allocations: 113.9 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.365e-05/0.9051, allocations: 4 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.867e-05/0.9051, allocations: 8.406 kB / 1.102 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.9051, allocations: 4 kB / 1.102 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.9051, allocations: 3.984 kB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.9051, allocations: 0 / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004392/0.9056, allocations: 334.9 kB / 1.103 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.9056, allocations: 0 / 1.103 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.016e-05/0.9056, allocations: 7.984 kB / 1.103 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.9057, allocations: 0.8438 kB / 1.103 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.9057, allocations: 4 kB / 1.103 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.9057, allocations: 1.312 kB / 1.103 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.9057, allocations: 0 / 1.103 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001723/0.9059, allocations: 180.3 kB / 1.103 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.95e-05/0.9059, allocations: 81.09 kB / 1.103 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.906, allocations: 4 kB / 1.103 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.746e-05/0.906, allocations: 8 kB / 1.103 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.011e-05/0.9061, allocations: 7.984 kB / 1.103 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.633e-06/0.9061, allocations: 7.922 kB / 1.103 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.361e-05/0.9062, allocations: 85.16 kB / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9062, allocations: 4 kB / 1.103 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002475/0.9064, allocations: 13.41 kB / 1.103 GB, free: 13.73 MB / 0.7136 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000134/0.9066, allocations: 105.2 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001292/0.9067, allocations: 39.94 kB / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.9067, allocations: 4 kB / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.034e-05/0.9068, allocations: 20 kB / 1.103 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/0.907, allocations: 15.94 kB / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00036/0.9074, allocations: 113.3 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003513/0.9078, allocations: 0.6923 MB / 1.104 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.496e-05/0.9078, allocations: 4 kB / 1.104 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.99e-05/0.9078, allocations: 11.44 kB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of SimCode: time 4.41e-07/0.9078, allocations: 0 / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of Templates: time 0.002949/0.9108, allocations: 0.6348 MB / 1.105 GB, free: 12.09 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1)