Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.MultiOr,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 195.4 kB / 16.53 MB, free: 6.664 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.726/1.726, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.866/1.866, allocations: 292.3 MB / 0.5489 GB, free: 12.84 MB / 462.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.001704/0.001704, allocations: 76.42 kB / 0.6715 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2625, allocations: 114.5 MB / 0.7834 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002258/0.2648, allocations: 0.8421 MB / 0.7842 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001919/0.2667, allocations: 1.472 MB / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.807e-05/0.2668, allocations: 0 / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001223/0.267, allocations: 27.73 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.702e-05/0.2671, allocations: 35.64 kB / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001174/0.2682, allocations: 0.5108 MB / 0.7862 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005011/0.2687, allocations: 495.2 kB / 0.7867 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.2689, allocations: 45.47 kB / 0.7867 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001677/0.2691, allocations: 179.7 kB / 0.7869 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001675/0.2692, allocations: 143.6 kB / 0.787 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.734e-05/0.2693, allocations: 44 kB / 0.7871 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001376/0.2695, allocations: 59.92 kB / 0.7871 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.369e-05/0.2695, allocations: 39.91 kB / 0.7872 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001716/0.2697, allocations: 159.5 kB / 0.7873 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003964/0.2701, allocations: 415.2 kB / 0.7877 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2701, allocations: 0 / 0.7877 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2701, allocations: 0 / 0.7877 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.2701, allocations: 0 / 0.7877 GB, free: 9.027 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007689/0.2709, allocations: 0.6476 MB / 0.7883 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.271, allocations: 12.03 kB / 0.7884 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001217/0.2711, allocations: 28.75 kB / 0.7884 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003688/0.2715, allocations: 268 kB / 0.7886 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/0.2715, allocations: 16.38 kB / 0.7887 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.981e-05/0.2716, allocations: 32.36 kB / 0.7887 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002556/0.2718, allocations: 152.9 kB / 0.7888 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.2719, allocations: 192 / 0.7888 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.2719, allocations: 11.94 kB / 0.7888 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.2719, allocations: 0 / 0.7888 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/0.272, allocations: 87.89 kB / 0.7889 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008847/0.2729, allocations: 0.7109 MB / 0.7896 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002193/0.2732, allocations: 171.7 kB / 0.7898 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.495e-05/0.2732, allocations: 44.83 kB / 0.7898 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.2733, allocations: 0 / 0.7898 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003112/0.2736, allocations: 151.3 kB / 0.79 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=20): time 1.463e-06/0.2736, allocations: 4 kB / 0.79 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20): time 0.0004653/0.2741, allocations: 244.1 kB / 0.7902 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.2741, allocations: 67.33 kB / 0.7903 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.2743, allocations: 182.2 kB / 0.7904 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.771e-05/0.2744, allocations: 41.7 kB / 0.7905 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.2745, allocations: 116.5 kB / 0.7906 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.491e-05/0.2745, allocations: 51.38 kB / 0.7906 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002366/0.2748, allocations: 113.7 kB / 0.7908 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.2749, allocations: 338.8 kB / 0.7911 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003114/0.2753, allocations: 155.8 kB / 0.7912 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003745/0.2756, allocations: 238.2 kB / 0.7915 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004621/0.2761, allocations: 406.6 kB / 0.7918 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.2761, allocations: 4 kB / 0.7918 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00098/0.2771, allocations: 0.6167 MB / 0.7924 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001203/0.2772, allocations: 160.5 kB / 0.7926 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/0.2773, allocations: 3.938 kB / 0.7926 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.2773, allocations: 4 kB / 0.7926 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.325e-05/0.2773, allocations: 23.98 kB / 0.7926 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.2773, allocations: 4 kB / 0.7926 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008581/0.2782, allocations: 143.6 kB / 0.7928 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-05/0.2783, allocations: 27.98 kB / 0.7928 GB, free: 3.371 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,booPul4.y,$PRE.booPul4.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,mulOr5.uTemp[4],mulOr5.uTemp[3],mulOr5.uTemp[2],mulOr5.y,mulOr2.y,mulOr0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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.0001805/0.2785, allocations: 161.5 kB / 0.793 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.696e-05/0.2785, allocations: 19.81 kB / 0.793 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.47e-05/0.2786, allocations: 21.81 kB / 0.793 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.2786, allocations: 0 / 0.793 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.2786, allocations: 0 / 0.793 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.2786, allocations: 3.984 kB / 0.793 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006238/0.2792, allocations: 0.5099 MB / 0.7935 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.2792, allocations: 0 / 0.7935 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.046e-05/0.2793, allocations: 4 kB / 0.7935 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.2793, allocations: 0 / 0.7935 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.2793, allocations: 15.98 kB / 0.7935 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.2793, allocations: 0 / 0.7935 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.2793, allocations: 0 / 0.7935 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003651/0.2797, allocations: 285.5 kB / 0.7938 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.661e-05/0.2798, allocations: 100.8 kB / 0.7939 GB, free: 2.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.068e-05/0.2798, allocations: 0 / 0.7939 GB, free: 2.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.937e-05/0.2799, allocations: 4 kB / 0.7939 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.773e-05/0.28, allocations: 23.97 kB / 0.7939 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.28, allocations: 15.94 kB / 0.7939 GB, free: 2.117 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001094/0.2801, allocations: 124.2 kB / 0.794 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2801, allocations: 0 / 0.794 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004525/0.2806, allocations: 87.89 kB / 0.7941 GB, free: 1.91 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 (mulOr5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0002729/0.2809, allocations: 112.4 kB / 0.7942 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009118/0.2818, allocations: 0.6292 MB / 0.7948 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2818, allocations: 0 / 0.7948 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000125/0.2819, allocations: 75.91 kB / 0.7949 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004594/0.2824, allocations: 58.84 kB / 0.795 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006219/0.283, allocations: 339.3 kB / 0.7953 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.2834, allocations: 0.7242 MB / 0.796 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 7.095e-05/0.2835, allocations: 25.53 kB / 0.796 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.402e-05/0.2835, allocations: 15.44 kB / 0.796 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of SimCode: time 2.51e-07/0.2835, allocations: 4 kB / 0.796 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of Templates: time 0.008567/0.2921, allocations: 4.56 MB / 0.8005 GB, free: 11.32 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1)