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.Or3.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.Or3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.367/1.367, allocations: 252 MB / 267.9 MB, free: 10.93 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.001128/0.001128, allocations: 186 kB / 327.6 MB, free: 2.16 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.691/1.691, allocations: 205.4 MB / 0.5785 GB, free: 20.48 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.0008396/0.0008396, allocations: 93.23 kB / 0.6831 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003979/0.0003981, allocations: 20.25 kB / 0.7974 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.1794, allocations: 106.3 MB / 0.9012 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1533/0.3328, allocations: 131.5 MB / 1.03 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002096/0.3331, allocations: 79.95 kB / 1.03 GB, free: 12.31 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003133/0.3362, allocations: 1.162 MB / 1.031 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.787e-06/0.3362, allocations: 0 / 1.031 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.3363, allocations: 7.938 kB / 1.031 GB, free: 11.14 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.0005346/0.3368, allocations: 403.2 kB / 1.031 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.3368, allocations: 8.031 kB / 1.031 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.213e-05/0.3369, allocations: 8.844 kB / 1.031 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.337, allocations: 172.3 kB / 1.031 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.3371, allocations: 8.375 kB / 1.031 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.3371, allocations: 8.375 kB / 1.031 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.3372, allocations: 66.17 kB / 1.032 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.3372, allocations: 192 / 1.032 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.3372, allocations: 3.938 kB / 1.032 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.3372, allocations: 0 / 1.032 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.792e-05/0.3373, allocations: 31.98 kB / 1.032 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004759/0.3378, allocations: 312.7 kB / 1.032 GB, free: 9.996 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.488e-05/0.3379, allocations: 50.59 kB / 1.032 GB, free: 9.938 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.612e-05/0.338, allocations: 20.86 kB / 1.032 GB, free: 9.914 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.997e-06/0.338, allocations: 3.938 kB / 1.032 GB, free: 9.91 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002203/0.3382, allocations: 87.36 kB / 1.032 GB, free: 9.812 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 1.894e-06/0.3382, allocations: 0 / 1.032 GB, free: 9.812 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0002857/0.3385, allocations: 113.5 kB / 1.032 GB, free: 9.695 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/0.3386, allocations: 59.34 kB / 1.032 GB, free: 9.625 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.3387, allocations: 133.7 kB / 1.032 GB, free: 9.484 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.3387, allocations: 29.7 kB / 1.032 GB, free: 9.449 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.382e-05/0.3388, allocations: 88.14 kB / 1.032 GB, free: 9.359 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.3388, allocations: 23.86 kB / 1.032 GB, free: 9.336 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/0.3388, allocations: 0 / 1.032 GB, free: 9.336 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.339, allocations: 326.8 kB / 1.033 GB, free: 9.008 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.314e-05/0.339, allocations: 23.98 kB / 1.033 GB, free: 8.984 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.22e-05/0.3391, allocations: 47.42 kB / 1.033 GB, free: 8.926 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.216e-05/0.3392, allocations: 63.38 kB / 1.033 GB, free: 8.852 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3392, allocations: 3.938 kB / 1.033 GB, free: 8.848 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001565/0.3394, allocations: 105.8 kB / 1.033 GB, free: 8.738 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.3394, allocations: 4.094 kB / 1.033 GB, free: 8.734 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.3394, allocations: 3.938 kB / 1.033 GB, free: 8.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.3394, allocations: 4 kB / 1.033 GB, free: 8.727 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.572e-05/0.3395, allocations: 7.984 kB / 1.033 GB, free: 8.719 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.3395, allocations: 4 kB / 1.033 GB, free: 8.715 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.3397, allocations: 32.06 kB / 1.033 GB, free: 8.684 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.3397, allocations: 3.938 kB / 1.033 GB, free: 8.68 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.0001161/0.3398, allocations: 121.8 kB / 1.033 GB, free: 8.551 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.986e-05/0.3398, allocations: 11.91 kB / 1.033 GB, free: 8.539 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.506e-05/0.3399, allocations: 8.375 kB / 1.033 GB, free: 8.531 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3399, allocations: 4 kB / 1.033 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.3399, allocations: 0 / 1.033 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.3399, allocations: 7.984 kB / 1.033 GB, free: 8.52 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.3401, allocations: 185.6 kB / 1.033 GB, free: 8.289 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3401, allocations: 4 kB / 1.033 GB, free: 8.285 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.164e-05/0.3401, allocations: 3.984 kB / 1.033 GB, free: 8.281 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.165e-06/0.3401, allocations: 0 / 1.033 GB, free: 8.281 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.3401, allocations: 8 kB / 1.033 GB, free: 8.273 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.3402, allocations: 0 / 1.033 GB, free: 8.273 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.3402, allocations: 0 / 1.033 GB, free: 8.273 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001743/0.3403, allocations: 120.9 kB / 1.033 GB, free: 8.137 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.619e-05/0.3404, allocations: 85.02 kB / 1.034 GB, free: 8.035 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.3404, allocations: 4 kB / 1.034 GB, free: 8.031 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.3405, allocations: 23.97 kB / 1.034 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.017e-05/0.3406, allocations: 15.92 kB / 1.034 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.3406, allocations: 7.984 kB / 1.034 GB, free: 7.984 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.9e-05/0.3407, allocations: 95.27 kB / 1.034 GB, free: 7.891 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3407, allocations: 4 kB / 1.034 GB, free: 7.887 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002149/0.3409, allocations: 16 kB / 1.034 GB, free: 7.871 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.0001229/0.341, allocations: 103.2 kB / 1.034 GB, free: 7.762 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001626/0.3412, allocations: 63.95 kB / 1.034 GB, free: 7.699 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3412, allocations: 3.938 kB / 1.034 GB, free: 7.695 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.57e-05/0.3413, allocations: 35.92 kB / 1.034 GB, free: 7.66 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.3416, allocations: 29.31 kB / 1.034 GB, free: 7.633 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003919/0.342, allocations: 200.6 kB / 1.034 GB, free: 7.402 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/0.3423, allocations: 0.6965 MB / 1.035 GB, free: 6.68 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.17e-05/0.3423, allocations: 8.562 kB / 1.035 GB, free: 6.668 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.225e-05/0.3424, allocations: 15.44 kB / 1.035 GB, free: 6.656 MB / 0.6823 GB Notification: Performance of SimCode: time 1.81e-07/0.3424, allocations: 0 / 1.035 GB, free: 6.656 MB / 0.6823 GB Notification: Performance of Templates: time 0.00334/0.3457, allocations: 1.052 MB / 1.036 GB, free: 5.617 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1)