Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.Or,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.16/2.16, allocations: 248.5 MB / 261.1 MB, free: 5.988 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.001396/0.001396, allocations: 184.2 kB / 320.4 MB, free: 15.32 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.013/2.013, allocations: 205.2 MB / 0.571 GB, free: 11.74 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.001054/0.001054, allocations: 97.56 kB / 0.6754 GB, free: 0.8281 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.393e-05/4.404e-05, allocations: 11.98 kB / 0.7869 GB, free: 97.76 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2123, allocations: 106.2 MB / 0.8907 GB, free: 7.422 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9226/1.135, allocations: 131.2 MB / 1.019 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002998/1.135, allocations: 73.08 kB / 1.019 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003611/1.139, allocations: 0.9 MB / 1.02 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.483e-06/1.139, allocations: 0 / 1.02 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.028e-05/1.139, allocations: 4 kB / 1.02 GB, free: 3.172 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.0006327/1.14, allocations: 361.9 kB / 1.02 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/1.14, allocations: 8.031 kB / 1.02 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.517e-05/1.14, allocations: 33.94 kB / 1.02 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.673e-05/1.14, allocations: 7.906 kB / 1.02 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/1.14, allocations: 175 kB / 1.02 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/1.14, allocations: 7.5 kB / 1.02 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/1.14, allocations: 3.984 kB / 1.02 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/1.14, allocations: 52 kB / 1.02 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/1.14, allocations: 3.984 kB / 1.02 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/1.14, allocations: 3.938 kB / 1.02 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/1.14, allocations: 4 kB / 1.02 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.903e-05/1.14, allocations: 17.69 kB / 1.02 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005231/1.141, allocations: 279.6 kB / 1.021 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/1.141, allocations: 45.08 kB / 1.021 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.496e-05/1.141, allocations: 16.67 kB / 1.021 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/1.141, allocations: 6.562 kB / 1.021 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000187/1.141, allocations: 77.92 kB / 1.021 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.926e-06/1.141, allocations: 0 / 1.021 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002466/1.142, allocations: 71.77 kB / 1.021 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/1.142, allocations: 59.41 kB / 1.021 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/1.142, allocations: 110.8 kB / 1.021 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/1.142, allocations: 29.7 kB / 1.021 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.783e-05/1.142, allocations: 85.89 kB / 1.021 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.886e-05/1.142, allocations: 11.89 kB / 1.021 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.023e-06/1.142, allocations: 6.75 kB / 1.021 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001453/1.142, allocations: 317.7 kB / 1.021 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.697e-05/1.142, allocations: 10.81 kB / 1.021 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.826e-05/1.142, allocations: 36.52 kB / 1.022 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.19e-05/1.142, allocations: 19.16 kB / 1.022 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.142, allocations: 0 / 1.022 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001923/1.143, allocations: 81.84 kB / 1.022 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/1.143, allocations: 4 kB / 1.022 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/1.143, allocations: 0 / 1.022 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/1.143, allocations: 4 kB / 1.022 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.365e-05/1.143, allocations: 12 kB / 1.022 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/1.143, allocations: 3.953 kB / 1.022 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001633/1.143, allocations: 12.86 kB / 1.022 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/1.143, allocations: 4 kB / 1.022 GB, free: 1.117 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 9.881e-05/1.143, allocations: 108.1 kB / 1.022 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/1.143, allocations: 15.83 kB / 1.022 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.151e-05/1.143, allocations: 11.06 kB / 1.022 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/1.143, allocations: 4 kB / 1.022 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/1.143, allocations: 0 / 1.022 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/1.143, allocations: 3.953 kB / 1.022 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002089/1.144, allocations: 176.6 kB / 1.022 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/1.144, allocations: 0 / 1.022 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.552e-05/1.144, allocations: 0 / 1.022 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/1.144, allocations: 4 kB / 1.022 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/1.144, allocations: 3.812 kB / 1.022 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/1.144, allocations: 0 / 1.022 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/1.144, allocations: 0 / 1.022 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002189/1.144, allocations: 111.3 kB / 1.022 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.5e-05/1.144, allocations: 81.11 kB / 1.022 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/1.144, allocations: 0 / 1.022 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/1.144, allocations: 15.98 kB / 1.022 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.5e-05/1.144, allocations: 11.3 kB / 1.022 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/1.144, allocations: 0 / 1.022 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.775e-05/1.144, allocations: 90.91 kB / 1.022 GB, free: 448 kB / 0.6355 GB Notification: Performance of sort global known variables: time 5.21e-07/1.144, allocations: 0 / 1.022 GB, free: 448 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002548/1.145, allocations: 19.42 kB / 1.022 GB, free: 432 kB / 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.0005642/1.145, allocations: 0.6311 MB / 1.023 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001801/1.145, allocations: 47.36 kB / 1.023 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/1.145, allocations: 8.062 kB / 1.023 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.443e-05/1.145, allocations: 30.92 kB / 1.023 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/1.146, allocations: 4 kB / 1.023 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004999/1.146, allocations: 136.8 kB / 1.023 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/1.147, allocations: 0.6809 MB / 1.024 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.76e-05/1.147, allocations: 15.84 kB / 1.024 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.776e-05/1.147, allocations: 18.31 kB / 1.024 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of SimCode: time 1.132e-06/1.147, allocations: 0 / 1.024 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0216/1.168, allocations: 1.598 MB / 1.025 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000369/1.169, allocations: 151.2 kB / 1.026 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.346/3.514, allocations: 4.062 kB / 1.026 GB, free: 13.1 MB / 0.6511 GB