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.001621/0.001621, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001976/0.001976, allocations: 197.9 kB / 16.54 MB, free: 6.672 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.364/1.364, allocations: 205.1 MB / 222.4 MB, free: 4.617 MB / 174.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.651/1.651, allocations: 292.3 MB / 0.5488 GB, free: 12.85 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.00146/0.00146, allocations: 71.73 kB / 0.6715 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2186, allocations: 114.5 MB / 0.7834 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.00217/0.2208, allocations: 0.8863 MB / 0.7842 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008895/0.2217, allocations: 0.8749 MB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.207e-05/0.2218, allocations: 0 / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.198e-05/0.2218, allocations: 7.875 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.648e-05/0.2219, allocations: 19.81 kB / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001687/0.2221, allocations: 39.88 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.2222, allocations: 111.7 kB / 0.7853 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.2224, allocations: 33.11 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.2225, allocations: 51.77 kB / 0.7853 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.751e-05/0.2226, allocations: 51.78 kB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.2226, allocations: 12 kB / 0.7854 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.127e-05/0.2226, allocations: 12 kB / 0.7854 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.742e-05/0.2227, allocations: 19.91 kB / 0.7854 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.842e-05/0.2227, allocations: 51.73 kB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.2229, allocations: 123.8 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.2229, allocations: 0 / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2229, allocations: 0 / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.2229, allocations: 0 / 0.7856 GB, free: 11.18 MB / 0.6075 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.0009211/0.2238, allocations: 463 kB / 0.786 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.2239, allocations: 8.031 kB / 0.7861 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.994e-05/0.2239, allocations: 16.78 kB / 0.7861 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.2241, allocations: 188 kB / 0.7862 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.2241, allocations: 8.375 kB / 0.7863 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/0.2241, allocations: 4.375 kB / 0.7863 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000213/0.2243, allocations: 94.16 kB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.2243, allocations: 192 / 0.7864 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.2244, allocations: 3.938 kB / 0.7864 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.2244, allocations: 11.97 kB / 0.7864 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001795/0.2246, allocations: 67.91 kB / 0.7864 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007698/0.2253, allocations: 400.5 kB / 0.7868 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001492/0.2255, allocations: 58.56 kB / 0.7869 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001443/0.2256, allocations: 36.95 kB / 0.7869 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.2257, allocations: 7.938 kB / 0.7869 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.2257, allocations: 30.56 kB / 0.7869 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.2257, allocations: 4 kB / 0.7869 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0003518/0.2261, allocations: 113.5 kB / 0.7871 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.2261, allocations: 51.41 kB / 0.7871 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001845/0.2263, allocations: 161.3 kB / 0.7873 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.2263, allocations: 29.7 kB / 0.7873 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.482e-05/0.2264, allocations: 108 kB / 0.7874 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.769e-05/0.2264, allocations: 7.891 kB / 0.7874 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.796e-05/0.2265, allocations: 29.7 kB / 0.7874 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.2266, allocations: 318.8 kB / 0.7877 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.299e-05/0.2267, allocations: 27.98 kB / 0.7878 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.629e-05/0.2268, allocations: 35.92 kB / 0.7878 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.2269, allocations: 48.83 kB / 0.7878 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.2269, allocations: 0 / 0.7878 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002054/0.2271, allocations: 93.58 kB / 0.7879 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.2272, allocations: 7.984 kB / 0.7879 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2272, allocations: 0 / 0.7879 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.2272, allocations: 0 / 0.7879 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.948e-05/0.2273, allocations: 8 kB / 0.7879 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.2273, allocations: 11.88 kB / 0.7879 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002018/0.2275, allocations: 35.94 kB / 0.788 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.2275, allocations: 0 / 0.788 GB, free: 8.512 MB / 0.6075 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.474e-05/0.2276, allocations: 121.8 kB / 0.7881 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.178e-05/0.2277, allocations: 7.906 kB / 0.7881 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.446e-05/0.2277, allocations: 12.31 kB / 0.7881 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.2277, allocations: 0 / 0.7881 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.2277, allocations: 7.938 kB / 0.7881 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.2277, allocations: 0 / 0.7881 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001911/0.2279, allocations: 201.6 kB / 0.7883 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.2279, allocations: 3.938 kB / 0.7883 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.783e-05/0.228, allocations: 15.92 kB / 0.7883 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.228, allocations: 0 / 0.7883 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.228, allocations: 0 / 0.7883 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.228, allocations: 3.984 kB / 0.7883 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.175e-06/0.228, allocations: 7.938 kB / 0.7883 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002363/0.2283, allocations: 183.4 kB / 0.7885 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.149e-05/0.2283, allocations: 85.31 kB / 0.7886 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/0.2284, allocations: 4 kB / 0.7886 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.2286, allocations: 31.97 kB / 0.7886 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.996e-05/0.2287, allocations: 19.92 kB / 0.7887 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.2287, allocations: 0 / 0.7887 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.737e-05/0.2288, allocations: 113.7 kB / 0.7888 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2288, allocations: 0 / 0.7888 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002343/0.229, allocations: 19.91 kB / 0.7888 GB, free: 7.59 MB / 0.6075 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.0001165/0.2291, allocations: 103.2 kB / 0.7889 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002431/0.2294, allocations: 79.89 kB / 0.789 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2294, allocations: 0 / 0.789 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.386e-05/0.2295, allocations: 31.98 kB / 0.789 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.2298, allocations: 8 kB / 0.789 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000432/0.2302, allocations: 208.7 kB / 0.7892 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.2305, allocations: 0.6963 MB / 0.7899 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.555e-05/0.2306, allocations: 11.94 kB / 0.7899 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.481e-05/0.2307, allocations: 11.44 kB / 0.7899 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2307, allocations: 0 / 0.7899 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of Templates: time 0.003759/0.2344, allocations: 1.367 MB / 0.7912 GB, free: 5.043 MB / 0.6075 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)