Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.192/2.192, allocations: 248.5 MB / 261.1 MB, free: 5.98 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.001477/0.001477, allocations: 180 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.012/2.012, allocations: 205.2 MB / 0.571 GB, free: 11.8 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.001134/0.001133, allocations: 92.73 kB / 0.6754 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.038e-05/5.059e-05, allocations: 4 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2831, allocations: 106.2 MB / 0.8907 GB, free: 7.445 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9981/1.281, allocations: 131.2 MB / 1.019 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/1.282, allocations: 65.09 kB / 1.019 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004902/1.287, allocations: 1.165 MB / 1.02 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.643e-06/1.287, allocations: 4 kB / 1.02 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.141e-05/1.287, allocations: 0 / 1.02 GB, free: 2.918 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006757/1.287, allocations: 388.2 kB / 1.02 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/1.287, allocations: 12.03 kB / 1.02 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.328e-05/1.287, allocations: 34.25 kB / 1.02 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.998e-05/1.288, allocations: 7.953 kB / 1.02 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/1.288, allocations: 182.2 kB / 1.021 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/1.288, allocations: 3.938 kB / 1.021 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/1.288, allocations: 7.812 kB / 1.021 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/1.288, allocations: 63.73 kB / 1.021 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/1.288, allocations: 0 / 1.021 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/1.288, allocations: 3.984 kB / 1.021 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/1.288, allocations: 0 / 1.021 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/1.288, allocations: 36.44 kB / 1.021 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005622/1.289, allocations: 306.8 kB / 1.021 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/1.289, allocations: 48.8 kB / 1.021 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.083e-05/1.289, allocations: 27.34 kB / 1.021 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/1.289, allocations: 4 kB / 1.021 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002061/1.289, allocations: 81.48 kB / 1.021 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 5.58e-06/1.289, allocations: 0 / 1.021 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0002848/1.29, allocations: 94.81 kB / 1.021 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/1.29, allocations: 51.41 kB / 1.021 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/1.29, allocations: 120.3 kB / 1.021 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/1.29, allocations: 29.7 kB / 1.021 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.018e-05/1.29, allocations: 88.08 kB / 1.022 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.6e-05/1.29, allocations: 31.59 kB / 1.022 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.375e-06/1.29, allocations: 3.938 kB / 1.022 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001249/1.29, allocations: 318.6 kB / 1.022 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.659e-05/1.29, allocations: 19.81 kB / 1.022 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.434e-05/1.29, allocations: 50.05 kB / 1.022 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.406e-05/1.29, allocations: 25.59 kB / 1.022 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/1.29, allocations: 0 / 1.022 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002286/1.291, allocations: 101.2 kB / 1.022 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/1.291, allocations: 8 kB / 1.022 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/1.291, allocations: 7.25 kB / 1.022 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/1.291, allocations: 0 / 1.022 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.196e-05/1.291, allocations: 11.95 kB / 1.022 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/1.291, allocations: 3.938 kB / 1.022 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002192/1.291, allocations: 28.06 kB / 1.022 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/1.291, allocations: 4 kB / 1.022 GB, free: 0.6914 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,or1.y,booPul3.y,$PRE.booPul3.pulseStart,booPul3.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 9.713e-05/1.291, allocations: 116.7 kB / 1.022 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/1.291, allocations: 7.906 kB / 1.022 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.064e-05/1.291, allocations: 8.438 kB / 1.022 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/1.291, allocations: 4 kB / 1.022 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/1.291, allocations: 7.953 kB / 1.022 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/1.291, allocations: 3.984 kB / 1.022 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002247/1.291, allocations: 183.8 kB / 1.022 GB, free: 340 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/1.291, allocations: 0 / 1.022 GB, free: 340 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.302e-05/1.292, allocations: 3.984 kB / 1.022 GB, free: 336 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-06/1.292, allocations: 11.92 kB / 1.022 GB, free: 324 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/1.292, allocations: 0 / 1.022 GB, free: 324 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/1.292, allocations: 3.984 kB / 1.022 GB, free: 320 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/1.292, allocations: 0 / 1.022 GB, free: 320 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002531/1.292, allocations: 128.5 kB / 1.023 GB, free: 188 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.482e-05/1.292, allocations: 81.11 kB / 1.023 GB, free: 88 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/1.292, allocations: 7 kB / 1.023 GB, free: 84 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/1.292, allocations: 23.97 kB / 1.023 GB, free: 60 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.67e-05/1.292, allocations: 15.55 kB / 1.023 GB, free: 48 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/1.292, allocations: 0 / 1.023 GB, free: 48 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001067/1.292, allocations: 101.9 kB / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.91e-07/1.292, allocations: 0 / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002707/1.293, allocations: 22.89 kB / 1.023 GB, free: 15.93 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,or1.y,booPul3.y,booPul3.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0005592/1.293, allocations: 0.6464 MB / 1.023 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002267/1.294, allocations: 65.55 kB / 1.024 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/1.294, allocations: 0 / 1.024 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001067/1.294, allocations: 35 kB / 1.024 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/1.294, allocations: 20.31 kB / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005665/1.295, allocations: 164.7 kB / 1.024 GB, free: 15 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/1.295, allocations: 0.6967 MB / 1.024 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.208e-05/1.295, allocations: 8.547 kB / 1.024 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.309e-05/1.295, allocations: 25.88 kB / 1.024 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of SimCode: time 1.263e-06/1.295, allocations: 480 / 1.024 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02529/1.32, allocations: 2.043 MB / 1.026 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003166/1.321, allocations: 160.4 kB / 1.027 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.261/3.582, allocations: 0 / 1.027 GB, free: 12.09 MB / 0.6511 GB