Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.645/1.645, allocations: 285.4 MB / 298 MB, free: 5.969 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.001684/0.001684, allocations: 180.8 kB / 366.4 MB, free: 2.09 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.69/1.69, allocations: 205.1 MB / 0.6248 GB, free: 7.73 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.0009545/0.0009545, allocations: 98.52 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.595e-05/3.599e-05, allocations: 4 kB / 0.8583 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7755/0.7755, allocations: 115.3 MB / 0.9709 GB, free: 78.14 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2147/0.9903, allocations: 138.6 MB / 1.106 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/0.9906, allocations: 91.92 kB / 1.106 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.00541/0.996, allocations: 1.764 MB / 1.108 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.774e-06/0.9961, allocations: 0 / 1.108 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.704e-06/0.9961, allocations: 4 kB / 1.108 GB, free: 11.33 MB / 0.7136 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.0006387/0.9967, allocations: 424.9 kB / 1.109 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/0.9968, allocations: 12.03 kB / 1.109 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.194e-05/0.9968, allocations: 11.81 kB / 1.109 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001706/0.997, allocations: 184 kB / 1.109 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.997, allocations: 7.828 kB / 1.109 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.375e-05/0.9971, allocations: 12 kB / 1.109 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.9973, allocations: 90.72 kB / 1.109 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.9973, allocations: 2.812 kB / 1.109 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.9973, allocations: 4 kB / 1.109 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.9973, allocations: 0 / 1.109 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.9974, allocations: 48 kB / 1.109 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007913/0.9982, allocations: 420.5 kB / 1.109 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.9983, allocations: 46.58 kB / 1.109 GB, free: 9.965 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.262e-05/0.9984, allocations: 24.98 kB / 1.109 GB, free: 9.938 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.9984, allocations: 3.984 kB / 1.109 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.9984, allocations: 42.48 kB / 1.109 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 1.153e-06/0.9985, allocations: 0 / 1.109 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.0002024/0.9987, allocations: 65.61 kB / 1.109 GB, free: 9.812 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.9987, allocations: 59.39 kB / 1.109 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.9989, allocations: 131.3 kB / 1.11 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.9989, allocations: 33.7 kB / 1.11 GB, free: 9.566 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.965e-05/0.999, allocations: 104 kB / 1.11 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.008e-05/0.999, allocations: 11.8 kB / 1.11 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-06/0.999, allocations: 0 / 1.11 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.9991, allocations: 322.8 kB / 1.11 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.731e-05/0.9992, allocations: 24 kB / 1.11 GB, free: 9.102 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.155e-05/0.9992, allocations: 20 kB / 1.11 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.581e-05/0.9993, allocations: 15.98 kB / 1.11 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.9993, allocations: 0 / 1.11 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001396/0.9994, allocations: 85.48 kB / 1.11 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.9995, allocations: 5.406 kB / 1.11 GB, free: 8.973 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.9995, allocations: 0 / 1.11 GB, free: 8.973 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.9995, allocations: 0 / 1.11 GB, free: 8.973 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.9996, allocations: 8 kB / 1.11 GB, free: 8.965 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.9996, allocations: 3.984 kB / 1.11 GB, free: 8.961 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/0.9998, allocations: 39.97 kB / 1.11 GB, free: 8.922 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.9998, allocations: 0 / 1.11 GB, free: 8.922 MB / 0.7136 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 () * 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 7.583e-05/0.9999, allocations: 107.9 kB / 1.11 GB, free: 8.812 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.329e-05/0.9999, allocations: 14.81 kB / 1.11 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.241e-05/1, allocations: 16.09 kB / 1.11 GB, free: 8.785 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/1, allocations: 4 kB / 1.11 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/1, allocations: 0 / 1.11 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/1, allocations: 0 / 1.11 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/1, allocations: 205.4 kB / 1.111 GB, free: 8.531 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-06/1, allocations: 0 / 1.111 GB, free: 8.531 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.99e-05/1, allocations: 11.98 kB / 1.111 GB, free: 8.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/1, allocations: 3.953 kB / 1.111 GB, free: 8.516 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/1, allocations: 7.875 kB / 1.111 GB, free: 8.512 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/1, allocations: 0 / 1.111 GB, free: 8.512 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/1, allocations: 3.984 kB / 1.111 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001744/1.001, allocations: 167.5 kB / 1.111 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.569e-05/1.001, allocations: 85.02 kB / 1.111 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/1.001, allocations: 3.953 kB / 1.111 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/1.001, allocations: 35.97 kB / 1.111 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.493e-05/1.001, allocations: 11.97 kB / 1.111 GB, free: 8.176 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/1.001, allocations: 8 kB / 1.111 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.224e-05/1.001, allocations: 109.9 kB / 1.111 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.41e-07/1.001, allocations: 3.938 kB / 1.111 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002142/1.001, allocations: 19.94 kB / 1.111 GB, free: 8.039 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: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * 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.0001324/1.001, allocations: 101.4 kB / 1.111 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001309/1.001, allocations: 51.98 kB / 1.111 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/1.001, allocations: 0 / 1.111 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.229e-05/1.002, allocations: 23.94 kB / 1.111 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001976/1.002, allocations: 10.3 kB / 1.111 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003187/1.002, allocations: 124 kB / 1.111 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/1.002, allocations: 0.7004 MB / 1.112 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.736e-05/1.002, allocations: 9.219 kB / 1.112 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.462e-05/1.002, allocations: 11.42 kB / 1.112 GB, free: 6.965 MB / 0.7136 GB Notification: Performance of SimCode: time 3.11e-07/1.002, allocations: 0 / 1.112 GB, free: 6.965 MB / 0.7136 GB Notification: Performance of Templates: time 0.003353/1.006, allocations: 1.085 MB / 1.113 GB, free: 5.93 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1)