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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.667/1.667, allocations: 292.6 MB / 307.5 MB, free: 5.242 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.001501/0.001501, allocations: 188.9 kB / 377.1 MB, free: 1.523 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.78/1.78, allocations: 205.4 MB / 0.6366 GB, free: 8.562 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.0008146/0.0008145, allocations: 89.17 kB / 0.7509 GB, free: 63.14 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003432/0.0003432, allocations: 12 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2656, allocations: 116.3 MB / 0.9884 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6673/0.9329, allocations: 139.3 MB / 1.124 GB, free: 35.31 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001957/0.9332, allocations: 75.02 kB / 1.125 GB, free: 35.25 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01763/0.9508, allocations: 6.795 MB / 1.131 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.023e-06/0.9508, allocations: 0.8438 kB / 1.131 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.234e-05/0.9509, allocations: 11.94 kB / 1.131 GB, free: 30.52 MB / 0.7292 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.000563/0.9514, allocations: 0.5869 MB / 1.132 GB, free: 29.88 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.9515, allocations: 12.02 kB / 1.132 GB, free: 29.87 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.573e-05/0.9515, allocations: 41.75 kB / 1.132 GB, free: 29.82 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.214e-05/0.9516, allocations: 35 kB / 1.132 GB, free: 29.79 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003876/0.952, allocations: 261 kB / 1.132 GB, free: 29.53 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.702e-05/0.952, allocations: 22.19 kB / 1.132 GB, free: 29.51 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.265e-05/0.9521, allocations: 31.44 kB / 1.132 GB, free: 29.48 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000224/0.9524, allocations: 143.3 kB / 1.132 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.9524, allocations: 1.156 kB / 1.132 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.9524, allocations: 11.56 kB / 1.132 GB, free: 29.35 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.9524, allocations: 4 kB / 1.132 GB, free: 29.35 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.9525, allocations: 81.62 kB / 1.132 GB, free: 29.28 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008338/0.9534, allocations: 0.6994 MB / 1.133 GB, free: 28.68 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.9536, allocations: 177.2 kB / 1.133 GB, free: 28.5 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.9536, allocations: 192 / 1.133 GB, free: 28.5 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002208/0.9538, allocations: 163.2 kB / 1.133 GB, free: 28.36 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=20): time 1.563e-06/0.9538, allocations: 0 / 1.133 GB, free: 28.36 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20): time 0.0003979/0.9542, allocations: 242.4 kB / 1.134 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/0.9543, allocations: 56.72 kB / 1.134 GB, free: 28.07 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.9544, allocations: 163.6 kB / 1.134 GB, free: 27.92 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.135e-05/0.9544, allocations: 42.27 kB / 1.134 GB, free: 27.88 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.402e-05/0.9545, allocations: 129 kB / 1.134 GB, free: 27.75 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.874e-05/0.9546, allocations: 38.89 kB / 1.134 GB, free: 27.71 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-05/0.9546, allocations: 12.61 kB / 1.134 GB, free: 27.7 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.869e-05/0.9547, allocations: 336.4 kB / 1.134 GB, free: 27.37 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002849/0.955, allocations: 151.6 kB / 1.135 GB, free: 27.25 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003277/0.9553, allocations: 238.5 kB / 1.135 GB, free: 27 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002812/0.9556, allocations: 291.3 kB / 1.135 GB, free: 26.7 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.9556, allocations: 0 / 1.135 GB, free: 26.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008261/0.9564, allocations: 0.6087 MB / 1.136 GB, free: 26.11 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.731e-05/0.9565, allocations: 165.6 kB / 1.136 GB, free: 25.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.9566, allocations: 4.516 kB / 1.136 GB, free: 25.93 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.9566, allocations: 8.938 kB / 1.136 GB, free: 25.92 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.956e-05/0.9566, allocations: 14.14 kB / 1.136 GB, free: 25.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.9566, allocations: 4.562 kB / 1.136 GB, free: 25.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007382/0.9574, allocations: 185.1 kB / 1.136 GB, free: 25.76 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.571e-05/0.9574, allocations: 34.8 kB / 1.136 GB, free: 25.73 MB / 0.7292 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001391/0.9576, allocations: 158.2 kB / 1.136 GB, free: 25.57 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.112e-05/0.9576, allocations: 16.38 kB / 1.136 GB, free: 25.56 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.209e-05/0.9577, allocations: 27.19 kB / 1.136 GB, free: 25.54 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.9577, allocations: 1.219 kB / 1.136 GB, free: 25.54 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.9577, allocations: 4.656 kB / 1.136 GB, free: 25.54 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.9577, allocations: 1.344 kB / 1.136 GB, free: 25.54 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004751/0.9582, allocations: 0.5013 MB / 1.137 GB, free: 25.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.9582, allocations: 0 / 1.137 GB, free: 25.03 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.874e-05/0.9582, allocations: 9.453 kB / 1.137 GB, free: 25.02 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.9582, allocations: 0 / 1.137 GB, free: 25.02 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.9582, allocations: 6.109 kB / 1.137 GB, free: 25.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.9582, allocations: 4.703 kB / 1.137 GB, free: 25.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.9583, allocations: 0 / 1.137 GB, free: 25.02 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002406/0.9585, allocations: 285.7 kB / 1.137 GB, free: 24.74 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.31e-05/0.9585, allocations: 90.12 kB / 1.137 GB, free: 24.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.9586, allocations: 5.359 kB / 1.137 GB, free: 24.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.419e-05/0.9586, allocations: 5.5 kB / 1.137 GB, free: 24.62 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.94e-05/0.9587, allocations: 19.27 kB / 1.137 GB, free: 24.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.9587, allocations: 14.39 kB / 1.137 GB, free: 24.6 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.266e-05/0.9588, allocations: 123.5 kB / 1.137 GB, free: 24.49 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9588, allocations: 0 / 1.137 GB, free: 24.49 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003495/0.9592, allocations: 77.83 kB / 1.137 GB, free: 24.42 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 () * 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 (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.0005193/0.9597, allocations: 0.8386 MB / 1.138 GB, free: 23.58 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006271/0.9603, allocations: 0.6191 MB / 1.139 GB, free: 22.94 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.9603, allocations: 0.5625 kB / 1.139 GB, free: 22.94 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.455e-05/0.9604, allocations: 75.84 kB / 1.139 GB, free: 22.87 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003218/0.9608, allocations: 50.16 kB / 1.139 GB, free: 22.84 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.9618, allocations: 2.303 MB / 1.141 GB, free: 20.48 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001694/0.962, allocations: 0.7323 MB / 1.142 GB, free: 19.75 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.006e-05/0.9621, allocations: 25.58 kB / 1.142 GB, free: 19.73 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.907e-05/0.9622, allocations: 57.02 kB / 1.142 GB, free: 19.68 MB / 0.7292 GB Notification: Performance of SimCode: time 2.4e-07/0.9622, allocations: 0 / 1.142 GB, free: 19.68 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01813/0.9803, allocations: 5.782 MB / 1.148 GB, free: 16.48 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000133/0.9805, allocations: 181 kB / 1.148 GB, free: 16.24 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.701/2.681, allocations: 4 kB / 1.148 GB, free: 16.23 MB / 0.7292 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1)