Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.274/1.274, allocations: 252 MB / 267.9 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008923/0.0008923, allocations: 174.9 kB / 327.6 MB, free: 2.148 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.518/1.518, allocations: 205.4 MB / 0.5785 GB, free: 20.51 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008221/0.0008221, allocations: 94.94 kB / 0.6831 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004002/0.0004004, allocations: 12.81 kB / 0.7974 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2093, allocations: 106.3 MB / 0.9012 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1593/0.3687, allocations: 132.6 MB / 1.031 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/0.3689, allocations: 87.94 kB / 1.031 GB, free: 11.17 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005116/0.3741, allocations: 1.815 MB / 1.033 GB, free: 9.352 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.285e-06/0.3741, allocations: 0 / 1.033 GB, free: 9.352 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.728e-06/0.3741, allocations: 4 kB / 1.033 GB, free: 9.348 MB / 0.6823 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.0006405/0.3748, allocations: 439.1 kB / 1.033 GB, free: 8.867 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.3748, allocations: 8.031 kB / 1.033 GB, free: 8.859 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.514e-05/0.3749, allocations: 12.75 kB / 1.033 GB, free: 8.848 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.375, allocations: 190.4 kB / 1.033 GB, free: 8.625 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.3751, allocations: 4.375 kB / 1.033 GB, free: 8.621 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/0.3751, allocations: 8.375 kB / 1.033 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/0.3753, allocations: 100.2 kB / 1.033 GB, free: 8.512 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.3753, allocations: 192 / 1.033 GB, free: 8.512 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.3754, allocations: 7.938 kB / 1.033 GB, free: 8.504 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3754, allocations: 4 kB / 1.033 GB, free: 8.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001757/0.3755, allocations: 75.91 kB / 1.033 GB, free: 8.426 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007154/0.3763, allocations: 412.4 kB / 1.034 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.3764, allocations: 66.53 kB / 1.034 GB, free: 7.898 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.52e-05/0.3765, allocations: 36.91 kB / 1.034 GB, free: 7.859 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.746e-05/0.3766, allocations: 4 kB / 1.034 GB, free: 7.855 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.3766, allocations: 38.56 kB / 1.034 GB, free: 7.809 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 1.653e-06/0.3766, allocations: 0 / 1.034 GB, free: 7.809 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5): time 0.0003484/0.377, allocations: 121.5 kB / 1.034 GB, free: 7.684 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.377, allocations: 55.39 kB / 1.034 GB, free: 7.617 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.3772, allocations: 156.5 kB / 1.034 GB, free: 7.453 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.3772, allocations: 25.7 kB / 1.034 GB, free: 7.422 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.654e-05/0.3772, allocations: 112.1 kB / 1.034 GB, free: 7.309 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.3773, allocations: 19.8 kB / 1.034 GB, free: 7.289 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-06/0.3773, allocations: 0 / 1.034 GB, free: 7.289 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.3774, allocations: 318.8 kB / 1.035 GB, free: 6.969 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.658e-05/0.3775, allocations: 36.19 kB / 1.035 GB, free: 6.934 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.013e-05/0.3776, allocations: 31.98 kB / 1.035 GB, free: 6.902 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.3777, allocations: 64.86 kB / 1.035 GB, free: 6.836 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3777, allocations: 0 / 1.035 GB, free: 6.836 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002086/0.3779, allocations: 109.6 kB / 1.035 GB, free: 6.723 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.378, allocations: 4 kB / 1.035 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.378, allocations: 0 / 1.035 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.378, allocations: 0 / 1.035 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.106e-05/0.3781, allocations: 11.98 kB / 1.035 GB, free: 6.707 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.3781, allocations: 3.938 kB / 1.035 GB, free: 6.703 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001569/0.3783, allocations: 31.97 kB / 1.035 GB, free: 6.672 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.3783, allocations: 4 kB / 1.035 GB, free: 6.668 MB / 0.6823 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.838e-05/0.3784, allocations: 119.7 kB / 1.035 GB, free: 6.543 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.945e-05/0.3784, allocations: 15.84 kB / 1.035 GB, free: 6.527 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.821e-05/0.3785, allocations: 16.3 kB / 1.035 GB, free: 6.508 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3785, allocations: 0 / 1.035 GB, free: 6.508 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.3785, allocations: 4.188 kB / 1.035 GB, free: 6.504 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.3785, allocations: 0 / 1.035 GB, free: 6.504 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.3787, allocations: 209.6 kB / 1.035 GB, free: 6.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3787, allocations: 0 / 1.035 GB, free: 6.25 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.615e-05/0.3788, allocations: 11.98 kB / 1.035 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.3788, allocations: 0 / 1.035 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.3788, allocations: 0 / 1.035 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3788, allocations: 4 kB / 1.035 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3788, allocations: 3.938 kB / 1.035 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002351/0.379, allocations: 191.4 kB / 1.036 GB, free: 6.027 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.273e-05/0.3791, allocations: 81.02 kB / 1.036 GB, free: 5.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/0.3791, allocations: 8 kB / 1.036 GB, free: 5.922 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.3793, allocations: 27.97 kB / 1.036 GB, free: 5.895 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.581e-05/0.3794, allocations: 23.84 kB / 1.036 GB, free: 5.871 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.3794, allocations: 7.938 kB / 1.036 GB, free: 5.863 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.88e-05/0.3795, allocations: 118.7 kB / 1.036 GB, free: 5.75 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3795, allocations: 0 / 1.036 GB, free: 5.75 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002153/0.3797, allocations: 19.91 kB / 1.036 GB, free: 5.73 MB / 0.6823 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.0001074/0.3798, allocations: 99.25 kB / 1.036 GB, free: 5.625 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002037/0.38, allocations: 71.95 kB / 1.036 GB, free: 5.555 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.38, allocations: 4 kB / 1.036 GB, free: 5.551 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.234e-05/0.3801, allocations: 39.92 kB / 1.036 GB, free: 5.512 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.3804, allocations: 11.94 kB / 1.036 GB, free: 5.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004351/0.3809, allocations: 231.1 kB / 1.036 GB, free: 5.242 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.3812, allocations: 0.6926 MB / 1.037 GB, free: 4.523 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.01e-05/0.3812, allocations: 15.97 kB / 1.037 GB, free: 4.508 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.121e-05/0.3813, allocations: 11.44 kB / 1.037 GB, free: 4.5 MB / 0.6823 GB Notification: Performance of SimCode: time 4.9e-07/0.3813, allocations: 0 / 1.037 GB, free: 4.5 MB / 0.6823 GB Notification: Performance of Templates: time 0.003198/0.3845, allocations: 1.091 MB / 1.038 GB, free: 3.426 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1)