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.Or.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.Or,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or",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.505/1.505, allocations: 249.3 MB / 261.8 MB, free: 5.875 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.001478/0.001478, allocations: 184.5 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.851/1.851, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.0009018/0.0009015, allocations: 82.53 kB / 0.6764 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.268e-05/3.272e-05, allocations: 4 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1823, allocations: 106.3 MB / 0.8919 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6993/0.8817, allocations: 131.4 MB / 1.02 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000271/0.882, allocations: 71.7 kB / 1.02 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002667/0.8847, allocations: 0.8969 MB / 1.021 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.006e-06/0.8847, allocations: 0 / 1.021 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.575e-06/0.8848, allocations: 4 kB / 1.021 GB, free: 2.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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005146/0.8853, allocations: 350.3 kB / 1.021 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.603e-05/0.8853, allocations: 15.97 kB / 1.021 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.299e-05/0.8854, allocations: 30.56 kB / 1.022 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.974e-05/0.8854, allocations: 7.906 kB / 1.022 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.8856, allocations: 186.8 kB / 1.022 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.8856, allocations: 0 / 1.022 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.8856, allocations: 4 kB / 1.022 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.8857, allocations: 50.25 kB / 1.022 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.8858, allocations: 0 / 1.022 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.8858, allocations: 2.062 kB / 1.022 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.8858, allocations: 0 / 1.022 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.051e-05/0.8859, allocations: 22.31 kB / 1.022 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004205/0.8863, allocations: 293.2 kB / 1.022 GB, free: 1.414 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.8864, allocations: 40.33 kB / 1.022 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.032e-05/0.8864, allocations: 22.78 kB / 1.022 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.989e-06/0.8865, allocations: 0 / 1.022 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001628/0.8866, allocations: 68.55 kB / 1.022 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.784e-06/0.8866, allocations: 6.734 kB / 1.022 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0001809/0.8868, allocations: 71.19 kB / 1.022 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.419e-05/0.8869, allocations: 55.36 kB / 1.022 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.504e-05/0.887, allocations: 108.5 kB / 1.022 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.887, allocations: 25.7 kB / 1.022 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.323e-05/0.8871, allocations: 95.44 kB / 1.023 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.921e-05/0.8871, allocations: 15.19 kB / 1.023 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.429e-06/0.8871, allocations: 0 / 1.023 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.8873, allocations: 318.6 kB / 1.023 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.039e-05/0.8873, allocations: 11.69 kB / 1.023 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.909e-05/0.8874, allocations: 37.06 kB / 1.023 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.754e-05/0.8874, allocations: 19.75 kB / 1.023 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.8874, allocations: 0 / 1.023 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001215/0.8875, allocations: 73.25 kB / 1.023 GB, free: 472 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.8876, allocations: 12.06 kB / 1.023 GB, free: 460 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.319e-06/0.8876, allocations: 0 / 1.023 GB, free: 460 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.8876, allocations: 0 / 1.023 GB, free: 460 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.742e-05/0.8877, allocations: 7.984 kB / 1.023 GB, free: 452 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.8877, allocations: 4 kB / 1.023 GB, free: 448 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.8878, allocations: 15.94 kB / 1.023 GB, free: 432 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.8878, allocations: 4.188 kB / 1.023 GB, free: 428 kB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,or1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 8.627e-05/0.8879, allocations: 108.6 kB / 1.023 GB, free: 316 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.253e-05/0.8879, allocations: 11.84 kB / 1.023 GB, free: 304 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.548e-05/0.888, allocations: 11.88 kB / 1.023 GB, free: 292 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.888, allocations: 3.938 kB / 1.023 GB, free: 288 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.888, allocations: 3.938 kB / 1.023 GB, free: 284 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.888, allocations: 0.875 kB / 1.023 GB, free: 284 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001797/0.8882, allocations: 183.8 kB / 1.023 GB, free: 60 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.8882, allocations: 0 / 1.023 GB, free: 60 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.346e-06/0.8882, allocations: 0 / 1.023 GB, free: 60 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.8882, allocations: 0 / 1.023 GB, free: 60 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.8883, allocations: 4 kB / 1.023 GB, free: 56 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.8883, allocations: 4.688 kB / 1.023 GB, free: 52 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.8883, allocations: 0 / 1.023 GB, free: 52 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/0.8885, allocations: 106.1 kB / 1.023 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.87e-05/0.8885, allocations: 81.11 kB / 1.024 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.8885, allocations: 0 / 1.024 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.391e-05/0.8886, allocations: 15.98 kB / 1.024 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.359e-05/0.8887, allocations: 15.3 kB / 1.024 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.8887, allocations: 7.938 kB / 1.024 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.111e-05/0.8888, allocations: 90.64 kB / 1.024 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8888, allocations: 0 / 1.024 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001937/0.889, allocations: 15.75 kB / 1.024 GB, free: 15.71 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: 7 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,or1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000433/0.8894, allocations: 0.6414 MB / 1.024 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001059/0.8895, allocations: 39.38 kB / 1.024 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.8895, allocations: 0 / 1.024 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.777e-05/0.8896, allocations: 23.5 kB / 1.024 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001813/0.8898, allocations: 11.86 kB / 1.024 GB, free: 15 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003473/0.8901, allocations: 130 kB / 1.024 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.8904, allocations: 0.6889 MB / 1.025 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.22e-05/0.8905, allocations: 11.8 kB / 1.025 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.857e-05/0.8905, allocations: 18.06 kB / 1.025 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of SimCode: time 3.1e-07/0.8905, allocations: 0 / 1.025 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01081/0.9013, allocations: 1.595 MB / 1.027 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001694/0.9016, allocations: 174.4 kB / 1.027 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.544/2.446, allocations: 0 / 1.027 GB, free: 12.39 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1)