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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 104.2 kB / 16.36 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 188.7 kB / 17.29 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.486/1.486, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.8/1.8, allocations: 292.3 MB / 0.5496 GB, free: 17.68 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 67.91 kB / 0.6729 GB, free: 5.82 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2455, allocations: 114.6 MB / 0.7848 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002423/0.248, allocations: 0.8841 MB / 0.7857 GB, free: 2.262 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001204/0.2492, allocations: 0.8632 MB / 0.7865 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.696e-05/0.2493, allocations: 0 / 0.7865 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 5.404e-05/0.2495, allocations: 15.86 kB / 0.7865 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.2496, allocations: 19.8 kB / 0.7865 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002164/0.2498, allocations: 35.95 kB / 0.7866 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.25, allocations: 107.6 kB / 0.7867 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001625/0.2501, allocations: 41.09 kB / 0.7867 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.2503, allocations: 47.84 kB / 0.7868 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.2504, allocations: 55.75 kB / 0.7868 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.264e-05/0.2504, allocations: 12 kB / 0.7868 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 2.115e-05/0.2505, allocations: 8 kB / 0.7868 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.338e-05/0.2505, allocations: 23.92 kB / 0.7868 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.739e-05/0.2506, allocations: 43.73 kB / 0.7869 GB, free: 0.9805 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.2508, allocations: 143.4 kB / 0.787 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.2508, allocations: 0 / 0.787 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.254e-06/0.2508, allocations: 0 / 0.787 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.412e-05/0.2508, allocations: 0 / 0.787 GB, free: 0.8398 MB / 0.6544 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.0009325/0.2517, allocations: 459 kB / 0.7875 GB, free: 348 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.2518, allocations: 8.031 kB / 0.7875 GB, free: 340 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.112e-05/0.2518, allocations: 8.844 kB / 0.7875 GB, free: 332 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.252, allocations: 183 kB / 0.7877 GB, free: 112 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.252, allocations: 16.25 kB / 0.7877 GB, free: 96 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.2521, allocations: 4.375 kB / 0.7877 GB, free: 92 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4258/0.6778, allocations: 98.14 kB / 0.7878 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/0.6779, allocations: 5 kB / 0.7878 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.643e-05/0.678, allocations: 5.031 kB / 0.7878 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.678, allocations: 0 / 0.7878 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002727/0.6783, allocations: 63.66 kB / 0.7878 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009078/0.6792, allocations: 411.3 kB / 0.7882 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.6794, allocations: 58.61 kB / 0.7883 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.736e-05/0.6795, allocations: 34.3 kB / 0.7883 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/0.6795, allocations: 0.5 kB / 0.7883 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.6795, allocations: 34.56 kB / 0.7884 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=5): time 1.653e-06/0.6795, allocations: 0 / 0.7884 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5): time 0.0003983/0.6799, allocations: 118.8 kB / 0.7885 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.68, allocations: 53.47 kB / 0.7885 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.6801, allocations: 154.1 kB / 0.7887 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.6801, allocations: 30.23 kB / 0.7887 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.285e-05/0.6802, allocations: 104 kB / 0.7888 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.6802, allocations: 14.8 kB / 0.7888 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.237e-05/0.6803, allocations: 23.17 kB / 0.7888 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.321e-05/0.6804, allocations: 323.3 kB / 0.7891 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.131e-05/0.6805, allocations: 28.92 kB / 0.7892 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.556e-05/0.6806, allocations: 25.75 kB / 0.7892 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.6807, allocations: 50.28 kB / 0.7892 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.6807, allocations: 0 / 0.7892 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001978/0.6809, allocations: 98.61 kB / 0.7893 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.6809, allocations: 10.28 kB / 0.7893 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.681, allocations: 4.656 kB / 0.7893 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.681, allocations: 4.812 kB / 0.7894 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.6811, allocations: 9.266 kB / 0.7894 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.6811, allocations: 1.719 kB / 0.7894 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001605/0.6813, allocations: 31.03 kB / 0.7894 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.6813, allocations: 0 / 0.7894 GB, free: 47.86 MB / 0.6544 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.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,conSysSta.onSys) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.619e-05/0.6814, allocations: 125 kB / 0.7895 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.109e-05/0.6814, allocations: 13.22 kB / 0.7895 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.209e-05/0.6815, allocations: 13.5 kB / 0.7895 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.6815, allocations: 1.5 kB / 0.7895 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.6815, allocations: 0.5 kB / 0.7895 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.6815, allocations: 2.375 kB / 0.7895 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/0.6817, allocations: 200.2 kB / 0.7897 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.6817, allocations: 5.766 kB / 0.7897 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.659e-05/0.6818, allocations: 5.562 kB / 0.7897 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.6818, allocations: 8.016 kB / 0.7897 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.6818, allocations: 0 / 0.7897 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.6818, allocations: 0.7188 kB / 0.7898 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.6818, allocations: 0 / 0.7898 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002226/0.682, allocations: 187.1 kB / 0.7899 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.826e-05/0.6821, allocations: 86.91 kB / 0.79 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.461e-05/0.6821, allocations: 7.344 kB / 0.79 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001889/0.6823, allocations: 24.72 kB / 0.79 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.076e-05/0.6824, allocations: 17.97 kB / 0.7901 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-06/0.6824, allocations: 0.9062 kB / 0.7901 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.873e-05/0.6825, allocations: 118.1 kB / 0.7902 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.6825, allocations: 1.25 kB / 0.7902 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002249/0.6827, allocations: 16.81 kB / 0.7902 GB, free: 47.23 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001359/0.6829, allocations: 109.5 kB / 0.7903 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002362/0.6831, allocations: 62.42 kB / 0.7904 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.6831, allocations: 0.9688 kB / 0.7904 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.998e-05/0.6832, allocations: 35.27 kB / 0.7904 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/0.6835, allocations: 18.09 kB / 0.7904 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000469/0.684, allocations: 223.6 kB / 0.7906 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001962/0.6842, allocations: 0.7032 MB / 0.7913 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.553e-05/0.6843, allocations: 17.27 kB / 0.7913 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.6843, allocations: 1.031 kB / 0.7913 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of Templates: time 0.003233/0.6875, allocations: 1.299 MB / 0.7926 GB, free: 46.25 MB / 0.6544 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)