Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.487/1.487, allocations: 249.5 MB / 257 MB, free: 6.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001066/0.001066, allocations: 179.5 kB / 316.3 MB, free: 3.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.542/1.542, allocations: 205.3 MB / 0.5671 GB, free: 15.88 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007479/0.000748, allocations: 90.47 kB / 0.6714 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.975e-05/1.978e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1786, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6324/0.811, allocations: 132 MB / 1.014 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002231/0.8113, allocations: 72.75 kB / 1.014 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005838/0.8171, allocations: 2.131 MB / 1.016 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.272e-06/0.8172, allocations: 0 / 1.016 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.539e-05/0.8172, allocations: 4 kB / 1.016 GB, free: 3.465 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0006793/0.8179, allocations: 471 kB / 1.017 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.8179, allocations: 8.031 kB / 1.017 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.847e-05/0.818, allocations: 23.81 kB / 1.017 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/0.8182, allocations: 222.1 kB / 1.017 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.8183, allocations: 7.984 kB / 1.017 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.8183, allocations: 12 kB / 1.017 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001876/0.8185, allocations: 93.16 kB / 1.017 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002167/0.8187, allocations: 135.1 kB / 1.017 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.8187, allocations: 3.938 kB / 1.017 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.8187, allocations: 3.75 kB / 1.017 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.8188, allocations: 8 kB / 1.017 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009094/0.8197, allocations: 0.5646 MB / 1.018 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002402/0.8199, allocations: 207.9 kB / 1.018 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.716e-05/0.82, allocations: 57.55 kB / 1.018 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.8201, allocations: 0 / 1.018 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001797/0.8202, allocations: 120.4 kB / 1.018 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=20): time 4.238e-06/0.8203, allocations: 4 kB / 1.018 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20): time 0.00028/0.8205, allocations: 151.8 kB / 1.018 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.8206, allocations: 58.72 kB / 1.018 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.8207, allocations: 152.6 kB / 1.019 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.8208, allocations: 25.7 kB / 1.019 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.551e-05/0.8208, allocations: 114.6 kB / 1.019 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.311e-05/0.8209, allocations: 39 kB / 1.019 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.606e-06/0.8209, allocations: 3.5 kB / 1.019 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.821, allocations: 328.9 kB / 1.019 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.363e-05/0.8211, allocations: 45.3 kB / 1.019 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.468e-05/0.8212, allocations: 87.31 kB / 1.019 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.729e-05/0.8213, allocations: 53.39 kB / 1.019 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.8213, allocations: 3.938 kB / 1.019 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002227/0.8215, allocations: 159.2 kB / 1.019 GB, free: 464 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.8216, allocations: 8 kB / 1.019 GB, free: 456 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.8216, allocations: 0 / 1.019 GB, free: 456 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.8216, allocations: 4 kB / 1.019 GB, free: 452 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.161e-05/0.8217, allocations: 15.98 kB / 1.019 GB, free: 436 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.8217, allocations: 8.125 kB / 1.019 GB, free: 428 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001843/0.8219, allocations: 35.97 kB / 1.019 GB, free: 392 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.8219, allocations: 7.188 kB / 1.019 GB, free: 388 kB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mulOr2.u[1],mulOr2.u[2],mulOr2.y,mulOr5.u[3],mulOr5.u[4],mulOr5.u[5],mulOr5.y,mulOr5.uTemp[2],mulOr5.uTemp[3],mulOr5.uTemp[4],$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,$PRE.booPul3.pulseStart,booPul3.pulseStart,$PRE.booPul4.pulseStart,booPul4.pulseStart,$PRE.booPul5.pulseStart,booPul5.pulseStart,mulOr0.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * 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.0001104/0.822, allocations: 130.7 kB / 1.02 GB, free: 256 kB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001876/0.8222, allocations: 154.1 kB / 1.02 GB, free: 120 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.06e-05/0.8222, allocations: 19.77 kB / 1.02 GB, free: 100 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.103e-05/0.8223, allocations: 14.81 kB / 1.02 GB, free: 96 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.8223, allocations: 4 kB / 1.02 GB, free: 92 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.8223, allocations: 0 / 1.02 GB, free: 92 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.8223, allocations: 3.984 kB / 1.02 GB, free: 88 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004624/0.8228, allocations: 458.7 kB / 1.02 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.8228, allocations: 4 kB / 1.02 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.385e-05/0.8229, allocations: 7.984 kB / 1.02 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.8229, allocations: 0 / 1.02 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.8229, allocations: 4 kB / 1.02 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.8229, allocations: 0 / 1.02 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.8229, allocations: 0 / 1.02 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002319/0.8231, allocations: 251.9 kB / 1.02 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.3e-05/0.8232, allocations: 92.17 kB / 1.021 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/0.8232, allocations: 11.89 kB / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.8234, allocations: 35.95 kB / 1.021 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.911e-05/0.8235, allocations: 31.27 kB / 1.021 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.8235, allocations: 7.688 kB / 1.021 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.465e-05/0.8236, allocations: 117.1 kB / 1.021 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8236, allocations: 4 kB / 1.021 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002554/0.8239, allocations: 28 kB / 1.021 GB, free: 15.09 MB / 0.6511 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],$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mulOr2.u[1],mulOr2.u[2],mulOr2.y,mulOr5.u[3],mulOr5.u[4],mulOr5.u[5],mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.pulseStart,booPul2.pulseStart,booPul3.pulseStart,booPul4.pulseStart,booPul5.pulseStart) * 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.0005229/0.8244, allocations: 0.7861 MB / 1.022 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000223/0.8246, allocations: 127.9 kB / 1.022 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.8247, allocations: 0 / 1.022 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.8248, allocations: 72.34 kB / 1.022 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.8251, allocations: 42.14 kB / 1.022 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006359/0.8258, allocations: 286.1 kB / 1.022 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.826, allocations: 0.7282 MB / 1.023 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.49e-05/0.8261, allocations: 29.84 kB / 1.023 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.119e-05/0.8262, allocations: 57.28 kB / 1.023 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of SimCode: time 2.7e-07/0.8262, allocations: 0 / 1.023 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02007/0.8463, allocations: 3.297 MB / 1.026 GB, free: 9.758 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002091/0.8466, allocations: 164.2 kB / 1.026 GB, free: 9.555 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.533/2.379, allocations: 3.938 kB / 1.026 GB, free: 9.551 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1)