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.001193/0.001193, allocations: 105.1 kB / 15.98 MB, free: 6.355 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.001149/0.001149, allocations: 196.5 kB / 16.91 MB, free: 6.191 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.61/1.61, allocations: 205.1 MB / 222.8 MB, free: 4.703 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.8/1.8, allocations: 292.3 MB / 0.5492 GB, free: 13.62 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.00144/0.00144, allocations: 72.48 kB / 0.6717 GB, free: 26.55 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2537, allocations: 114.5 MB / 0.7835 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.00223/0.2559, allocations: 0.9029 MB / 0.7844 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001862/0.2578, allocations: 1.477 MB / 0.7859 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.662e-05/0.2579, allocations: 4 kB / 0.7859 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001398/0.2581, allocations: 15.86 kB / 0.7859 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.764e-05/0.2581, allocations: 23.78 kB / 0.7859 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001264/0.2594, allocations: 496.4 kB / 0.7864 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005551/0.26, allocations: 0.4953 MB / 0.7869 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001633/0.2602, allocations: 37.48 kB / 0.7869 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001873/0.2603, allocations: 183.7 kB / 0.7871 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001662/0.2605, allocations: 151.5 kB / 0.7872 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.427e-05/0.2606, allocations: 40 kB / 0.7872 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001152/0.2607, allocations: 47.98 kB / 0.7873 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.828e-05/0.2608, allocations: 47.84 kB / 0.7873 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000189/0.261, allocations: 163.5 kB / 0.7875 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000303/0.2613, allocations: 295.6 kB / 0.7878 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2613, allocations: 0 / 0.7878 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2613, allocations: 0 / 0.7878 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.2613, allocations: 0 / 0.7878 GB, free: 9.508 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.0008195/0.2622, allocations: 0.6438 MB / 0.7884 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.2622, allocations: 8.031 kB / 0.7884 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001207/0.2623, allocations: 28.75 kB / 0.7884 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003238/0.2627, allocations: 267.9 kB / 0.7887 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.625e-05/0.2627, allocations: 20.38 kB / 0.7887 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.907e-05/0.2628, allocations: 36.36 kB / 0.7887 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002628/0.263, allocations: 150.7 kB / 0.7889 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.2631, allocations: 192 / 0.7889 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.145e-05/0.2631, allocations: 11.92 kB / 0.7889 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.2631, allocations: 7.938 kB / 0.7889 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001463/0.2633, allocations: 86.73 kB / 0.789 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000882/0.2641, allocations: 0.7031 MB / 0.7897 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/0.2644, allocations: 167.7 kB / 0.7898 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.888e-05/0.2644, allocations: 48.83 kB / 0.7899 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.2645, allocations: 4.188 kB / 0.7899 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002411/0.2647, allocations: 162.1 kB / 0.79 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=20): time 1.443e-06/0.2647, allocations: 0 / 0.79 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20): time 0.0004487/0.2652, allocations: 245.2 kB / 0.7903 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.358e-05/0.2652, allocations: 63.41 kB / 0.7903 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.2654, allocations: 187.2 kB / 0.7905 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.78e-05/0.2655, allocations: 37.7 kB / 0.7906 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.2656, allocations: 124.5 kB / 0.7907 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.234e-05/0.2656, allocations: 39.45 kB / 0.7907 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001804/0.2658, allocations: 113.6 kB / 0.7908 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.2659, allocations: 330.8 kB / 0.7911 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002979/0.2662, allocations: 159.8 kB / 0.7913 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003633/0.2666, allocations: 242.2 kB / 0.7915 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004381/0.267, allocations: 416.8 kB / 0.7919 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.2671, allocations: 0 / 0.7919 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009349/0.268, allocations: 0.6108 MB / 0.7925 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001102/0.2681, allocations: 160.5 kB / 0.7927 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.2681, allocations: 7.938 kB / 0.7927 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.2682, allocations: 8.344 kB / 0.7927 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.897e-05/0.2682, allocations: 15.92 kB / 0.7927 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.531e-05/0.2682, allocations: 4 kB / 0.7927 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007872/0.269, allocations: 147.5 kB / 0.7928 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-05/0.2691, allocations: 31.98 kB / 0.7929 GB, free: 3.844 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.0002034/0.2693, allocations: 157.6 kB / 0.793 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.684e-05/0.2693, allocations: 19.75 kB / 0.793 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.62e-05/0.2694, allocations: 21.81 kB / 0.7931 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.2694, allocations: 4 kB / 0.7931 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.2694, allocations: 4 kB / 0.7931 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.2694, allocations: 0 / 0.7931 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005623/0.27, allocations: 0.5125 MB / 0.7936 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.27, allocations: 0 / 0.7936 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.079e-05/0.27, allocations: 4 kB / 0.7936 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.27, allocations: 0 / 0.7936 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.2701, allocations: 11.98 kB / 0.7936 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2701, allocations: 0 / 0.7936 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2701, allocations: 0 / 0.7936 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002961/0.2704, allocations: 287.1 kB / 0.7939 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.155e-05/0.2704, allocations: 96.84 kB / 0.7939 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/0.2705, allocations: 4 kB / 0.794 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.871e-05/0.2705, allocations: 8 kB / 0.794 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.336e-05/0.2706, allocations: 19.97 kB / 0.794 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.2706, allocations: 12 kB / 0.794 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.658e-05/0.2707, allocations: 111.2 kB / 0.7941 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2707, allocations: 0 / 0.7941 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003801/0.2711, allocations: 91.89 kB / 0.7942 GB, free: 2.395 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.0001927/0.2713, allocations: 108.4 kB / 0.7943 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007825/0.2721, allocations: 0.6283 MB / 0.7949 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.2721, allocations: 0.6875 kB / 0.7949 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.2722, allocations: 79.91 kB / 0.795 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004496/0.2727, allocations: 62.97 kB / 0.795 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006358/0.2733, allocations: 405.8 kB / 0.7954 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/0.2737, allocations: 0.7281 MB / 0.7961 GB, free: 284 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.808e-05/0.2737, allocations: 19.44 kB / 0.7962 GB, free: 264 kB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2737, allocations: 0 / 0.7962 GB, free: 264 kB / 0.6075 GB Notification: Performance of Templates: time 0.005782/0.2795, allocations: 3.327 MB / 0.7994 GB, free: 12.96 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)