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.001469/0.001469, allocations: 102.9 kB / 16.29 MB, free: 6.43 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.00148/0.00148, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.699/1.699, allocations: 205.1 MB / 223.1 MB, free: 12.32 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 2.03/2.03, allocations: 292.3 MB / 0.5495 GB, free: 17.5 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.001477/0.001477, allocations: 71.89 kB / 0.6722 GB, free: 6.488 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3111, allocations: 114.6 MB / 0.7841 GB, free: 3.816 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002904/0.3141, allocations: 0.8295 MB / 0.7849 GB, free: 2.98 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002144/0.3163, allocations: 1.484 MB / 0.7864 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.509e-05/0.3164, allocations: 3.938 kB / 0.7864 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001416/0.3166, allocations: 15.8 kB / 0.7864 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.551e-05/0.3167, allocations: 27.72 kB / 0.7864 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001325/0.318, allocations: 0.5256 MB / 0.7869 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005993/0.3186, allocations: 499.3 kB / 0.7874 GB, free: 444 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002076/0.3188, allocations: 45.47 kB / 0.7874 GB, free: 396 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002113/0.319, allocations: 187.6 kB / 0.7876 GB, free: 208 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002997/0.3193, allocations: 179.4 kB / 0.7878 GB, free: 28 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.6092/0.9285, allocations: 38.61 kB / 0.7878 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003577/0.9289, allocations: 54.72 kB / 0.7879 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.373e-05/0.929, allocations: 34.2 kB / 0.7879 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002479/0.9293, allocations: 165.6 kB / 0.7881 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004926/0.9298, allocations: 409.7 kB / 0.7885 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.315e-06/0.9298, allocations: 0 / 0.7885 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.436e-06/0.9298, allocations: 0 / 0.7885 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.9298, allocations: 0.7188 kB / 0.7885 GB, free: 46.57 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.0007689/0.9306, allocations: 0.6512 MB / 0.7891 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.9306, allocations: 9.281 kB / 0.7891 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/0.9308, allocations: 29.44 kB / 0.7891 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003238/0.9311, allocations: 267.9 kB / 0.7894 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/0.9311, allocations: 16.81 kB / 0.7894 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.204e-05/0.9312, allocations: 29.97 kB / 0.7894 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002547/0.9315, allocations: 153 kB / 0.7896 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.9315, allocations: 192 / 0.7896 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.997e-05/0.9315, allocations: 11.3 kB / 0.7896 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.9315, allocations: 5.25 kB / 0.7896 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.9317, allocations: 80.3 kB / 0.7897 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007861/0.9324, allocations: 0.7022 MB / 0.7904 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/0.9326, allocations: 171.2 kB / 0.7905 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.632e-05/0.9327, allocations: 52.11 kB / 0.7906 GB, free: 45.26 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.358e-05/0.9327, allocations: 0 / 0.7906 GB, free: 45.26 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002224/0.933, allocations: 146.6 kB / 0.7907 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=20): time 1.934e-06/0.933, allocations: 3.719 kB / 0.7907 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20): time 0.0004613/0.9335, allocations: 246.3 kB / 0.7909 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/0.9335, allocations: 58.84 kB / 0.791 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.9337, allocations: 182 kB / 0.7912 GB, free: 45 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.955e-05/0.9337, allocations: 40.14 kB / 0.7912 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.9338, allocations: 132.4 kB / 0.7913 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.842e-05/0.9339, allocations: 36.92 kB / 0.7914 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001867/0.9341, allocations: 120.1 kB / 0.7915 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.373e-05/0.9341, allocations: 329 kB / 0.7918 GB, free: 44.53 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002928/0.9344, allocations: 153.7 kB / 0.7919 GB, free: 44.53 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003213/0.9348, allocations: 238.7 kB / 0.7922 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004104/0.9352, allocations: 412.1 kB / 0.7926 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.9352, allocations: 0 / 0.7926 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008948/0.9361, allocations: 0.6241 MB / 0.7932 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.747e-05/0.9362, allocations: 162.3 kB / 0.7933 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.9362, allocations: 7.375 kB / 0.7933 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.9362, allocations: 4.562 kB / 0.7933 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.589e-05/0.9363, allocations: 14.92 kB / 0.7934 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.9363, allocations: 4.719 kB / 0.7934 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006554/0.937, allocations: 141.4 kB / 0.7935 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.354e-05/0.937, allocations: 33.86 kB / 0.7935 GB, free: 43.8 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.0001582/0.9372, allocations: 156.2 kB / 0.7937 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/0.9372, allocations: 21.95 kB / 0.7937 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.644e-05/0.9373, allocations: 22.72 kB / 0.7937 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.9373, allocations: 0.7812 kB / 0.7937 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.9373, allocations: 0 / 0.7937 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.9373, allocations: 0 / 0.7937 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004668/0.9378, allocations: 0.5139 MB / 0.7942 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.9378, allocations: 0 / 0.7942 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.645e-05/0.9378, allocations: 9.688 kB / 0.7942 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.9378, allocations: 3.5 kB / 0.7942 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.9378, allocations: 2.062 kB / 0.7942 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.9379, allocations: 5.312 kB / 0.7942 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.9379, allocations: 2.188 kB / 0.7942 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002498/0.9381, allocations: 292.6 kB / 0.7945 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.414e-05/0.9382, allocations: 90.17 kB / 0.7946 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.462e-05/0.9382, allocations: 2.625 kB / 0.7946 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.204e-05/0.9383, allocations: 6.797 kB / 0.7946 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.357e-05/0.9383, allocations: 14.59 kB / 0.7946 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.9383, allocations: 13.66 kB / 0.7946 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.955e-05/0.9384, allocations: 125.8 kB / 0.7948 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.9384, allocations: 0 / 0.7948 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003357/0.9388, allocations: 87.62 kB / 0.7948 GB, free: 43.04 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.0001823/0.9389, allocations: 113.5 kB / 0.795 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006783/0.9396, allocations: 0.6157 MB / 0.7956 GB, free: 42.64 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.9396, allocations: 0 / 0.7956 GB, free: 42.64 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.9398, allocations: 77.52 kB / 0.7956 GB, free: 42.64 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004324/0.9402, allocations: 59.78 kB / 0.7957 GB, free: 42.63 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005653/0.9408, allocations: 325.9 kB / 0.796 GB, free: 42.46 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002282/0.941, allocations: 0.7239 MB / 0.7967 GB, free: 41.76 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 6.195e-05/0.9411, allocations: 24.86 kB / 0.7967 GB, free: 41.76 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.832e-05/0.9411, allocations: 21.98 kB / 0.7968 GB, free: 41.76 MB / 0.6544 GB Notification: Performance of SimCode: time 2.9e-07/0.9411, allocations: 0 / 0.7968 GB, free: 41.76 MB / 0.6544 GB Notification: Performance of Templates: time 0.01045/0.9516, allocations: 4.555 MB / 0.8012 GB, free: 41.51 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1)