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.391/1.391, allocations: 249.5 MB / 257 MB, free: 6.918 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.0009862/0.0009862, allocations: 187.4 kB / 316.3 MB, free: 3.25 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.554/1.554, allocations: 205.3 MB / 0.5671 GB, free: 15.85 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.0007812/0.0007813, allocations: 94.3 kB / 0.6714 GB, free: 4.969 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.787e-05/1.79e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2094, allocations: 106.4 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8005/1.01, allocations: 131.6 MB / 1.014 GB, free: 6.027 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002227/1.01, allocations: 72.95 kB / 1.014 GB, free: 5.988 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002355/1.013, allocations: 0.8967 MB / 1.015 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.352e-06/1.013, allocations: 0 / 1.015 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.184e-06/1.013, allocations: 0 / 1.015 GB, free: 5.168 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.0004278/1.013, allocations: 351.1 kB / 1.015 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/1.013, allocations: 12.03 kB / 1.015 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.657e-05/1.013, allocations: 3.906 kB / 1.015 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/1.013, allocations: 182.9 kB / 1.015 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/1.013, allocations: 4 kB / 1.015 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/1.013, allocations: 0 / 1.015 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.139e-05/1.013, allocations: 22.75 kB / 1.015 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.567e-05/1.014, allocations: 48.25 kB / 1.015 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/1.014, allocations: 0 / 1.015 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/1.014, allocations: 0.75 kB / 1.015 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/1.014, allocations: 0 / 1.015 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003697/1.014, allocations: 262.4 kB / 1.016 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.802e-05/1.014, allocations: 40.27 kB / 1.016 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.087e-05/1.014, allocations: 16.55 kB / 1.016 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.977e-06/1.014, allocations: 0 / 1.016 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001227/1.014, allocations: 66.52 kB / 1.016 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.084e-06/1.014, allocations: 4 kB / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0001646/1.014, allocations: 71.73 kB / 1.016 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/1.014, allocations: 55.41 kB / 1.016 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.262e-05/1.015, allocations: 108.2 kB / 1.016 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/1.015, allocations: 28.89 kB / 1.016 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.155e-05/1.015, allocations: 84.14 kB / 1.016 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.765e-05/1.015, allocations: 14.88 kB / 1.016 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.167e-06/1.015, allocations: 0 / 1.016 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001118/1.015, allocations: 322.2 kB / 1.016 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.629e-05/1.015, allocations: 19.19 kB / 1.016 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.742e-05/1.015, allocations: 29.14 kB / 1.016 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.917e-05/1.015, allocations: 15.88 kB / 1.017 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/1.015, allocations: 0 / 1.017 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.751e-05/1.015, allocations: 68.61 kB / 1.017 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/1.015, allocations: 8 kB / 1.017 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/1.015, allocations: 4.062 kB / 1.017 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/1.015, allocations: 0 / 1.017 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.113e-05/1.015, allocations: 4 kB / 1.017 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/1.015, allocations: 4 kB / 1.017 GB, free: 3.242 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.671e-05/1.015, allocations: 16.42 kB / 1.017 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/1.015, allocations: 4 kB / 1.017 GB, free: 3.227 MB / 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 7.509e-05/1.015, allocations: 111.3 kB / 1.017 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.99e-05/1.015, allocations: 76.7 kB / 1.017 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.107e-05/1.015, allocations: 7.906 kB / 1.017 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.255e-05/1.016, allocations: 11.98 kB / 1.017 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/1.016, allocations: 0 / 1.017 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/1.016, allocations: 3.938 kB / 1.017 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/1.016, allocations: 0 / 1.017 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/1.016, allocations: 157 kB / 1.017 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/1.016, allocations: 0 / 1.017 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.767e-06/1.016, allocations: 0 / 1.017 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/1.016, allocations: 3.984 kB / 1.017 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/1.016, allocations: 3.984 kB / 1.017 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/1.016, allocations: 8 kB / 1.017 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.016, allocations: 0 / 1.017 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001074/1.016, allocations: 97.56 kB / 1.017 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.761e-05/1.016, allocations: 85.02 kB / 1.017 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/1.016, allocations: 0 / 1.017 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.661e-05/1.016, allocations: 12.17 kB / 1.017 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.073e-05/1.016, allocations: 11.98 kB / 1.017 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/1.016, allocations: 11.92 kB / 1.017 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.921e-05/1.016, allocations: 90.16 kB / 1.017 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.6e-07/1.016, allocations: 0 / 1.017 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001852/1.016, allocations: 8 kB / 1.017 GB, free: 2.492 MB / 0.6355 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.0003902/1.017, allocations: 0.6367 MB / 1.018 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.913e-05/1.017, allocations: 34.31 kB / 1.018 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/1.017, allocations: 0 / 1.018 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.381e-05/1.017, allocations: 22.19 kB / 1.018 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001888/1.017, allocations: 11.98 kB / 1.018 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003361/1.017, allocations: 127.8 kB / 1.018 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/1.018, allocations: 0.6924 MB / 1.019 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.017e-05/1.018, allocations: 7.859 kB / 1.019 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.924e-05/1.018, allocations: 13.94 kB / 1.019 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of SimCode: time 2.7e-07/1.018, allocations: 3.938 kB / 1.019 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01856/1.036, allocations: 1.273 MB / 1.02 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002162/1.037, allocations: 156.4 kB / 1.02 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.387/2.424, allocations: 3.938 kB / 1.02 GB, free: 15.45 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)