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.882/1.882, allocations: 289.9 MB / 297.4 MB, free: 6.312 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.001185/0.001185, allocations: 176.8 kB / 366.7 MB, free: 1.633 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.619/1.619, allocations: 205.2 MB / 0.626 GB, free: 7.164 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.0007723/0.0007723, allocations: 93.81 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.852e-05/2.849e-05, allocations: 4 kB / 0.8598 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7175/0.7176, allocations: 116.3 MB / 0.9734 GB, free: 76.1 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2063/0.9239, allocations: 138.6 MB / 1.109 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000234/0.9242, allocations: 71.95 kB / 1.109 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02055/0.9448, allocations: 6.744 MB / 1.115 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.312e-06/0.9448, allocations: 0 / 1.115 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.617e-05/0.9449, allocations: 8 kB / 1.115 GB, free: 4.723 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.0006192/0.9455, allocations: 0.5637 MB / 1.116 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.9455, allocations: 12.03 kB / 1.116 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001071/0.9457, allocations: 35.78 kB / 1.116 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003639/0.946, allocations: 266.8 kB / 1.116 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.9461, allocations: 0 / 1.116 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.63e-05/0.9461, allocations: 28 kB / 1.116 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001761/0.9463, allocations: 76.38 kB / 1.116 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002295/0.9465, allocations: 129.5 kB / 1.116 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.9466, allocations: 3.984 kB / 1.116 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.969e-05/0.9466, allocations: 4 kB / 1.116 GB, free: 3.496 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.9466, allocations: 11.94 kB / 1.116 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008531/0.9475, allocations: 0.6532 MB / 1.117 GB, free: 2.789 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.9477, allocations: 163.7 kB / 1.117 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.418e-05/0.9477, allocations: 40.84 kB / 1.117 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.9478, allocations: 3.953 kB / 1.117 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002255/0.948, allocations: 147.3 kB / 1.117 GB, free: 2.398 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=20): time 1.333e-06/0.948, allocations: 0 / 1.117 GB, free: 2.398 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20): time 0.000349/0.9484, allocations: 179.5 kB / 1.118 GB, free: 2.219 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.9484, allocations: 55.41 kB / 1.118 GB, free: 2.152 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.9486, allocations: 155.1 kB / 1.118 GB, free: 1.996 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.692e-05/0.9486, allocations: 41.69 kB / 1.118 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.9487, allocations: 128.4 kB / 1.118 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.456e-05/0.9488, allocations: 33.41 kB / 1.118 GB, free: 1.785 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.214e-05/0.9488, allocations: 8 kB / 1.118 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.9489, allocations: 334.8 kB / 1.118 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002492/0.9492, allocations: 136 kB / 1.118 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002992/0.9495, allocations: 225.9 kB / 1.119 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006391/0.9502, allocations: 172.1 kB / 1.119 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.9502, allocations: 4 kB / 1.119 GB, free: 0.8789 MB / 0.7136 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001187/0.9514, allocations: 484.9 kB / 1.119 GB, free: 408 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001181/0.9515, allocations: 161.9 kB / 1.119 GB, free: 216 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.9515, allocations: 11.94 kB / 1.119 GB, free: 204 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.9515, allocations: 4 kB / 1.119 GB, free: 200 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.755e-05/0.9516, allocations: 12 kB / 1.119 GB, free: 188 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.9516, allocations: 11.92 kB / 1.119 GB, free: 176 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000794/0.9524, allocations: 179.7 kB / 1.12 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.273e-05/0.9525, allocations: 31.94 kB / 1.12 GB, free: 15.96 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 () * 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.0001498/0.9526, allocations: 136.7 kB / 1.12 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002245/0.9529, allocations: 163.8 kB / 1.12 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.9529, allocations: 23.7 kB / 1.12 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.656e-05/0.953, allocations: 13.97 kB / 1.12 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.953, allocations: 4 kB / 1.12 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.953, allocations: 3 kB / 1.12 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.953, allocations: 3.984 kB / 1.12 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004995/0.9535, allocations: 458.9 kB / 1.12 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.9535, allocations: 0 / 1.12 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.301e-05/0.9535, allocations: 7.953 kB / 1.12 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.9535, allocations: 0 / 1.12 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.9536, allocations: 8 kB / 1.12 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.9536, allocations: 3.984 kB / 1.12 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.9536, allocations: 0 / 1.12 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000261/0.9538, allocations: 269.4 kB / 1.121 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.402e-05/0.9539, allocations: 88.92 kB / 1.121 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.519e-05/0.9539, allocations: 3.953 kB / 1.121 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.195e-05/0.954, allocations: 3.984 kB / 1.121 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.286e-05/0.9541, allocations: 19.98 kB / 1.121 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.9541, allocations: 11.98 kB / 1.121 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.051e-05/0.9542, allocations: 115.5 kB / 1.121 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.81e-07/0.9542, allocations: 0 / 1.121 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003675/0.9546, allocations: 68 kB / 1.121 GB, free: 14.5 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.0006222/0.9552, allocations: 0.8181 MB / 1.122 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006942/0.9559, allocations: 0.5867 MB / 1.122 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.9559, allocations: 0.6875 kB / 1.122 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.608e-05/0.956, allocations: 71.86 kB / 1.122 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.9564, allocations: 42.2 kB / 1.123 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006723/0.9571, allocations: 267.9 kB / 1.123 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.9574, allocations: 0.7399 MB / 1.123 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.761e-05/0.9574, allocations: 23.44 kB / 1.124 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.424e-05/0.9575, allocations: 55.42 kB / 1.124 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of SimCode: time 2.8e-07/0.9575, allocations: 0 / 1.124 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0254/0.9829, allocations: 5.241 MB / 1.129 GB, free: 6.664 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002674/0.9833, allocations: 144.6 kB / 1.129 GB, free: 6.473 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.816/2.799, allocations: 4 kB / 1.129 GB, free: 6.469 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)