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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.658/1.658, allocations: 289.7 MB / 302.2 MB, free: 2.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001243/0.001243, allocations: 182.5 kB / 371.6 MB, free: 3.375 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.606/1.606, allocations: 205.1 MB / 0.6309 GB, free: 11.76 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009653/0.0009653, allocations: 89.55 kB / 0.745 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.753e-05/4.757e-05, allocations: 4 kB / 0.8663 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3122, allocations: 116.3 MB / 0.9798 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9519/1.264, allocations: 139.2 MB / 1.116 GB, free: 44.53 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002159/1.264, allocations: 73.89 kB / 1.116 GB, free: 44.5 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01804/1.282, allocations: 6.766 MB / 1.122 GB, free: 40.7 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.506e-06/1.283, allocations: 3.422 kB / 1.122 GB, free: 40.7 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.729e-05/1.283, allocations: 4 kB / 1.122 GB, free: 40.7 MB / 0.7448 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.0005534/1.283, allocations: 0.5539 MB / 1.123 GB, free: 40.12 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/1.283, allocations: 12.22 kB / 1.123 GB, free: 40.11 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/1.283, allocations: 33.44 kB / 1.123 GB, free: 40.07 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003804/1.284, allocations: 258.3 kB / 1.123 GB, free: 39.83 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.663e-05/1.284, allocations: 22.52 kB / 1.123 GB, free: 39.82 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.119e-05/1.284, allocations: 30.19 kB / 1.123 GB, free: 39.79 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002649/1.284, allocations: 154.2 kB / 1.124 GB, free: 39.69 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/1.284, allocations: 0 / 1.124 GB, free: 39.69 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/1.284, allocations: 4 kB / 1.124 GB, free: 39.68 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/1.284, allocations: 0 / 1.124 GB, free: 39.68 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/1.284, allocations: 79.92 kB / 1.124 GB, free: 39.64 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007883/1.285, allocations: 0.7014 MB / 1.124 GB, free: 39.15 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/1.285, allocations: 179.5 kB / 1.124 GB, free: 38.98 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.617e-05/1.285, allocations: 41.62 kB / 1.124 GB, free: 38.95 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/1.285, allocations: 4 kB / 1.124 GB, free: 38.95 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001962/1.286, allocations: 154.7 kB / 1.125 GB, free: 38.84 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=20): time 1.593e-06/1.286, allocations: 0 / 1.125 GB, free: 38.84 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20): time 0.0003446/1.286, allocations: 184.4 kB / 1.125 GB, free: 38.69 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/1.286, allocations: 62.66 kB / 1.125 GB, free: 38.62 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/1.286, allocations: 165.9 kB / 1.125 GB, free: 38.48 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.778e-05/1.286, allocations: 42.17 kB / 1.125 GB, free: 38.45 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.159e-05/1.286, allocations: 127.2 kB / 1.125 GB, free: 38.33 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/1.286, allocations: 38.23 kB / 1.125 GB, free: 38.3 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.618e-05/1.286, allocations: 11.88 kB / 1.125 GB, free: 38.3 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.181e-05/1.286, allocations: 329.1 kB / 1.126 GB, free: 37.98 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000257/1.287, allocations: 151.6 kB / 1.126 GB, free: 37.89 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002826/1.287, allocations: 233.7 kB / 1.126 GB, free: 37.69 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002829/1.287, allocations: 295.9 kB / 1.126 GB, free: 37.44 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/1.287, allocations: 4 kB / 1.126 GB, free: 37.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007871/1.288, allocations: 0.6086 MB / 1.127 GB, free: 36.95 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.517e-05/1.288, allocations: 159 kB / 1.127 GB, free: 36.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/1.288, allocations: 4 kB / 1.127 GB, free: 36.77 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.186e-05/1.288, allocations: 7.938 kB / 1.127 GB, free: 36.76 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.623e-05/1.288, allocations: 20 kB / 1.127 GB, free: 36.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/1.288, allocations: 8.625 kB / 1.127 GB, free: 36.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007314/1.289, allocations: 185.2 kB / 1.127 GB, free: 36.61 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.298e-05/1.289, allocations: 34.58 kB / 1.127 GB, free: 36.58 MB / 0.7448 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,mulOr2.y,mulOr5.y,mulOr5.uTemp[2],mulOr5.uTemp[3],mulOr5.uTemp[4],$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,$PRE.booPul4.y,booPul4.y,$PRE.booPul5.y,booPul5.y,mulOr0.y) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001248/1.289, allocations: 143.3 kB / 1.127 GB, free: 36.45 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.506e-05/1.289, allocations: 15.81 kB / 1.127 GB, free: 36.43 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.885e-05/1.289, allocations: 17.16 kB / 1.127 GB, free: 36.43 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/1.289, allocations: 9.031 kB / 1.127 GB, free: 36.42 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/1.289, allocations: 0.8125 kB / 1.127 GB, free: 36.42 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/1.289, allocations: 3.938 kB / 1.127 GB, free: 36.42 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004401/1.29, allocations: 0.4944 MB / 1.128 GB, free: 35.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/1.29, allocations: 0 / 1.128 GB, free: 35.98 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.118e-05/1.29, allocations: 15.3 kB / 1.128 GB, free: 35.97 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/1.29, allocations: 0 / 1.128 GB, free: 35.97 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/1.29, allocations: 4.5 kB / 1.128 GB, free: 35.97 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/1.29, allocations: 0 / 1.128 GB, free: 35.97 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/1.29, allocations: 4.781 kB / 1.128 GB, free: 35.96 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002273/1.29, allocations: 283.3 kB / 1.128 GB, free: 35.73 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.338e-05/1.29, allocations: 93.97 kB / 1.128 GB, free: 35.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.444e-05/1.29, allocations: 3.812 kB / 1.128 GB, free: 35.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.041e-05/1.29, allocations: 7.375 kB / 1.128 GB, free: 35.61 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.89e-05/1.29, allocations: 18.64 kB / 1.128 GB, free: 35.61 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/1.29, allocations: 8.5 kB / 1.128 GB, free: 35.6 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.362e-05/1.29, allocations: 118.2 kB / 1.128 GB, free: 35.5 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.29, allocations: 4.594 kB / 1.128 GB, free: 35.5 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003332/1.291, allocations: 83.34 kB / 1.128 GB, free: 35.42 MB / 0.7448 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001922/1.291, allocations: 114.1 kB / 1.129 GB, free: 35.31 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006459/1.292, allocations: 0.6077 MB / 1.129 GB, free: 34.78 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.292, allocations: 128 / 1.129 GB, free: 34.78 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.701e-05/1.292, allocations: 78.48 kB / 1.129 GB, free: 34.72 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/1.292, allocations: 39.84 kB / 1.129 GB, free: 34.7 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004093/1.292, allocations: 227.7 kB / 1.13 GB, free: 34.51 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000174/1.293, allocations: 0.7368 MB / 1.13 GB, free: 33.77 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.928e-05/1.293, allocations: 20.31 kB / 1.13 GB, free: 33.76 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.385e-05/1.293, allocations: 19.44 kB / 1.13 GB, free: 33.74 MB / 0.7448 GB Notification: Performance of SimCode: time 5.31e-07/1.293, allocations: 0 / 1.13 GB, free: 33.74 MB / 0.7448 GB Notification: Performance of Templates: time 0.007508/1.3, allocations: 4.119 MB / 1.134 GB, free: 31.48 MB / 0.7448 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)