Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.314/1.314, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001039/0.001039, allocations: 162.1 kB / 327.5 MB, free: 2.176 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.489/1.489, allocations: 205.4 MB / 0.5785 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000735/0.0007347, allocations: 92.02 kB / 0.6831 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003479/0.0003479, allocations: 15.53 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1786, allocations: 106.3 MB / 0.9012 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1486/0.3272, allocations: 132.4 MB / 1.031 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002174/0.3274, allocations: 75.95 kB / 1.031 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002957/0.3304, allocations: 1.111 MB / 1.032 GB, free: 9.945 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.834e-06/0.3304, allocations: 0 / 1.032 GB, free: 9.945 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.3305, allocations: 0 / 1.032 GB, free: 9.945 MB / 0.6823 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.0004256/0.3309, allocations: 355.5 kB / 1.032 GB, free: 9.547 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.3309, allocations: 8.031 kB / 1.032 GB, free: 9.539 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.832e-05/0.331, allocations: 12.84 kB / 1.032 GB, free: 9.527 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.3311, allocations: 164.3 kB / 1.032 GB, free: 9.328 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.3312, allocations: 4.375 kB / 1.032 GB, free: 9.324 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.3312, allocations: 12.31 kB / 1.032 GB, free: 9.312 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.3313, allocations: 54.23 kB / 1.032 GB, free: 9.254 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.3313, allocations: 4.188 kB / 1.032 GB, free: 9.25 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.3313, allocations: 7.938 kB / 1.032 GB, free: 9.242 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.3314, allocations: 0 / 1.032 GB, free: 9.242 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.652e-05/0.3314, allocations: 19.98 kB / 1.032 GB, free: 9.223 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004822/0.3319, allocations: 324.6 kB / 1.033 GB, free: 8.855 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.682e-05/0.332, allocations: 50.56 kB / 1.033 GB, free: 8.797 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.193e-05/0.3321, allocations: 20.95 kB / 1.033 GB, free: 8.773 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.078e-05/0.3321, allocations: 4 kB / 1.033 GB, free: 8.77 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001802/0.3323, allocations: 75.41 kB / 1.033 GB, free: 8.684 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=9): time 1.954e-06/0.3323, allocations: 0 / 1.033 GB, free: 8.684 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9): time 0.0002084/0.3325, allocations: 105.5 kB / 1.033 GB, free: 8.574 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.3325, allocations: 59.41 kB / 1.033 GB, free: 8.504 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.3327, allocations: 101.8 kB / 1.033 GB, free: 8.395 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.3327, allocations: 29.7 kB / 1.033 GB, free: 8.359 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.216e-05/0.3328, allocations: 88.14 kB / 1.033 GB, free: 8.27 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.3328, allocations: 19.72 kB / 1.033 GB, free: 8.25 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/0.3328, allocations: 0 / 1.033 GB, free: 8.25 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.3329, allocations: 330.7 kB / 1.033 GB, free: 7.918 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.643e-05/0.333, allocations: 15.98 kB / 1.033 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.846e-05/0.333, allocations: 41.22 kB / 1.034 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.007e-05/0.3331, allocations: 71.36 kB / 1.034 GB, free: 7.77 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3331, allocations: 0 / 1.034 GB, free: 7.77 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001345/0.3333, allocations: 97.45 kB / 1.034 GB, free: 7.668 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.3333, allocations: 4 kB / 1.034 GB, free: 7.664 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.3333, allocations: 4 kB / 1.034 GB, free: 7.66 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.3333, allocations: 0 / 1.034 GB, free: 7.66 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.889e-05/0.3334, allocations: 8 kB / 1.034 GB, free: 7.652 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.3334, allocations: 4 kB / 1.034 GB, free: 7.648 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.597e-05/0.3335, allocations: 19.95 kB / 1.034 GB, free: 7.629 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.3335, allocations: 4 kB / 1.034 GB, free: 7.625 MB / 0.6823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.637e-05/0.3336, allocations: 124.4 kB / 1.034 GB, free: 7.496 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.198e-05/0.3336, allocations: 4 kB / 1.034 GB, free: 7.492 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.859e-05/0.3336, allocations: 12.33 kB / 1.034 GB, free: 7.477 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.3336, allocations: 0 / 1.034 GB, free: 7.477 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3337, allocations: 0 / 1.034 GB, free: 7.477 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.3337, allocations: 4 kB / 1.034 GB, free: 7.473 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003482/0.334, allocations: 370.3 kB / 1.034 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.334, allocations: 0 / 1.034 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.921e-05/0.3341, allocations: 8 kB / 1.034 GB, free: 7.047 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3341, allocations: 64 / 1.034 GB, free: 7.047 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.3341, allocations: 4 kB / 1.034 GB, free: 7.043 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3341, allocations: 0 / 1.034 GB, free: 7.043 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.3341, allocations: 3.938 kB / 1.034 GB, free: 7.039 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001447/0.3343, allocations: 183.5 kB / 1.034 GB, free: 6.844 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.799e-05/0.3343, allocations: 85.3 kB / 1.034 GB, free: 6.742 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.3343, allocations: 3.984 kB / 1.034 GB, free: 6.738 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.966e-05/0.3344, allocations: 4 kB / 1.034 GB, free: 6.734 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.663e-05/0.3345, allocations: 27.78 kB / 1.035 GB, free: 6.707 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.3345, allocations: 4 kB / 1.035 GB, free: 6.703 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.884e-05/0.3345, allocations: 87.27 kB / 1.035 GB, free: 6.617 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3345, allocations: 0 / 1.035 GB, free: 6.617 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002123/0.3347, allocations: 16 kB / 1.035 GB, free: 6.602 MB / 0.6823 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 () * 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 (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 9.238e-05/0.3348, allocations: 96.23 kB / 1.035 GB, free: 6.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000122/0.335, allocations: 51.92 kB / 1.035 GB, free: 6.449 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.335, allocations: 0 / 1.035 GB, free: 6.449 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.429e-05/0.335, allocations: 27.92 kB / 1.035 GB, free: 6.422 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.3353, allocations: 14.67 kB / 1.035 GB, free: 6.41 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004064/0.3357, allocations: 184.5 kB / 1.035 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.336, allocations: 0.6887 MB / 1.036 GB, free: 5.484 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.003e-05/0.3361, allocations: 4 kB / 1.036 GB, free: 5.48 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.172e-05/0.3361, allocations: 11.44 kB / 1.036 GB, free: 5.469 MB / 0.6823 GB Notification: Performance of SimCode: time 3.81e-07/0.3361, allocations: 0 / 1.036 GB, free: 5.469 MB / 0.6823 GB Notification: Performance of Templates: time 0.003012/0.3391, allocations: 0.6627 MB / 1.036 GB, free: 4.812 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1)