Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.084/2.084, allocations: 251.1 MB / 266.7 MB, free: 11.63 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.001349/0.001349, allocations: 165.6 kB / 326.2 MB, free: 2.879 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.368/2.368, allocations: 205.4 MB / 0.5772 GB, free: 20.76 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.0009811/0.0009805, allocations: 83.88 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004756/0.0004757, allocations: 22.08 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.221, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2297/0.4507, allocations: 131.3 MB / 1.028 GB, free: 14.06 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/0.451, allocations: 75.95 kB / 1.028 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004814/0.4559, allocations: 1.159 MB / 1.029 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4559, allocations: 0 / 1.029 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.4559, allocations: 0 / 1.029 GB, free: 12.82 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008385/0.4568, allocations: 411.2 kB / 1.029 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.4568, allocations: 8.031 kB / 1.029 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.73e-05/0.4569, allocations: 8.844 kB / 1.029 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001757/0.4571, allocations: 172.2 kB / 1.029 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.4571, allocations: 8.375 kB / 1.03 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.387e-05/0.4571, allocations: 12.36 kB / 1.03 GB, free: 12.13 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.4573, allocations: 66.11 kB / 1.03 GB, free: 12.06 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.108e-06/0.4574, allocations: 192 / 1.03 GB, free: 12.06 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/0.4574, allocations: 7.938 kB / 1.03 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.527e-06/0.4574, allocations: 0 / 1.03 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.4575, allocations: 27.98 kB / 1.03 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005786/0.4581, allocations: 308.8 kB / 1.03 GB, free: 11.67 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.4583, allocations: 54.58 kB / 1.03 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.403e-05/0.4584, allocations: 20.86 kB / 1.03 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.4584, allocations: 0 / 1.03 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002414/0.4586, allocations: 87.5 kB / 1.03 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 1.884e-06/0.4587, allocations: 7.938 kB / 1.03 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0003611/0.459, allocations: 109.6 kB / 1.03 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.433e-05/0.4591, allocations: 59.34 kB / 1.03 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.4593, allocations: 129.7 kB / 1.03 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.4593, allocations: 33.69 kB / 1.03 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.213e-05/0.4594, allocations: 88.14 kB / 1.03 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.399e-05/0.4594, allocations: 19.75 kB / 1.03 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.015e-06/0.4594, allocations: 0 / 1.03 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.4596, allocations: 326.8 kB / 1.031 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.241e-05/0.4597, allocations: 23.98 kB / 1.031 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001192/0.4598, allocations: 47.42 kB / 1.031 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.05e-05/0.4599, allocations: 24.31 kB / 1.031 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.4599, allocations: 0 / 1.031 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002271/0.4601, allocations: 97.47 kB / 1.031 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.4602, allocations: 9.812 kB / 1.031 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.4602, allocations: 4 kB / 1.031 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.4602, allocations: 0 / 1.031 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.375e-05/0.4603, allocations: 11.92 kB / 1.031 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.4603, allocations: 11.94 kB / 1.031 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002224/0.4606, allocations: 27.89 kB / 1.031 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.4606, allocations: 4 kB / 1.031 GB, free: 10.41 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,or1.y,booPul3.y,$PRE.booPul3.pulseStart,booPul3.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001211/0.4607, allocations: 121.8 kB / 1.031 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/0.4608, allocations: 11.98 kB / 1.031 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.63e-05/0.4608, allocations: 8.375 kB / 1.031 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.271e-06/0.4608, allocations: 4 kB / 1.031 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.4609, allocations: 0 / 1.031 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.4609, allocations: 0 / 1.031 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002357/0.4611, allocations: 197.5 kB / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.4611, allocations: 0 / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.594e-05/0.4612, allocations: 3.938 kB / 1.031 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.4612, allocations: 4 kB / 1.031 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.4612, allocations: 8 kB / 1.031 GB, free: 10 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.4612, allocations: 0 / 1.031 GB, free: 10 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.4612, allocations: 0 / 1.031 GB, free: 10 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002439/0.4615, allocations: 117 kB / 1.032 GB, free: 9.867 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.418e-05/0.4615, allocations: 89 kB / 1.032 GB, free: 9.762 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.605e-05/0.4616, allocations: 0 / 1.032 GB, free: 9.762 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001998/0.4618, allocations: 27.98 kB / 1.032 GB, free: 9.734 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.366e-05/0.4619, allocations: 12.16 kB / 1.032 GB, free: 9.723 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.4619, allocations: 4 kB / 1.032 GB, free: 9.719 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.955e-05/0.462, allocations: 103.2 kB / 1.032 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.61e-07/0.462, allocations: 0 / 1.032 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002608/0.4623, allocations: 16 kB / 1.032 GB, free: 9.602 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,or1.y,booPul3.y,booPul3.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001662/0.4625, allocations: 107.2 kB / 1.032 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002309/0.4627, allocations: 63.86 kB / 1.032 GB, free: 9.426 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4627, allocations: 0 / 1.032 GB, free: 9.426 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.4628, allocations: 31.98 kB / 1.032 GB, free: 9.395 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.4632, allocations: 23.92 kB / 1.032 GB, free: 9.371 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005945/0.4638, allocations: 208.9 kB / 1.032 GB, free: 9.133 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.4641, allocations: 0.6926 MB / 1.033 GB, free: 8.414 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.148e-05/0.4642, allocations: 8.547 kB / 1.033 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.619e-05/0.4643, allocations: 11.44 kB / 1.033 GB, free: 8.395 MB / 0.6823 GB Notification: Performance of SimCode: time 9.52e-07/0.4643, allocations: 8 kB / 1.033 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of Templates: time 0.004715/0.469, allocations: 1.036 MB / 1.034 GB, free: 7.363 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1)