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.And3.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.And3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.422/1.422, allocations: 252 MB / 268 MB, free: 10.88 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.001136/0.001136, allocations: 182.5 kB / 327.6 MB, free: 2.117 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.756/1.756, allocations: 205.4 MB / 0.5786 GB, free: 20.2 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.0009202/0.0009202, allocations: 98.33 kB / 0.6832 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003732/0.0003732, allocations: 8.594 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2606, allocations: 106.3 MB / 0.9015 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.001671/0.2624, allocations: 1.159 MB / 0.9026 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004631/0.2628, allocations: 220.3 kB / 0.9028 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.401e-05/0.2629, allocations: 0 / 0.9028 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.343e-05/0.2629, allocations: 7.922 kB / 0.9028 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.824e-05/0.263, allocations: 7.938 kB / 0.9028 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000155/0.2632, allocations: 23.91 kB / 0.9028 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.2633, allocations: 83.7 kB / 0.9029 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.2635, allocations: 12.19 kB / 0.9029 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.005e-05/0.2635, allocations: 23.92 kB / 0.903 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.911e-05/0.2636, allocations: 35.78 kB / 0.903 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.845e-05/0.2636, allocations: 4 kB / 0.903 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.542e-05/0.2637, allocations: 4 kB / 0.903 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.737e-05/0.2637, allocations: 15.92 kB / 0.903 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.079e-05/0.2638, allocations: 53.55 kB / 0.9031 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.895e-05/0.2639, allocations: 51.83 kB / 0.9031 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.2639, allocations: 4 kB / 0.9031 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.785e-06/0.2639, allocations: 0 / 0.9031 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.208e-06/0.2639, allocations: 0 / 0.9031 GB, free: 61.81 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.0005928/0.2645, allocations: 403.5 kB / 0.9035 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.2645, allocations: 12.03 kB / 0.9035 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.033e-05/0.2646, allocations: 8.844 kB / 0.9035 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.742e-05/0.2647, allocations: 176.2 kB / 0.9037 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.2647, allocations: 4.375 kB / 0.9037 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.2647, allocations: 4.375 kB / 0.9037 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.2649, allocations: 62.17 kB / 0.9038 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.2649, allocations: 7.938 kB / 0.9038 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.2649, allocations: 3.984 kB / 0.9038 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.2649, allocations: 0 / 0.9038 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.564e-05/0.265, allocations: 31.98 kB / 0.9038 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004185/0.2655, allocations: 316.6 kB / 0.9041 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.382e-05/0.2656, allocations: 50.56 kB / 0.9042 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.734e-05/0.2656, allocations: 20.86 kB / 0.9042 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.2656, allocations: 4 kB / 0.9042 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001825/0.2658, allocations: 87.34 kB / 0.9043 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.2658, allocations: 0 / 0.9043 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0002277/0.266, allocations: 117.5 kB / 0.9044 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/0.2661, allocations: 55.41 kB / 0.9044 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.888e-05/0.2662, allocations: 122.2 kB / 0.9045 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.2662, allocations: 29.7 kB / 0.9046 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.534e-05/0.2662, allocations: 100 kB / 0.9047 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.2663, allocations: 23.89 kB / 0.9047 GB, free: 60 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-06/0.2663, allocations: 4 kB / 0.9047 GB, free: 60 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.514e-05/0.2663, allocations: 322.8 kB / 0.905 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.488e-05/0.2664, allocations: 19.94 kB / 0.905 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.761e-05/0.2664, allocations: 50.05 kB / 0.9051 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.697e-05/0.2665, allocations: 71.36 kB / 0.9051 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.2665, allocations: 0 / 0.9051 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001169/0.2666, allocations: 97.47 kB / 0.9052 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.2666, allocations: 4.469 kB / 0.9052 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.2667, allocations: 4 kB / 0.9052 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.2667, allocations: 3.984 kB / 0.9052 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.061e-05/0.2667, allocations: 20.03 kB / 0.9053 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.2668, allocations: 4 kB / 0.9053 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.2669, allocations: 27.83 kB / 0.9053 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.2669, allocations: 7.984 kB / 0.9053 GB, free: 59.34 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,and1.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 7.795e-05/0.267, allocations: 125.8 kB / 0.9054 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.221e-05/0.267, allocations: 4 kB / 0.9054 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.685e-05/0.267, allocations: 12.38 kB / 0.9054 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.2671, allocations: 4 kB / 0.9054 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.2671, allocations: 0 / 0.9054 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.2671, allocations: 0 / 0.9054 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001311/0.2672, allocations: 193.5 kB / 0.9056 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.2672, allocations: 0 / 0.9056 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.079e-05/0.2672, allocations: 7.938 kB / 0.9056 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2672, allocations: 4 kB / 0.9056 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.2673, allocations: 3.984 kB / 0.9056 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2673, allocations: 3.984 kB / 0.9056 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2673, allocations: 0 / 0.9056 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/0.2674, allocations: 124.9 kB / 0.9058 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.974e-05/0.2675, allocations: 88.95 kB / 0.9058 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.2675, allocations: 4 kB / 0.9058 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.2676, allocations: 23.97 kB / 0.9059 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.782e-05/0.2677, allocations: 19.98 kB / 0.9059 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-06/0.2677, allocations: 0 / 0.9059 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.16e-05/0.2677, allocations: 99.31 kB / 0.906 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9.81e-07/0.2677, allocations: 0 / 0.906 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000181/0.2679, allocations: 23.94 kB / 0.906 GB, free: 58.52 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,and1.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.0001298/0.2681, allocations: 99.23 kB / 0.9061 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001536/0.2682, allocations: 71.8 kB / 0.9062 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2682, allocations: 4.188 kB / 0.9062 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.131e-05/0.2683, allocations: 36.27 kB / 0.9062 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.2685, allocations: 22 kB / 0.9062 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003882/0.2689, allocations: 236.7 kB / 0.9065 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001295/0.2691, allocations: 0.6926 MB / 0.9071 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.591e-05/0.2691, allocations: 11.44 kB / 0.9071 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of SimCode: time 3.2e-07/0.2691, allocations: 0 / 0.9071 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of Templates: time 0.002483/0.2716, allocations: 1.192 MB / 0.9083 GB, free: 56.1 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1)