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.694/1.694, allocations: 289.9 MB / 297.4 MB, free: 6.391 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.001037/0.001036, allocations: 180.8 kB / 366.7 MB, free: 1.688 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.759/1.759, allocations: 205.3 MB / 0.626 GB, free: 7.184 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.0008909/0.0008914, allocations: 92.48 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.062e-05/2.064e-05, allocations: 4 kB / 0.8597 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6996/0.6996, allocations: 116.3 MB / 0.9733 GB, free: 76.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2005/0.9002, allocations: 138.6 MB / 1.109 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/0.9005, allocations: 70.44 kB / 1.109 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01998/0.9205, allocations: 6.746 MB / 1.115 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.477e-06/0.9205, allocations: 4 kB / 1.115 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.492e-05/0.9206, allocations: 0 / 1.115 GB, free: 4.852 MB / 0.7136 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.0009243/0.9215, allocations: 0.5637 MB / 1.116 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/0.9216, allocations: 10.28 kB / 1.116 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001773/0.9217, allocations: 27.81 kB / 1.116 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004458/0.9222, allocations: 266.8 kB / 1.116 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.9222, allocations: 7.984 kB / 1.116 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.255e-05/0.9223, allocations: 27.98 kB / 1.116 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001928/0.9225, allocations: 78.47 kB / 1.116 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002146/0.9227, allocations: 133 kB / 1.116 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.9228, allocations: 0 / 1.116 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.9228, allocations: 0 / 1.116 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.9228, allocations: 4 kB / 1.116 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009057/0.9237, allocations: 0.6571 MB / 1.117 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002069/0.9239, allocations: 171.7 kB / 1.117 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.397e-05/0.924, allocations: 36.86 kB / 1.117 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.924, allocations: 4.141 kB / 1.117 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002178/0.9243, allocations: 143.1 kB / 1.117 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=20): time 1.793e-06/0.9243, allocations: 0 / 1.117 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20): time 0.0003624/0.9246, allocations: 179.5 kB / 1.117 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.9247, allocations: 55.41 kB / 1.118 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.9248, allocations: 166.4 kB / 1.118 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.971e-05/0.9249, allocations: 33.7 kB / 1.118 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.925, allocations: 132.3 kB / 1.118 GB, free: 1.945 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.608e-05/0.9251, allocations: 41.56 kB / 1.118 GB, free: 1.906 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.284e-05/0.9251, allocations: 12 kB / 1.118 GB, free: 1.895 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.9253, allocations: 326.8 kB / 1.118 GB, free: 1.566 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002565/0.9255, allocations: 136 kB / 1.118 GB, free: 1.434 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002998/0.9258, allocations: 220.4 kB / 1.119 GB, free: 1.184 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006406/0.9265, allocations: 183.9 kB / 1.119 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.9265, allocations: 0 / 1.119 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001141/0.9277, allocations: 473 kB / 1.119 GB, free: 0.5352 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001265/0.9278, allocations: 160.5 kB / 1.119 GB, free: 356 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.9278, allocations: 7.938 kB / 1.119 GB, free: 348 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.9278, allocations: 4.344 kB / 1.119 GB, free: 344 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.269e-05/0.9279, allocations: 23.92 kB / 1.119 GB, free: 320 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.9279, allocations: 4 kB / 1.119 GB, free: 316 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00076/0.9287, allocations: 179.7 kB / 1.12 GB, free: 136 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.701e-05/0.9288, allocations: 31.97 kB / 1.12 GB, free: 104 kB / 0.7136 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.0001636/0.9289, allocations: 136.7 kB / 1.12 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.312e-05/0.929, allocations: 19.75 kB / 1.12 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.774e-05/0.929, allocations: 17.97 kB / 1.12 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.929, allocations: 4 kB / 1.12 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.929, allocations: 2.312 kB / 1.12 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.9291, allocations: 0 / 1.12 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000502/0.9296, allocations: 454.9 kB / 1.12 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.9296, allocations: 2.906 kB / 1.12 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.484e-05/0.9296, allocations: 15.94 kB / 1.12 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.9296, allocations: 0 / 1.12 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.9296, allocations: 4 kB / 1.12 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.9296, allocations: 0 / 1.12 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.9297, allocations: 0 / 1.12 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002787/0.9299, allocations: 273.8 kB / 1.12 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.145e-05/0.93, allocations: 88.92 kB / 1.121 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.44e-05/0.93, allocations: 3.953 kB / 1.121 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.964e-05/0.9301, allocations: 4 kB / 1.121 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.634e-05/0.9302, allocations: 19.97 kB / 1.121 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.9302, allocations: 15.98 kB / 1.121 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.888e-05/0.9303, allocations: 107.3 kB / 1.121 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9303, allocations: 0 / 1.121 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003701/0.9306, allocations: 76 kB / 1.121 GB, free: 14.8 MB / 0.7292 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.0001984/0.9309, allocations: 115.3 kB / 1.121 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00067/0.9315, allocations: 0.5885 MB / 1.121 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.9315, allocations: 0 / 1.121 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.9317, allocations: 71.88 kB / 1.122 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.932, allocations: 41.77 kB / 1.122 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004456/0.9325, allocations: 210.3 kB / 1.122 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.9328, allocations: 0.7399 MB / 1.122 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.724e-05/0.9329, allocations: 17.86 kB / 1.123 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.064e-05/0.9329, allocations: 27.42 kB / 1.123 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of SimCode: time 2.71e-07/0.9329, allocations: 5.125 kB / 1.123 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of Templates: time 0.007607/0.9405, allocations: 3.815 MB / 1.126 GB, free: 9.188 MB / 0.7292 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)