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.00126/0.00126, allocations: 107.2 kB / 16.35 MB, free: 5.879 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.001161/0.001161, allocations: 194.4 kB / 17.29 MB, free: 5.516 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.28/1.28, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.738/1.738, allocations: 292.3 MB / 0.5496 GB, free: 17.51 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.001499/0.001499, allocations: 71.91 kB / 0.6729 GB, free: 5.887 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1946/0.1961, allocations: 114.5 MB / 0.7848 GB, free: 3.223 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002024/0.1982, allocations: 0.8794 MB / 0.7856 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.000909/0.1991, allocations: 0.8788 MB / 0.7865 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.897e-05/0.1991, allocations: 4 kB / 0.7865 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.094e-05/0.1992, allocations: 11.81 kB / 0.7865 GB, free: 1.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.081e-05/0.1993, allocations: 11.81 kB / 0.7865 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001597/0.1994, allocations: 43.94 kB / 0.7866 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.1996, allocations: 103.7 kB / 0.7867 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.1997, allocations: 41.09 kB / 0.7867 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.1998, allocations: 51.77 kB / 0.7867 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.343e-05/0.1999, allocations: 55.77 kB / 0.7868 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.2, allocations: 8 kB / 0.7868 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 2.161e-05/0.2, allocations: 12 kB / 0.7868 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.7e-05/0.2, allocations: 19.92 kB / 0.7868 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.555e-05/0.2001, allocations: 51.72 kB / 0.7869 GB, free: 1.039 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001535/0.2002, allocations: 139.4 kB / 0.787 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2002, allocations: 0 / 0.787 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.253e-06/0.2003, allocations: 0 / 0.787 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.2003, allocations: 0 / 0.787 GB, free: 0.9023 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.0008307/0.2011, allocations: 459 kB / 0.7875 GB, free: 412 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.2011, allocations: 12.03 kB / 0.7875 GB, free: 400 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.142e-05/0.2012, allocations: 12.83 kB / 0.7875 GB, free: 388 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.2013, allocations: 176.2 kB / 0.7877 GB, free: 172 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.2013, allocations: 8.375 kB / 0.7877 GB, free: 164 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/0.2014, allocations: 8.375 kB / 0.7877 GB, free: 156 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000216/0.2016, allocations: 102.1 kB / 0.7878 GB, free: 48 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.2016, allocations: 192 / 0.7878 GB, free: 48 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.2016, allocations: 7.938 kB / 0.7878 GB, free: 40 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.2016, allocations: 4 kB / 0.7878 GB, free: 36 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3075/0.5091, allocations: 58.14 kB / 0.7878 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007236/0.5099, allocations: 403 kB / 0.7882 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/0.5101, allocations: 59.97 kB / 0.7883 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.785e-05/0.5102, allocations: 31.42 kB / 0.7883 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.5102, allocations: 7.109 kB / 0.7883 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.43e-05/0.5102, allocations: 34.5 kB / 0.7883 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=5): time 1.543e-06/0.5102, allocations: 0 / 0.7883 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5): time 0.000325/0.5105, allocations: 113.3 kB / 0.7885 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.196e-05/0.5106, allocations: 53.47 kB / 0.7885 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.44e-05/0.5107, allocations: 153.6 kB / 0.7886 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.5107, allocations: 31.08 kB / 0.7887 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.457e-05/0.5107, allocations: 101.4 kB / 0.7888 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.5108, allocations: 14.83 kB / 0.7888 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.084e-05/0.5108, allocations: 23.77 kB / 0.7888 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.147e-05/0.5109, allocations: 327.9 kB / 0.7891 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.382e-05/0.5109, allocations: 28.25 kB / 0.7892 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.412e-05/0.511, allocations: 32.12 kB / 0.7892 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.5112, allocations: 47.92 kB / 0.7892 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.5112, allocations: 0 / 0.7892 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001836/0.5114, allocations: 92.97 kB / 0.7893 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.5114, allocations: 8.625 kB / 0.7893 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.5114, allocations: 6.344 kB / 0.7893 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.5114, allocations: 3.328 kB / 0.7893 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.317e-05/0.5115, allocations: 6.688 kB / 0.7893 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.5115, allocations: 3.234 kB / 0.7893 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000174/0.5117, allocations: 36.55 kB / 0.7894 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.5117, allocations: 6.438 kB / 0.7894 GB, free: 46.48 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 6.227e-05/0.5118, allocations: 120.4 kB / 0.7895 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.145e-05/0.5118, allocations: 9.219 kB / 0.7895 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.106e-05/0.5118, allocations: 18.56 kB / 0.7895 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.5119, allocations: 0 / 0.7895 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.5119, allocations: 0.75 kB / 0.7895 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.5119, allocations: 6.188 kB / 0.7895 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.512, allocations: 198 kB / 0.7897 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.512, allocations: 0 / 0.7897 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.744e-05/0.5121, allocations: 10.5 kB / 0.7897 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.5121, allocations: 2.562 kB / 0.7897 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.5121, allocations: 1.562 kB / 0.7897 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.5121, allocations: 0 / 0.7897 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.5121, allocations: 1.75 kB / 0.7897 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001903/0.5123, allocations: 190.6 kB / 0.7899 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.309e-05/0.5124, allocations: 85.14 kB / 0.79 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.5124, allocations: 3.781 kB / 0.79 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/0.5126, allocations: 24.8 kB / 0.79 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.226e-05/0.5126, allocations: 18 kB / 0.79 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.992e-06/0.5127, allocations: 3.938 kB / 0.79 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.277e-05/0.5127, allocations: 116.2 kB / 0.7902 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5127, allocations: 1.031 kB / 0.7902 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002358/0.513, allocations: 20.11 kB / 0.7902 GB, free: 45.85 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 7.096e-05/0.513, allocations: 102 kB / 0.7903 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002026/0.5132, allocations: 68.06 kB / 0.7903 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.5133, allocations: 0 / 0.7903 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.656e-05/0.5134, allocations: 37.75 kB / 0.7904 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.5137, allocations: 10.38 kB / 0.7904 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003695/0.514, allocations: 200.1 kB / 0.7906 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001002/0.5142, allocations: 0.7011 MB / 0.7913 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.751e-05/0.5142, allocations: 8.453 kB / 0.7913 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.096e-05/0.5143, allocations: 19.88 kB / 0.7913 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of SimCode: time 3.51e-07/0.5143, allocations: 0 / 0.7913 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of Templates: time 0.003142/0.5174, allocations: 1.365 MB / 0.7926 GB, free: 44.92 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1)