Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.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.MultiAnd,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 108 kB / 15.61 MB, free: 148 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.001818/0.001818, allocations: 194.2 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.773/1.773, allocations: 205.1 MB / 222.4 MB, free: 4.555 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.902/1.902, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001445/0.001445, allocations: 68.91 kB / 0.6715 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.2557, 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.MultiAnd): time 0.002526/0.2583, allocations: 0.8449 MB / 0.7842 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002032/0.2603, allocations: 1.476 MB / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.839e-05/0.2604, allocations: 4 kB / 0.7857 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001201/0.2606, allocations: 19.8 kB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.165e-05/0.2607, allocations: 35.64 kB / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001264/0.2619, allocations: 0.5114 MB / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005146/0.2625, allocations: 0.4914 MB / 0.7867 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.2626, allocations: 41.47 kB / 0.7867 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002225/0.2629, allocations: 183.7 kB / 0.7869 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002029/0.2631, allocations: 143.6 kB / 0.787 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.162e-05/0.2632, allocations: 40 kB / 0.7871 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001332/0.2633, allocations: 55.92 kB / 0.7871 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.827e-05/0.2634, allocations: 43.91 kB / 0.7872 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001963/0.2636, allocations: 163.4 kB / 0.7873 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004594/0.2641, allocations: 407.2 kB / 0.7877 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.2641, allocations: 4 kB / 0.7877 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.442e-06/0.2641, allocations: 0 / 0.7877 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.2641, 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.0008432/0.2649, allocations: 0.6437 MB / 0.7883 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.265, allocations: 12.03 kB / 0.7884 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/0.2651, allocations: 28.75 kB / 0.7884 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003386/0.2655, allocations: 264 kB / 0.7886 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.772e-05/0.2655, allocations: 24.31 kB / 0.7887 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.757e-05/0.2656, allocations: 32.36 kB / 0.7887 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002538/0.2658, allocations: 152.9 kB / 0.7888 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.2659, allocations: 192 / 0.7888 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/0.2659, allocations: 7.938 kB / 0.7888 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.2659, allocations: 4 kB / 0.7888 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001513/0.266, allocations: 83.89 kB / 0.7889 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000914/0.267, allocations: 0.7109 MB / 0.7896 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002129/0.2672, allocations: 171.7 kB / 0.7898 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.501e-05/0.2673, allocations: 52.83 kB / 0.7898 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.101e-05/0.2673, allocations: 0 / 0.7898 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003/0.2676, allocations: 157.9 kB / 0.79 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=20): time 1.423e-06/0.2676, allocations: 0 / 0.79 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20): time 0.0004593/0.2681, allocations: 237.3 kB / 0.7902 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/0.2681, allocations: 67.31 kB / 0.7903 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.2683, allocations: 182.2 kB / 0.7904 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.447e-05/0.2684, allocations: 37.7 kB / 0.7905 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.2685, allocations: 128.4 kB / 0.7906 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.712e-05/0.2685, allocations: 47.44 kB / 0.7907 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002058/0.2687, allocations: 109.6 kB / 0.7908 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.2689, allocations: 330.8 kB / 0.7911 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003394/0.2692, allocations: 163.9 kB / 0.7912 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003735/0.2696, allocations: 238.2 kB / 0.7915 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004831/0.2701, allocations: 402.6 kB / 0.7918 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.2701, allocations: 4 kB / 0.7918 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001007/0.2711, allocations: 0.6125 MB / 0.7924 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001141/0.2713, allocations: 164.5 kB / 0.7926 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.2713, allocations: 7.938 kB / 0.7926 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.2713, allocations: 4 kB / 0.7926 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.069e-05/0.2714, allocations: 12.27 kB / 0.7926 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/0.2714, allocations: 8 kB / 0.7926 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008324/0.2722, allocations: 143.6 kB / 0.7928 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.248e-05/0.2723, allocations: 39.97 kB / 0.7928 GB, free: 3.367 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,mulAnd5.uTemp[4],mulAnd5.uTemp[3],mulAnd5.uTemp[2],mulAnd5.y,mulAnd2.y,mulAnd0.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.0001863/0.2725, allocations: 155.1 kB / 0.793 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.608e-05/0.2725, allocations: 15.81 kB / 0.793 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.532e-05/0.2726, allocations: 21.81 kB / 0.793 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.2726, allocations: 4 kB / 0.793 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.2726, allocations: 0 / 0.793 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.2726, allocations: 3.984 kB / 0.793 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005739/0.2732, allocations: 0.5126 MB / 0.7935 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2732, allocations: 0 / 0.7935 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.103e-05/0.2732, allocations: 8 kB / 0.7935 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.2732, allocations: 3.984 kB / 0.7935 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.2732, allocations: 7.984 kB / 0.7935 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.2732, allocations: 0 / 0.7935 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.2733, allocations: 0 / 0.7935 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002981/0.2736, allocations: 291.1 kB / 0.7938 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.437e-05/0.2736, allocations: 92.86 kB / 0.7939 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.523e-05/0.2737, allocations: 8 kB / 0.7939 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.467e-05/0.2737, allocations: 0 / 0.7939 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.895e-05/0.2738, allocations: 23.91 kB / 0.7939 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.2738, allocations: 12 kB / 0.7939 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.069e-05/0.2739, allocations: 120.2 kB / 0.794 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2739, allocations: 4 kB / 0.794 GB, free: 2 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003753/0.2743, allocations: 83.89 kB / 0.7941 GB, free: 1.918 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 (mulAnd5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulAnd2.y,mulAnd5.y,mulAnd5.uTemp[3],mulAnd5.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.0001893/0.2745, allocations: 120.4 kB / 0.7942 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008286/0.2753, allocations: 0.6179 MB / 0.7948 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.2753, allocations: 0 / 0.7948 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.2754, allocations: 75.91 kB / 0.7949 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004413/0.2759, allocations: 65.92 kB / 0.795 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006033/0.2765, allocations: 332.2 kB / 0.7953 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.2768, allocations: 0.7281 MB / 0.796 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 6.766e-05/0.2769, allocations: 21.55 kB / 0.796 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.723e-05/0.277, allocations: 19.44 kB / 0.796 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of SimCode: time 3.61e-07/0.277, allocations: 0 / 0.796 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of Templates: time 0.008779/0.2857, allocations: 4.572 MB / 0.8005 GB, free: 11.32 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1)