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.53/1.53, allocations: 292.3 MB / 308.1 MB, free: 4.258 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.001535/0.001534, allocations: 194.5 kB / 376.9 MB, free: 1.789 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.32/1.32, allocations: 205.1 MB / 0.6354 GB, free: 9.766 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.0009714/0.0009713, allocations: 96.38 kB / 0.748 GB, free: 61.07 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009882/0.0009882, allocations: 51.92 kB / 0.8704 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2283, allocations: 114.5 MB / 0.9822 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002294/0.2307, allocations: 0.9472 MB / 0.9831 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00107/0.2318, allocations: 0.8749 MB / 0.984 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.95e-05/0.2319, allocations: 4 kB / 0.984 GB, free: 8.52 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 5.047e-05/0.232, allocations: 3.938 kB / 0.984 GB, free: 8.516 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001026/0.2321, allocations: 11.86 kB / 0.984 GB, free: 8.504 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001773/0.2323, allocations: 31.97 kB / 0.9841 GB, free: 8.473 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.2324, allocations: 103.7 kB / 0.9842 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.2326, allocations: 45.08 kB / 0.9842 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.2327, allocations: 43.78 kB / 0.9842 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.781e-05/0.2328, allocations: 43.78 kB / 0.9843 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.42e-05/0.2328, allocations: 8 kB / 0.9843 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.723e-05/0.2329, allocations: 4 kB / 0.9843 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.491e-05/0.2329, allocations: 23.89 kB / 0.9843 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.74e-05/0.233, allocations: 39.73 kB / 0.9843 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001665/0.2331, allocations: 123.8 kB / 0.9845 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.2331, allocations: 4 kB / 0.9845 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2332, allocations: 0 / 0.9845 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.2332, allocations: 0 / 0.9845 GB, free: 8.043 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.0009395/0.2341, allocations: 459 kB / 0.9849 GB, free: 7.543 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.2342, allocations: 8.031 kB / 0.9849 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.058e-05/0.2342, allocations: 8.844 kB / 0.9849 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.2344, allocations: 190.6 kB / 0.9851 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.2344, allocations: 8.375 kB / 0.9851 GB, free: 7.297 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/0.2344, allocations: 12.38 kB / 0.9851 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002245/0.2347, allocations: 90.16 kB / 0.9852 GB, free: 7.191 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.2347, allocations: 192 / 0.9852 GB, free: 7.191 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.475e-05/0.2347, allocations: 11.92 kB / 0.9852 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.2347, allocations: 0 / 0.9852 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001977/0.2349, allocations: 59.97 kB / 0.9853 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00079/0.2357, allocations: 416.3 kB / 0.9857 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/0.2359, allocations: 66.48 kB / 0.9857 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.511e-05/0.236, allocations: 32.97 kB / 0.9858 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.236, allocations: 0 / 0.9858 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.2361, allocations: 30.56 kB / 0.9858 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 8.92e-07/0.2361, allocations: 0 / 0.9858 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.0003572/0.2364, allocations: 117.6 kB / 0.9859 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.2365, allocations: 51.41 kB / 0.986 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.2366, allocations: 162.3 kB / 0.9861 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.2366, allocations: 29.64 kB / 0.9861 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.328e-05/0.2367, allocations: 104 kB / 0.9862 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/0.2367, allocations: 11.91 kB / 0.9863 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.645e-05/0.2368, allocations: 21.7 kB / 0.9863 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.2369, allocations: 326.8 kB / 0.9866 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.558e-05/0.237, allocations: 27.98 kB / 0.9866 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.603e-05/0.2371, allocations: 27.98 kB / 0.9866 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.2372, allocations: 48.77 kB / 0.9867 GB, free: 5.551 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2372, allocations: 0 / 0.9867 GB, free: 5.551 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002195/0.2375, allocations: 109.6 kB / 0.9868 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.2375, allocations: 8 kB / 0.9868 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.2375, allocations: 0 / 0.9868 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.2375, allocations: 0 / 0.9868 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.783e-05/0.2376, allocations: 11.94 kB / 0.9868 GB, free: 5.418 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.2377, allocations: 3.938 kB / 0.9868 GB, free: 5.414 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001767/0.2378, allocations: 36.03 kB / 0.9869 GB, free: 5.379 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.2379, allocations: 4 kB / 0.9869 GB, free: 5.375 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.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 0.0001004/0.238, allocations: 117.8 kB / 0.987 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.311e-05/0.238, allocations: 7.906 kB / 0.987 GB, free: 5.242 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.074e-05/0.238, allocations: 16.31 kB / 0.987 GB, free: 5.227 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.2381, allocations: 0 / 0.987 GB, free: 5.227 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.2381, allocations: 3.938 kB / 0.987 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.2381, allocations: 3.984 kB / 0.987 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002032/0.2383, allocations: 197.6 kB / 0.9872 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2383, allocations: 0 / 0.9872 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.373e-05/0.2384, allocations: 15.98 kB / 0.9872 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.2384, allocations: 0 / 0.9872 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.2384, allocations: 4 kB / 0.9872 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.2384, allocations: 3.984 kB / 0.9872 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.2384, allocations: 3.938 kB / 0.9872 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006814/0.2391, allocations: 0.7668 MB / 0.988 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.712e-05/0.2392, allocations: 97.11 kB / 0.9881 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/0.2392, allocations: 0 / 0.9881 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/0.2394, allocations: 35.91 kB / 0.9881 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.626e-05/0.2395, allocations: 7.984 kB / 0.9881 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.2395, allocations: 7.984 kB / 0.9881 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001014/0.2396, allocations: 115.1 kB / 0.9882 GB, free: 3.848 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.6e-07/0.2396, allocations: 0 / 0.9882 GB, free: 3.848 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000329/0.2399, allocations: 20 kB / 0.9882 GB, free: 3.828 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) * 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.0001514/0.2401, allocations: 99.23 kB / 0.9883 GB, free: 3.723 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000222/0.2403, allocations: 59.97 kB / 0.9884 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.2403, allocations: 4 kB / 0.9884 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.787e-05/0.2405, allocations: 35.92 kB / 0.9884 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003957/0.2409, allocations: 23.86 kB / 0.9884 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005484/0.2414, allocations: 336.3 kB / 0.9888 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.2417, allocations: 0.7004 MB / 0.9894 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.908e-05/0.2418, allocations: 8 kB / 0.9895 GB, free: 2.5 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.77e-05/0.2418, allocations: 19.42 kB / 0.9895 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of SimCode: time 6.51e-07/0.2418, allocations: 0 / 0.9895 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of Templates: time 0.00365/0.2455, allocations: 1.16 MB / 0.9906 GB, free: 1.332 MB / 0.7136 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)