Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.86/1.86, allocations: 287.4 MB / 303.2 MB, free: 8.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009931/0.0009931, allocations: 178 kB / 371.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.731/1.731, allocations: 205.4 MB / 0.6305 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008832/0.0008832, allocations: 101.3 kB / 0.7438 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004053/0.0004053, allocations: 16.62 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2678, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001129/0.269, allocations: 394.4 kB / 0.9797 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001706/0.2707, allocations: 1.157 MB / 0.9808 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.511e-05/0.2708, allocations: 0 / 0.9808 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.213e-05/0.2708, allocations: 11.88 kB / 0.9808 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.297e-05/0.2709, allocations: 7.922 kB / 0.9808 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000682/0.2716, allocations: 194.5 kB / 0.981 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.2718, allocations: 131.7 kB / 0.9811 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.2719, allocations: 8 kB / 0.9811 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.91e-05/0.272, allocations: 59.89 kB / 0.9812 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.2722, allocations: 47.86 kB / 0.9812 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.249e-05/0.2722, allocations: 8 kB / 0.9812 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.72e-05/0.2723, allocations: 23.92 kB / 0.9813 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.159e-05/0.2723, allocations: 8 kB / 0.9813 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.498e-05/0.2724, allocations: 41.7 kB / 0.9813 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000169/0.2726, allocations: 108 kB / 0.9814 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.2726, allocations: 0 / 0.9814 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2726, allocations: 0 / 0.9814 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.2726, allocations: 0 / 0.9814 GB, free: 25.98 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005106/0.2731, allocations: 406.8 kB / 0.9818 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.78e-05/0.2732, allocations: 11.97 kB / 0.9818 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.31e-05/0.2733, allocations: 16.78 kB / 0.9818 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.2734, allocations: 168.4 kB / 0.982 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.2734, allocations: 12.38 kB / 0.982 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.455e-05/0.2735, allocations: 8.375 kB / 0.982 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.2736, allocations: 46.25 kB / 0.9821 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.2736, allocations: 192 / 0.9821 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/0.2736, allocations: 11.92 kB / 0.9821 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.2737, allocations: 3.984 kB / 0.9821 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.686e-05/0.2737, allocations: 12 kB / 0.9821 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005457/0.2743, allocations: 364.6 kB / 0.9824 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.853e-05/0.2744, allocations: 38.5 kB / 0.9825 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.783e-05/0.2744, allocations: 12.86 kB / 0.9825 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.2744, allocations: 0 / 0.9825 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002007/0.2746, allocations: 79.41 kB / 0.9826 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.133e-06/0.2746, allocations: 0 / 0.9826 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002527/0.2749, allocations: 105.6 kB / 0.9827 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.2749, allocations: 55.39 kB / 0.9827 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.959e-05/0.275, allocations: 117.8 kB / 0.9828 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.275, allocations: 33.7 kB / 0.9829 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.716e-05/0.2751, allocations: 92.03 kB / 0.9829 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.506e-05/0.2751, allocations: 15.89 kB / 0.983 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.567e-05/0.2752, allocations: 4 kB / 0.983 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.661e-05/0.2752, allocations: 318.8 kB / 0.9833 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.2754, allocations: 63.97 kB / 0.9833 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.2755, allocations: 96.19 kB / 0.9834 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.2756, allocations: 164 kB / 0.9836 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2757, allocations: 4 kB / 0.9836 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003525/0.276, allocations: 256.8 kB / 0.9838 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.927e-05/0.2761, allocations: 65.44 kB / 0.9839 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.2761, allocations: 7.984 kB / 0.9839 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.2761, allocations: 0 / 0.9839 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.417e-05/0.2761, allocations: 4 kB / 0.9839 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.2762, allocations: 0 / 0.9839 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003883/0.2766, allocations: 83.91 kB / 0.984 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.013e-05/0.2766, allocations: 11.98 kB / 0.984 GB, free: 23.04 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001046/0.2767, allocations: 135.5 kB / 0.9841 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.024e-05/0.2767, allocations: 4 kB / 0.9841 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.739e-05/0.2768, allocations: 12.36 kB / 0.9841 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.2768, allocations: 0 / 0.9841 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.2768, allocations: 0 / 0.9841 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.725e-05/0.2768, allocations: 85.02 kB / 0.9842 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.2768, allocations: 0 / 0.9842 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.797e-05/0.2769, allocations: 3.938 kB / 0.9842 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.231e-05/0.2769, allocations: 15.98 kB / 0.9842 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001329/0.2771, allocations: 165.2 kB / 0.9844 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001494/0.2772, allocations: 250.7 kB / 0.9846 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.237e-05/0.2773, allocations: 23.98 kB / 0.9847 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.2e-05/0.2773, allocations: 91.27 kB / 0.9847 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of Backend: time 4.01e-07/0.2773, allocations: 288 / 0.9847 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005956/0.2779, allocations: 309.1 kB / 0.985 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of SimCode: time 0.000514/0.2784, allocations: 0.6132 MB / 0.9856 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of Templates: time 0.003942/0.2824, allocations: 1.739 MB / 0.9873 GB, free: 19.52 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1)