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.568/1.568, allocations: 288.4 MB / 303.7 MB, free: 8.117 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.0009442/0.000944, allocations: 191.3 kB / 372.3 MB, free: 10.17 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.343/1.343, allocations: 205.4 MB / 0.631 GB, free: 9.957 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007763/0.0007762, allocations: 94.3 kB / 0.7444 GB, free: 5.863 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000389/0.0003892, allocations: 11.03 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.2229, allocations: 115.3 MB / 0.9801 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001316/0.2243, allocations: 0.564 MB / 0.9807 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001379/0.2257, allocations: 0.868 MB / 0.9815 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.108e-05/0.2258, allocations: 4 kB / 0.9815 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.57e-05/0.2258, allocations: 7.938 kB / 0.9815 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001225/0.226, allocations: 11.86 kB / 0.9816 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002112/0.2262, allocations: 27.95 kB / 0.9816 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.2264, allocations: 91.7 kB / 0.9817 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001833/0.2266, allocations: 37.09 kB / 0.9817 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001387/0.2267, allocations: 47.84 kB / 0.9818 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.2268, allocations: 35.78 kB / 0.9818 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.373e-05/0.2269, allocations: 4 kB / 0.9818 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.886e-05/0.2269, allocations: 4 kB / 0.9818 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.449e-05/0.227, allocations: 11.92 kB / 0.9818 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.963e-05/0.227, allocations: 61.5 kB / 0.9819 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.2272, allocations: 99.92 kB / 0.982 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.2272, allocations: 0 / 0.982 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.084e-06/0.2272, allocations: 0 / 0.982 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.2272, allocations: 0 / 0.982 GB, free: 25.51 MB / 0.6198 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.001089/0.2283, allocations: 463 kB / 0.9824 GB, free: 25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.2284, allocations: 8.031 kB / 0.9824 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.263e-05/0.2285, allocations: 12.84 kB / 0.9824 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.2286, allocations: 194.1 kB / 0.9826 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.2287, allocations: 8.375 kB / 0.9826 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.809e-05/0.2287, allocations: 4.375 kB / 0.9826 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000315/0.229, allocations: 102.1 kB / 0.9827 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.2291, allocations: 192 / 0.9827 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/0.2291, allocations: 7.938 kB / 0.9827 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.2291, allocations: 0 / 0.9827 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003161/0.2294, allocations: 75.95 kB / 0.9828 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009627/0.2304, allocations: 416.4 kB / 0.9832 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002363/0.2307, allocations: 66.5 kB / 0.9833 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/0.2308, allocations: 36.97 kB / 0.9833 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.2309, allocations: 0 / 0.9833 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.2309, allocations: 34.55 kB / 0.9833 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.814e-06/0.2309, allocations: 0 / 0.9833 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0005331/0.2315, allocations: 121.6 kB / 0.9834 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/0.2315, allocations: 59.34 kB / 0.9835 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.2317, allocations: 154.4 kB / 0.9836 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.2317, allocations: 25.7 kB / 0.9837 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.114e-05/0.2318, allocations: 112 kB / 0.9838 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.587e-05/0.2318, allocations: 11.81 kB / 0.9838 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.555e-06/0.2318, allocations: 0 / 0.9838 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.116e-05/0.2319, allocations: 322.8 kB / 0.9841 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.2321, allocations: 31.98 kB / 0.9841 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.2322, allocations: 39.97 kB / 0.9842 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002283/0.2325, allocations: 52.81 kB / 0.9842 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.2325, allocations: 0 / 0.9842 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003473/0.2328, allocations: 109.6 kB / 0.9843 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.2329, allocations: 7.938 kB / 0.9843 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.2329, allocations: 3.938 kB / 0.9843 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.2329, allocations: 0 / 0.9843 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.2331, allocations: 11.98 kB / 0.9843 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.2331, allocations: 7.938 kB / 0.9844 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002165/0.2333, allocations: 40.05 kB / 0.9844 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.2333, allocations: 0 / 0.9844 GB, free: 22.8 MB / 0.6198 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.898e-05/0.2334, allocations: 120.8 kB / 0.9845 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.497e-05/0.2335, allocations: 7.906 kB / 0.9845 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.956e-05/0.2335, allocations: 16.3 kB / 0.9845 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.2336, allocations: 4 kB / 0.9845 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.2336, allocations: 7.938 kB / 0.9845 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.2336, allocations: 7.922 kB / 0.9845 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002251/0.2338, allocations: 193.6 kB / 0.9847 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.2338, allocations: 0 / 0.9847 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.464e-05/0.2339, allocations: 8 kB / 0.9847 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.2339, allocations: 0 / 0.9847 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.234, allocations: 11.98 kB / 0.9847 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.234, allocations: 3.938 kB / 0.9848 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.234, allocations: 4.188 kB / 0.9848 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002883/0.2343, allocations: 199.4 kB / 0.9849 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.334e-05/0.2343, allocations: 89.02 kB / 0.985 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.105e-05/0.2344, allocations: 0 / 0.985 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003084/0.2347, allocations: 31.97 kB / 0.9851 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.158e-05/0.2348, allocations: 23.91 kB / 0.9851 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.836e-06/0.2348, allocations: 0 / 0.9851 GB, free: 22 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.845e-05/0.2349, allocations: 118.3 kB / 0.9852 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2e-07/0.2349, allocations: 0 / 0.9852 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003915/0.2353, allocations: 12 kB / 0.9852 GB, free: 21.87 MB / 0.6198 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.0001204/0.2354, allocations: 103.2 kB / 0.9853 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003157/0.2358, allocations: 75.91 kB / 0.9854 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2358, allocations: 0 / 0.9854 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.2359, allocations: 39.97 kB / 0.9854 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004777/0.2364, allocations: 15.7 kB / 0.9854 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005035/0.2369, allocations: 231 kB / 0.9857 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001278/0.2371, allocations: 0.6965 MB / 0.9863 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.355e-05/0.2372, allocations: 11.77 kB / 0.9863 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.483e-05/0.2373, allocations: 15.44 kB / 0.9864 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of SimCode: time 3.21e-07/0.2373, allocations: 0 / 0.9864 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of Templates: time 0.004616/0.2419, allocations: 1.063 MB / 0.9874 GB, free: 19.58 MB / 0.6198 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)