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.001647/0.001647, allocations: 104.7 kB / 16.36 MB, free: 6.305 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.001707/0.001707, allocations: 192.5 kB / 17.29 MB, free: 5.875 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.383/1.383, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.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.928/1.928, allocations: 292.3 MB / 0.5496 GB, free: 17.58 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.001451/0.001451, allocations: 71.89 kB / 0.6729 GB, free: 5.785 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2352, allocations: 114.5 MB / 0.7848 GB, free: 3.117 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002127/0.2373, allocations: 0.8567 MB / 0.7856 GB, free: 2.258 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001912/0.2393, allocations: 1.464 MB / 0.7871 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.217e-05/0.2394, allocations: 0 / 0.7871 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001354/0.2396, allocations: 23.8 kB / 0.7871 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.584e-05/0.2396, allocations: 35.7 kB / 0.7871 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.2409, allocations: 0.5143 MB / 0.7876 GB, free: 224 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.4166/0.6575, allocations: 0.4957 MB / 0.7881 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001958/0.6578, allocations: 38.09 kB / 0.7881 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002615/0.658, allocations: 187.6 kB / 0.7883 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002417/0.6583, allocations: 174.8 kB / 0.7885 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.832e-05/0.6584, allocations: 45.62 kB / 0.7885 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.6585, allocations: 52.28 kB / 0.7886 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.732e-05/0.6586, allocations: 40.2 kB / 0.7886 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001752/0.6587, allocations: 161.5 kB / 0.7888 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004115/0.6592, allocations: 409.9 kB / 0.7892 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.6592, allocations: 3.938 kB / 0.7892 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6592, allocations: 1.594 kB / 0.7892 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.6592, allocations: 0 / 0.7892 GB, free: 46.61 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006622/0.6599, allocations: 0.6454 MB / 0.7898 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.6599, allocations: 11.03 kB / 0.7898 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.953e-05/0.66, allocations: 27.12 kB / 0.7898 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002868/0.6603, allocations: 268.8 kB / 0.7901 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.434e-05/0.6603, allocations: 16.78 kB / 0.7901 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.148e-05/0.6604, allocations: 31.55 kB / 0.7901 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002258/0.6606, allocations: 153.7 kB / 0.7903 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.6607, allocations: 192 / 0.7903 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.004e-05/0.6607, allocations: 15.03 kB / 0.7903 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.83e-06/0.6607, allocations: 2.625 kB / 0.7903 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.6608, allocations: 80.84 kB / 0.7904 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007973/0.6616, allocations: 0.702 MB / 0.7911 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.6618, allocations: 171.7 kB / 0.7912 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.897e-05/0.6619, allocations: 48.86 kB / 0.7913 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.6619, allocations: 4.562 kB / 0.7913 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002282/0.6621, allocations: 153.6 kB / 0.7914 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=20): time 1.523e-06/0.6622, allocations: 3.844 kB / 0.7914 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20): time 0.0004289/0.6626, allocations: 245.7 kB / 0.7917 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.6626, allocations: 54.03 kB / 0.7917 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.6628, allocations: 183.3 kB / 0.7919 GB, free: 45.03 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.282e-05/0.6628, allocations: 42.77 kB / 0.7919 GB, free: 45 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.102e-05/0.6629, allocations: 125.9 kB / 0.7921 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.663, allocations: 44.34 kB / 0.7921 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001826/0.6631, allocations: 113.9 kB / 0.7922 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.832e-05/0.6632, allocations: 328.8 kB / 0.7925 GB, free: 44.56 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002753/0.6635, allocations: 155.8 kB / 0.7927 GB, free: 44.56 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002967/0.6638, allocations: 238.3 kB / 0.7929 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003625/0.6642, allocations: 415.1 kB / 0.7933 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.6642, allocations: 0 / 0.7933 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008831/0.6651, allocations: 0.6237 MB / 0.7939 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 8.561e-05/0.6652, allocations: 162.8 kB / 0.7941 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.6652, allocations: 7.438 kB / 0.7941 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.6652, allocations: 3.5 kB / 0.7941 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.719e-05/0.6652, allocations: 10.03 kB / 0.7941 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.6653, allocations: 8.156 kB / 0.7941 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007383/0.666, allocations: 137.7 kB / 0.7942 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.088e-05/0.6661, allocations: 35.08 kB / 0.7942 GB, free: 43.84 MB / 0.6544 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.0001442/0.6662, allocations: 155.2 kB / 0.7944 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.6663, allocations: 18.8 kB / 0.7944 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.138e-05/0.6663, allocations: 20 kB / 0.7944 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.6663, allocations: 5.203 kB / 0.7944 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.6663, allocations: 1.031 kB / 0.7944 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.6663, allocations: 3.984 kB / 0.7944 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004399/0.6668, allocations: 0.5068 MB / 0.7949 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.6668, allocations: 4.453 kB / 0.7949 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.82e-05/0.6668, allocations: 9.344 kB / 0.7949 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.6668, allocations: 352 / 0.7949 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.6668, allocations: 17.12 kB / 0.795 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.6669, allocations: 0 / 0.795 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.6669, allocations: 3.469 kB / 0.795 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002314/0.6671, allocations: 281.4 kB / 0.7952 GB, free: 43.26 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.434e-05/0.6671, allocations: 88.33 kB / 0.7953 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.6672, allocations: 4.312 kB / 0.7953 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.695e-05/0.6672, allocations: 7.359 kB / 0.7953 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.677e-05/0.6673, allocations: 21.88 kB / 0.7954 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.6673, allocations: 11.25 kB / 0.7954 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.703e-05/0.6674, allocations: 131 kB / 0.7955 GB, free: 43.07 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6674, allocations: 0 / 0.7955 GB, free: 43.07 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003545/0.6678, allocations: 82.28 kB / 0.7956 GB, free: 43.07 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: 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.0001553/0.6679, allocations: 113.2 kB / 0.7957 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006373/0.6686, allocations: 0.6182 MB / 0.7963 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.6686, allocations: 1.125 kB / 0.7963 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001076/0.6687, allocations: 88.95 kB / 0.7964 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004179/0.6691, allocations: 45.27 kB / 0.7964 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000541/0.6697, allocations: 353.7 kB / 0.7967 GB, free: 42.46 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001802/0.6699, allocations: 0.7251 MB / 0.7975 GB, free: 41.76 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.783e-05/0.6699, allocations: 24.56 kB / 0.7975 GB, free: 41.75 MB / 0.6544 GB Notification: Performance of SimCode: time 3.01e-07/0.6699, allocations: 1.688 kB / 0.7975 GB, free: 41.75 MB / 0.6544 GB Notification: Performance of Templates: time 0.006118/0.676, allocations: 3.322 MB / 0.8007 GB, free: 41.53 MB / 0.6544 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)