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.001603/0.001603, allocations: 108.2 kB / 16.36 MB, free: 5.965 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.001738/0.001738, allocations: 190 kB / 17.3 MB, free: 5.578 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.447/1.447, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.877/1.877, allocations: 292.3 MB / 0.5496 GB, free: 17.52 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.001546/0.001546, allocations: 63.91 kB / 0.6729 GB, free: 5.879 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.2952, allocations: 114.6 MB / 0.7848 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002371/0.2976, allocations: 0.8618 MB / 0.7856 GB, free: 2.336 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001896/0.2995, allocations: 1.457 MB / 0.7871 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.241e-05/0.2996, allocations: 8 kB / 0.7871 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001256/0.2998, allocations: 23.73 kB / 0.7871 GB, free: 0.832 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.816e-05/0.2999, allocations: 27.72 kB / 0.7871 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001369/0.3013, allocations: 0.5211 MB / 0.7876 GB, free: 304 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.4333/0.7345, allocations: 0.4896 MB / 0.7881 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002777/0.7349, allocations: 40.56 kB / 0.7881 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004313/0.7353, allocations: 183.7 kB / 0.7883 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003791/0.7357, allocations: 176 kB / 0.7885 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000134/0.7359, allocations: 40.69 kB / 0.7885 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001776/0.736, allocations: 57.08 kB / 0.7886 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.014e-05/0.7361, allocations: 39.92 kB / 0.7886 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000254/0.7364, allocations: 163.9 kB / 0.7888 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006679/0.7371, allocations: 413.9 kB / 0.7892 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.7371, allocations: 2.75 kB / 0.7892 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of FrontEnd: time 4.609e-06/0.7371, allocations: 0 / 0.7892 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.232e-05/0.7371, allocations: 3.938 kB / 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.000951/0.7381, allocations: 0.6371 MB / 0.7898 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.7381, allocations: 9.906 kB / 0.7898 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001465/0.7383, allocations: 29.44 kB / 0.7898 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003872/0.7387, allocations: 266.9 kB / 0.7901 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.017e-05/0.7387, allocations: 17.56 kB / 0.7901 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.582e-05/0.7388, allocations: 28.78 kB / 0.7901 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003006/0.7391, allocations: 156.4 kB / 0.7903 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.7391, allocations: 0.8438 kB / 0.7903 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.232e-05/0.7392, allocations: 9.25 kB / 0.7903 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.7392, allocations: 2.625 kB / 0.7903 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001534/0.7393, allocations: 80.45 kB / 0.7904 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008721/0.7402, allocations: 0.7071 MB / 0.7911 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.7405, allocations: 174.2 kB / 0.7912 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.373e-05/0.7405, allocations: 44.05 kB / 0.7913 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.7406, allocations: 3.844 kB / 0.7913 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003749/0.7409, allocations: 154.7 kB / 0.7914 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=20): time 1.804e-06/0.741, allocations: 3.938 kB / 0.7914 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20): time 0.0004685/0.7414, allocations: 244.5 kB / 0.7917 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.7415, allocations: 55.44 kB / 0.7917 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.7416, allocations: 187.5 kB / 0.7919 GB, free: 45.03 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.394e-05/0.7417, allocations: 39.64 kB / 0.7919 GB, free: 45 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.934e-05/0.7418, allocations: 131.7 kB / 0.7921 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.383e-05/0.7418, allocations: 34.64 kB / 0.7921 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002551/0.7421, allocations: 119.4 kB / 0.7922 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.563e-05/0.7422, allocations: 327.8 kB / 0.7925 GB, free: 44.56 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005064/0.7427, allocations: 155.1 kB / 0.7927 GB, free: 44.56 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005505/0.7433, allocations: 245.6 kB / 0.7929 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004587/0.7438, allocations: 412.3 kB / 0.7933 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.7438, allocations: 2.531 kB / 0.7933 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009279/0.7447, allocations: 0.6155 MB / 0.7939 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 8.102e-05/0.7448, allocations: 161.8 kB / 0.794 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.7448, allocations: 7.719 kB / 0.7941 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.435e-05/0.7448, allocations: 3.969 kB / 0.7941 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.063e-05/0.7449, allocations: 17.08 kB / 0.7941 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.7449, allocations: 5.406 kB / 0.7941 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007478/0.7457, allocations: 138 kB / 0.7942 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.364e-05/0.7457, allocations: 32.2 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.0001951/0.7459, allocations: 156.7 kB / 0.7944 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.318e-05/0.746, allocations: 15.78 kB / 0.7944 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.006e-05/0.746, allocations: 28.11 kB / 0.7944 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.7461, allocations: 3.375 kB / 0.7944 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.7461, allocations: 1.188 kB / 0.7944 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.7461, allocations: 1.172 kB / 0.7944 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000512/0.7466, allocations: 0.5078 MB / 0.7949 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.7466, allocations: 4 kB / 0.7949 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.057e-05/0.7466, allocations: 9.875 kB / 0.7949 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.7467, allocations: 0 / 0.7949 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.7467, allocations: 9.906 kB / 0.795 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.7467, allocations: 0 / 0.795 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.7467, allocations: 4.547 kB / 0.795 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002689/0.747, allocations: 284.7 kB / 0.7952 GB, free: 43.26 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.395e-05/0.747, allocations: 91.2 kB / 0.7953 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.7471, allocations: 11.06 kB / 0.7953 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.852e-05/0.7471, allocations: 2.375 kB / 0.7953 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.079e-05/0.7472, allocations: 22.81 kB / 0.7954 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.7472, allocations: 10.38 kB / 0.7954 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.003e-05/0.7473, allocations: 127.1 kB / 0.7955 GB, free: 43.07 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7473, allocations: 0 / 0.7955 GB, free: 43.07 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004084/0.7477, allocations: 82.09 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.0002171/0.748, allocations: 114.7 kB / 0.7957 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007444/0.7487, allocations: 0.6194 MB / 0.7963 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.7487, allocations: 0 / 0.7963 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.7488, allocations: 77.58 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.0004259/0.7493, allocations: 52.81 kB / 0.7964 GB, free: 42.65 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000578/0.7499, allocations: 317 kB / 0.7967 GB, free: 42.49 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002048/0.7501, allocations: 0.7225 MB / 0.7974 GB, free: 41.79 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 8.275e-05/0.7502, allocations: 30.88 kB / 0.7974 GB, free: 41.79 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.821e-05/0.7502, allocations: 17.69 kB / 0.7975 GB, free: 41.78 MB / 0.6544 GB Notification: Performance of SimCode: time 6.81e-07/0.7502, allocations: 0 / 0.7975 GB, free: 41.78 MB / 0.6544 GB Notification: Performance of Templates: time 0.01136/0.7616, allocations: 4.559 MB / 0.8019 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1)