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.38/1.38, allocations: 252 MB / 268 MB, free: 10.87 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.000998/0.0009982, allocations: 179.3 kB / 327.6 MB, free: 2.098 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.766/1.766, allocations: 205.4 MB / 0.5786 GB, free: 20.18 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.0008935/0.0008935, allocations: 90.98 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004403/0.0004405, allocations: 15.84 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2499, allocations: 106.3 MB / 0.9015 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.001683/0.2517, allocations: 1.151 MB / 0.9026 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004989/0.2522, allocations: 216.3 kB / 0.9028 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.35e-05/0.2523, allocations: 4 kB / 0.9028 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.675e-05/0.2523, allocations: 3.938 kB / 0.9028 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001275/0.2525, allocations: 15.91 kB / 0.9028 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001818/0.2527, allocations: 15.98 kB / 0.9028 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.2528, allocations: 87.64 kB / 0.9029 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.2529, allocations: 12.19 kB / 0.9029 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.174e-05/0.253, allocations: 23.92 kB / 0.903 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.435e-05/0.2531, allocations: 35.83 kB / 0.903 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.706e-05/0.2531, allocations: 4 kB / 0.903 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.447e-05/0.2531, allocations: 7.938 kB / 0.903 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.608e-05/0.2532, allocations: 11.92 kB / 0.903 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.532e-05/0.2533, allocations: 61.5 kB / 0.9031 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.225e-05/0.2534, allocations: 47.89 kB / 0.9031 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.2534, allocations: 0 / 0.9031 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2534, allocations: 0 / 0.9031 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.2534, allocations: 0 / 0.9031 GB, free: 61.78 MB / 0.6042 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.0006461/0.254, allocations: 403.5 kB / 0.9035 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.2541, allocations: 8.031 kB / 0.9035 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.774e-05/0.2541, allocations: 8.844 kB / 0.9035 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.2543, allocations: 188.2 kB / 0.9037 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.2543, allocations: 4.375 kB / 0.9037 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.2543, allocations: 4.375 kB / 0.9037 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.2545, allocations: 66.17 kB / 0.9038 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.2545, allocations: 3.938 kB / 0.9038 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.2545, allocations: 8 kB / 0.9038 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.2545, allocations: 0 / 0.9038 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.44e-05/0.2546, allocations: 27.98 kB / 0.9038 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000458/0.2551, allocations: 312.6 kB / 0.9041 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.853e-05/0.2552, allocations: 46.56 kB / 0.9042 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.48e-05/0.2552, allocations: 32.84 kB / 0.9042 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.2552, allocations: 0 / 0.9042 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001801/0.2554, allocations: 83.41 kB / 0.9043 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.2554, allocations: 0 / 0.9043 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0002593/0.2557, allocations: 109.5 kB / 0.9044 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.2557, allocations: 59.41 kB / 0.9044 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.81e-05/0.2558, allocations: 121.8 kB / 0.9045 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.2559, allocations: 37.7 kB / 0.9046 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.475e-05/0.2559, allocations: 96.17 kB / 0.9047 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.256, allocations: 20.12 kB / 0.9047 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.356e-06/0.256, allocations: 4 kB / 0.9047 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.699e-05/0.2561, allocations: 330.7 kB / 0.905 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.114e-05/0.2561, allocations: 16 kB / 0.905 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.577e-05/0.2562, allocations: 51.36 kB / 0.9051 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.352e-05/0.2563, allocations: 67.36 kB / 0.9051 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.2563, allocations: 0 / 0.9051 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001429/0.2564, allocations: 101.5 kB / 0.9052 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.2565, allocations: 6.5 kB / 0.9052 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.2565, allocations: 0 / 0.9052 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.2565, allocations: 8.094 kB / 0.9052 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.194e-05/0.2566, allocations: 15.92 kB / 0.9053 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/0.2566, allocations: 4 kB / 0.9053 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/0.2567, allocations: 23.89 kB / 0.9053 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.2568, allocations: 0 / 0.9053 GB, free: 59.32 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.987e-05/0.2569, allocations: 129.8 kB / 0.9054 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.782e-05/0.2569, allocations: 7.984 kB / 0.9054 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.485e-05/0.2569, allocations: 8.375 kB / 0.9054 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.2569, allocations: 4 kB / 0.9054 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.2569, allocations: 0 / 0.9054 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.2569, allocations: 3.984 kB / 0.9054 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.2571, allocations: 197.5 kB / 0.9056 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2571, allocations: 0 / 0.9056 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.251e-05/0.2571, allocations: 3.938 kB / 0.9056 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.2571, allocations: 0 / 0.9056 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.2571, allocations: 8 kB / 0.9056 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.2571, allocations: 4 kB / 0.9056 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.2572, allocations: 0 / 0.9056 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.2573, allocations: 124.9 kB / 0.9058 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.91e-05/0.2573, allocations: 92.94 kB / 0.9058 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.2574, allocations: 4 kB / 0.9059 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.2575, allocations: 27.98 kB / 0.9059 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.439e-05/0.2575, allocations: 11.97 kB / 0.9059 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.2576, allocations: 8 kB / 0.9059 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.97e-05/0.2576, allocations: 99.64 kB / 0.906 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2576, allocations: 3.938 kB / 0.906 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001973/0.2578, allocations: 20 kB / 0.906 GB, free: 58.48 MB / 0.6042 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 (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.0001301/0.258, allocations: 95.25 kB / 0.9061 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001465/0.2581, allocations: 79.78 kB / 0.9062 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2581, allocations: 0 / 0.9062 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.508e-05/0.2582, allocations: 31.98 kB / 0.9062 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.2585, allocations: 22.22 kB / 0.9062 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004483/0.2589, allocations: 236.9 kB / 0.9065 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/0.2591, allocations: 0.6887 MB / 0.9071 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.825e-05/0.2591, allocations: 15.44 kB / 0.9071 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of SimCode: time 5.91e-07/0.2591, allocations: 0 / 0.9071 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of Templates: time 0.002716/0.2619, allocations: 1.188 MB / 0.9083 GB, free: 56.07 MB / 0.6042 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)