Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.347/1.347, allocations: 252 MB / 267.9 MB, free: 10.92 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.0008579/0.0008581, allocations: 181.9 kB / 327.6 MB, free: 2.164 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.669/1.669, allocations: 205.4 MB / 0.5785 GB, free: 20.24 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.0008143/0.0008143, allocations: 86 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003689/0.0003689, allocations: 15.41 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2043/0.2047, allocations: 106.3 MB / 0.9012 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1544/0.3591, allocations: 131.5 MB / 1.03 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/0.3594, allocations: 67.97 kB / 1.03 GB, free: 11.97 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002249/0.3617, allocations: 0.9044 MB / 1.031 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3617, allocations: 0 / 1.031 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.3617, allocations: 4 kB / 1.031 GB, free: 11.06 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004143/0.3621, allocations: 367.3 kB / 1.031 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.3622, allocations: 12.03 kB / 1.031 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.037e-05/0.3622, allocations: 4.938 kB / 1.031 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.3624, allocations: 172.3 kB / 1.031 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.3624, allocations: 8.375 kB / 1.031 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.3624, allocations: 384 / 1.031 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.3625, allocations: 54.19 kB / 1.031 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.3625, allocations: 192 / 1.031 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.3626, allocations: 11.92 kB / 1.031 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.3626, allocations: 3.984 kB / 1.031 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.375e-05/0.3626, allocations: 16 kB / 1.031 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003946/0.363, allocations: 284.9 kB / 1.031 GB, free: 10 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.218e-05/0.3631, allocations: 46.5 kB / 1.032 GB, free: 9.945 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.344e-05/0.3632, allocations: 20.92 kB / 1.032 GB, free: 9.922 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.3632, allocations: 0 / 1.032 GB, free: 9.922 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001926/0.3634, allocations: 75.38 kB / 1.032 GB, free: 9.836 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.3634, allocations: 0 / 1.032 GB, free: 9.836 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0001994/0.3636, allocations: 85.67 kB / 1.032 GB, free: 9.746 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.3637, allocations: 59.33 kB / 1.032 GB, free: 9.676 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.392e-05/0.3638, allocations: 113.8 kB / 1.032 GB, free: 9.555 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.3638, allocations: 25.7 kB / 1.032 GB, free: 9.523 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.712e-05/0.3638, allocations: 96.03 kB / 1.032 GB, free: 9.426 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.701e-05/0.3639, allocations: 7.906 kB / 1.032 GB, free: 9.418 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-06/0.3639, allocations: 8 kB / 1.032 GB, free: 9.41 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.364, allocations: 310.8 kB / 1.032 GB, free: 9.098 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.221e-05/0.364, allocations: 19.98 kB / 1.032 GB, free: 9.078 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.377e-05/0.3641, allocations: 38.5 kB / 1.032 GB, free: 9.031 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.827e-05/0.3641, allocations: 46.45 kB / 1.032 GB, free: 8.977 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3642, allocations: 4 kB / 1.032 GB, free: 8.973 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001185/0.3643, allocations: 86.14 kB / 1.032 GB, free: 8.883 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.3643, allocations: 4 kB / 1.032 GB, free: 8.879 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.3643, allocations: 0 / 1.032 GB, free: 8.879 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.3643, allocations: 0 / 1.032 GB, free: 8.879 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.076e-05/0.3644, allocations: 8 kB / 1.032 GB, free: 8.871 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.3644, allocations: 0 / 1.032 GB, free: 8.871 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.995e-05/0.3645, allocations: 15.98 kB / 1.032 GB, free: 8.855 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.3645, allocations: 8.078 kB / 1.032 GB, free: 8.848 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 0.0001011/0.3646, allocations: 131.9 kB / 1.033 GB, free: 8.711 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.773e-05/0.3646, allocations: 7.906 kB / 1.033 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.751e-05/0.3647, allocations: 8.375 kB / 1.033 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.3647, allocations: 0 / 1.033 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.3647, allocations: 0 / 1.033 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.3647, allocations: 4 kB / 1.033 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.3648, allocations: 177.6 kB / 1.033 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3649, allocations: 0 / 1.033 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.568e-06/0.3649, allocations: 8 kB / 1.033 GB, free: 8.461 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.3649, allocations: 0 / 1.033 GB, free: 8.461 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.3649, allocations: 0 / 1.033 GB, free: 8.461 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.3649, allocations: 3.984 kB / 1.033 GB, free: 8.457 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3649, allocations: 0 / 1.033 GB, free: 8.457 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001274/0.365, allocations: 105 kB / 1.033 GB, free: 8.336 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.473e-05/0.3651, allocations: 81.02 kB / 1.033 GB, free: 8.238 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.3651, allocations: 0 / 1.033 GB, free: 8.238 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.477e-05/0.3652, allocations: 23.98 kB / 1.033 GB, free: 8.215 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.373e-05/0.3652, allocations: 7.984 kB / 1.033 GB, free: 8.207 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.3653, allocations: 0 / 1.033 GB, free: 8.207 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.791e-05/0.3653, allocations: 95.25 kB / 1.033 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3653, allocations: 0 / 1.033 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001848/0.3655, allocations: 16 kB / 1.033 GB, free: 8.098 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: 7 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001213/0.3656, allocations: 99.25 kB / 1.033 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001133/0.3657, allocations: 47.92 kB / 1.033 GB, free: 7.945 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3658, allocations: 0 / 1.033 GB, free: 7.945 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.966e-05/0.3658, allocations: 19.98 kB / 1.033 GB, free: 7.926 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.366, allocations: 25.17 kB / 1.033 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003245/0.3664, allocations: 166.6 kB / 1.033 GB, free: 7.707 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/0.3666, allocations: 0.6946 MB / 1.034 GB, free: 6.988 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.622e-05/0.3667, allocations: 7.859 kB / 1.034 GB, free: 6.98 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.684e-05/0.3667, allocations: 11.44 kB / 1.034 GB, free: 6.969 MB / 0.6823 GB Notification: Performance of SimCode: time 2.4e-07/0.3667, allocations: 0 / 1.034 GB, free: 6.969 MB / 0.6823 GB Notification: Performance of Templates: time 0.002618/0.3693, allocations: 0.7531 MB / 1.035 GB, free: 6.223 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1)