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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00731/0.007315, allocations: 101.3 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 193.8 kB / 16.68 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.797/1.797, allocations: 205.1 MB / 222.6 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.691/1.691, allocations: 251.7 MB / 0.5094 GB, free: 3.062 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 67.91 kB / 0.7258 GB, free: 8.988 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2637, allocations: 104.7 MB / 0.8281 GB, free: 184 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.002883/0.2666, allocations: 1.437 MB / 0.8295 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0005292/0.2672, allocations: 228.5 kB / 0.8297 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.01e-05/0.2673, allocations: 0 / 0.8297 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.655e-05/0.2673, allocations: 7.922 kB / 0.8297 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001143/0.2674, allocations: 23.84 kB / 0.8297 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001625/0.2676, allocations: 19.92 kB / 0.8297 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001237/0.2677, allocations: 87.7 kB / 0.8298 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.2679, allocations: 20.17 kB / 0.8298 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.822e-05/0.268, allocations: 31.86 kB / 0.8299 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.338e-05/0.2681, allocations: 35.83 kB / 0.8299 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.161e-05/0.2681, allocations: 8 kB / 0.8299 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.504e-05/0.2681, allocations: 4 kB / 0.8299 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.089e-05/0.2682, allocations: 19.92 kB / 0.8299 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.7e-05/0.2682, allocations: 27.86 kB / 0.83 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001287/0.2684, allocations: 75.7 kB / 0.83 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.2684, allocations: 4 kB / 0.83 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.396e-06/0.2684, allocations: 0 / 0.83 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.2684, allocations: 3.938 kB / 0.83 GB, free: 14.14 MB / 0.6544 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.0007132/0.2691, allocations: 403.1 kB / 0.8304 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.2692, allocations: 12.03 kB / 0.8304 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.35e-05/0.2692, allocations: 8.844 kB / 0.8304 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.2694, allocations: 176.2 kB / 0.8306 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.2694, allocations: 8.375 kB / 0.8306 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.2694, allocations: 4.375 kB / 0.8306 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.2695, allocations: 62.23 kB / 0.8307 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.2696, allocations: 3.938 kB / 0.8307 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.2696, allocations: 3.984 kB / 0.8307 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.2696, allocations: 3.984 kB / 0.8307 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.01e-05/0.2697, allocations: 31.92 kB / 0.8307 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004787/0.2702, allocations: 312.7 kB / 0.831 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 9.692e-05/0.2703, allocations: 50.5 kB / 0.8311 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.476e-05/0.2703, allocations: 24.86 kB / 0.8311 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.2703, allocations: 0 / 0.8311 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002/0.2705, allocations: 91.45 kB / 0.8312 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.2706, allocations: 0 / 0.8312 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0002671/0.2708, allocations: 105.6 kB / 0.8313 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.202e-05/0.2709, allocations: 67.39 kB / 0.8313 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.271, allocations: 121.8 kB / 0.8315 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.2711, allocations: 33.7 kB / 0.8315 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.648e-05/0.2711, allocations: 88.12 kB / 0.8316 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/0.2712, allocations: 19.72 kB / 0.8316 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.265e-05/0.2712, allocations: 33.7 kB / 0.8316 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.2714, allocations: 322.8 kB / 0.8319 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.413e-05/0.2714, allocations: 24 kB / 0.832 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.2716, allocations: 54.11 kB / 0.832 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.558e-05/0.2716, allocations: 67.36 kB / 0.8321 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2717, allocations: 3.938 kB / 0.8321 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000142/0.2718, allocations: 101.8 kB / 0.8322 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.2718, allocations: 4 kB / 0.8322 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.2718, allocations: 4 kB / 0.8322 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.2719, allocations: 0 / 0.8322 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.831e-05/0.2719, allocations: 11.94 kB / 0.8322 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.2719, allocations: 3.984 kB / 0.8322 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.2721, allocations: 19.92 kB / 0.8322 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-06/0.2721, allocations: 4 kB / 0.8322 GB, free: 11.66 MB / 0.6544 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,booPul3.pulseStart,$PRE.booPul3.pulseStart,booPul3.y,or1.y,booPul2.pulseStart,$PRE.booPul2.pulseStart,booPul2.y,booPul1.pulseStart,$PRE.booPul1.pulseStart,booPul1.y) * 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 0.0001056/0.2722, allocations: 133.8 kB / 0.8323 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.602e-05/0.2722, allocations: 7.906 kB / 0.8324 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.05e-05/0.2723, allocations: 16.36 kB / 0.8324 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2723, allocations: 0 / 0.8324 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.2723, allocations: 0 / 0.8324 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.2723, allocations: 4 kB / 0.8324 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001859/0.2725, allocations: 193.5 kB / 0.8326 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2725, allocations: 4 kB / 0.8326 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.026e-05/0.2725, allocations: 0 / 0.8326 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.2725, allocations: 4 kB / 0.8326 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.2725, allocations: 0 / 0.8326 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2725, allocations: 4 kB / 0.8326 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2725, allocations: 0 / 0.8326 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001656/0.2727, allocations: 124.9 kB / 0.8327 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.699e-05/0.2728, allocations: 89 kB / 0.8328 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.2728, allocations: 0 / 0.8328 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.2729, allocations: 19.98 kB / 0.8328 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.013e-05/0.273, allocations: 15.97 kB / 0.8328 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.273, allocations: 4 kB / 0.8328 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.78e-05/0.2731, allocations: 95.27 kB / 0.8329 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2731, allocations: 0 / 0.8329 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001964/0.2733, allocations: 20 kB / 0.8329 GB, free: 10.84 MB / 0.6544 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.0001559/0.2734, allocations: 103.1 kB / 0.833 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001711/0.2736, allocations: 79.97 kB / 0.8331 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2736, allocations: 3.938 kB / 0.8331 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.009e-05/0.2737, allocations: 35.94 kB / 0.8331 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.2739, allocations: 20.73 kB / 0.8332 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004029/0.2744, allocations: 182.5 kB / 0.8333 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002733/0.2746, allocations: 0.6963 MB / 0.834 GB, free: 9.664 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.79e-05/0.2747, allocations: 8.547 kB / 0.834 GB, free: 9.656 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.569e-05/0.2747, allocations: 15.44 kB / 0.834 GB, free: 9.641 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.2747, allocations: 0 / 0.834 GB, free: 9.641 MB / 0.6544 GB Notification: Performance of Templates: time 0.003954/0.2787, allocations: 1.28 MB / 0.8353 GB, free: 8.375 MB / 0.6544 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)