Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.657/1.657, allocations: 292.6 MB / 307.6 MB, free: 5.18 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.001319/0.00132, allocations: 187.9 kB / 377.1 MB, free: 1.516 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.74/1.74, allocations: 205.4 MB / 0.6367 GB, free: 8.637 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.0009809/0.0009801, allocations: 90.17 kB / 0.751 GB, free: 62.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003595/0.0003596, allocations: 8 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2857, allocations: 116.3 MB / 0.9884 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7824/1.068, allocations: 139.7 MB / 1.125 GB, free: 35.12 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/1.068, allocations: 92.92 kB / 1.125 GB, free: 35.04 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.004738/1.073, allocations: 1.762 MB / 1.127 GB, free: 33.77 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.414e-06/1.073, allocations: 4 kB / 1.127 GB, free: 33.77 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.806e-06/1.073, allocations: 4 kB / 1.127 GB, free: 33.77 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006211/1.074, allocations: 436.6 kB / 1.127 GB, free: 33.32 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/1.074, allocations: 8.578 kB / 1.127 GB, free: 33.31 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.021e-05/1.074, allocations: 10.53 kB / 1.127 GB, free: 33.3 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/1.074, allocations: 186 kB / 1.127 GB, free: 33.09 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/1.074, allocations: 8 kB / 1.127 GB, free: 33.08 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/1.074, allocations: 5.125 kB / 1.127 GB, free: 33.07 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/1.074, allocations: 103.1 kB / 1.127 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/1.074, allocations: 0 / 1.127 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/1.075, allocations: 4 kB / 1.127 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/1.075, allocations: 4 kB / 1.127 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/1.075, allocations: 70.86 kB / 1.127 GB, free: 32.92 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006636/1.075, allocations: 420.6 kB / 1.128 GB, free: 32.52 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/1.076, allocations: 61.61 kB / 1.128 GB, free: 32.45 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/1.076, allocations: 0.5156 kB / 1.128 GB, free: 32.45 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/1.076, allocations: 34.56 kB / 1.128 GB, free: 32.41 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=5): time 1.442e-06/1.076, allocations: 0 / 1.128 GB, free: 32.41 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5): time 0.0003515/1.076, allocations: 128.2 kB / 1.128 GB, free: 32.29 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/1.076, allocations: 59.41 kB / 1.128 GB, free: 32.22 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/1.076, allocations: 136 kB / 1.128 GB, free: 32.09 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/1.076, allocations: 29.7 kB / 1.128 GB, free: 32.05 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.264e-05/1.076, allocations: 104.2 kB / 1.128 GB, free: 31.95 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.756e-05/1.076, allocations: 15.83 kB / 1.128 GB, free: 31.94 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.152e-06/1.076, allocations: 0 / 1.128 GB, free: 31.94 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.013e-05/1.076, allocations: 322.3 kB / 1.129 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.554e-05/1.076, allocations: 38.94 kB / 1.129 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.942e-05/1.076, allocations: 35.44 kB / 1.129 GB, free: 31.56 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.847e-05/1.077, allocations: 24.53 kB / 1.129 GB, free: 31.54 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/1.077, allocations: 0 / 1.129 GB, free: 31.54 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001919/1.077, allocations: 112.6 kB / 1.129 GB, free: 31.43 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/1.077, allocations: 4.938 kB / 1.129 GB, free: 31.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/1.077, allocations: 4 kB / 1.129 GB, free: 31.43 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/1.077, allocations: 1.156 kB / 1.129 GB, free: 31.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.936e-05/1.077, allocations: 11.47 kB / 1.129 GB, free: 31.42 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/1.077, allocations: 0.8438 kB / 1.129 GB, free: 31.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/1.077, allocations: 38.84 kB / 1.129 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/1.077, allocations: 0.5 kB / 1.129 GB, free: 31.39 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onSys,$PRE.conSysSta.onTOut.y,conSysSta.onTOut.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTRoo.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.065e-05/1.077, allocations: 121.3 kB / 1.129 GB, free: 31.26 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.821e-05/1.077, allocations: 11.86 kB / 1.129 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.758e-05/1.077, allocations: 17.2 kB / 1.129 GB, free: 31.24 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/1.077, allocations: 4 kB / 1.129 GB, free: 31.23 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/1.077, allocations: 0 / 1.129 GB, free: 31.23 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/1.077, allocations: 0.5 kB / 1.129 GB, free: 31.23 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001521/1.077, allocations: 203.2 kB / 1.129 GB, free: 31.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/1.077, allocations: 0 / 1.129 GB, free: 31.01 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.363e-05/1.078, allocations: 12.19 kB / 1.129 GB, free: 31 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/1.078, allocations: 7.953 kB / 1.129 GB, free: 30.99 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/1.078, allocations: 4 kB / 1.129 GB, free: 30.99 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/1.078, allocations: 0.7812 kB / 1.129 GB, free: 30.99 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/1.078, allocations: 5.062 kB / 1.129 GB, free: 30.98 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002076/1.078, allocations: 186.1 kB / 1.129 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.911e-05/1.078, allocations: 89.58 kB / 1.13 GB, free: 30.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/1.078, allocations: 3.953 kB / 1.13 GB, free: 30.69 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001841/1.078, allocations: 30.98 kB / 1.13 GB, free: 30.67 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.35e-05/1.078, allocations: 19.83 kB / 1.13 GB, free: 30.66 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/1.078, allocations: 3.562 kB / 1.13 GB, free: 30.66 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.852e-05/1.078, allocations: 117.4 kB / 1.13 GB, free: 30.55 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/1.078, allocations: 7.938 kB / 1.13 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002079/1.078, allocations: 12 kB / 1.13 GB, free: 30.53 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0001005/1.079, allocations: 100.8 kB / 1.13 GB, free: 30.43 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002071/1.079, allocations: 74.45 kB / 1.13 GB, free: 30.36 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.079, allocations: 4.219 kB / 1.13 GB, free: 30.36 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.251e-05/1.079, allocations: 35.95 kB / 1.13 GB, free: 30.33 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002232/1.079, allocations: 11.06 kB / 1.13 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000415/1.08, allocations: 236.8 kB / 1.13 GB, free: 30.09 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001508/1.08, allocations: 0.7033 MB / 1.131 GB, free: 29.38 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.29e-05/1.08, allocations: 8.797 kB / 1.131 GB, free: 29.37 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.475e-05/1.08, allocations: 10.91 kB / 1.131 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of SimCode: time 2.1e-07/1.08, allocations: 0 / 1.131 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of Templates: time 0.003155/1.083, allocations: 1.066 MB / 1.132 GB, free: 28.79 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (rm -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1)