Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.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.Nor,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",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.233/2.233, allocations: 248.5 MB / 261.1 MB, free: 5.941 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.001525/0.001525, allocations: 192.8 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.272/2.272, allocations: 205.1 MB / 0.571 GB, free: 11.82 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.001141/0.001141, allocations: 100.9 kB / 0.6754 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.971e-05/3.982e-05, allocations: 8 kB / 0.7869 GB, free: 97.77 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.1981, allocations: 106.2 MB / 0.8907 GB, free: 7.434 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9159/1.114, allocations: 131.2 MB / 1.019 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002966/1.114, allocations: 72.27 kB / 1.019 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004117/1.119, allocations: 0.8994 MB / 1.02 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.014e-06/1.119, allocations: 0 / 1.02 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.033e-05/1.119, allocations: 8 kB / 1.02 GB, free: 3.199 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.0005928/1.119, allocations: 360 kB / 1.02 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/1.119, allocations: 8.031 kB / 1.02 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.935e-05/1.119, allocations: 34.56 kB / 1.02 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.631e-05/1.119, allocations: 3.906 kB / 1.02 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/1.12, allocations: 182 kB / 1.02 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/1.12, allocations: 4 kB / 1.02 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.838e-05/1.12, allocations: 3.25 kB / 1.02 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/1.12, allocations: 47.69 kB / 1.02 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.649e-06/1.12, allocations: 0 / 1.02 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/1.12, allocations: 0 / 1.02 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/1.12, allocations: 7.938 kB / 1.02 GB, free: 2.484 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.775e-05/1.12, allocations: 18.56 kB / 1.02 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005279/1.121, allocations: 286.5 kB / 1.021 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/1.121, allocations: 49.92 kB / 1.021 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.594e-05/1.121, allocations: 19.17 kB / 1.021 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/1.121, allocations: 2.625 kB / 1.021 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001723/1.121, allocations: 75.66 kB / 1.021 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.384e-06/1.121, allocations: 4 kB / 1.021 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002379/1.121, allocations: 71.16 kB / 1.021 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/1.121, allocations: 55.41 kB / 1.021 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/1.121, allocations: 113.5 kB / 1.021 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/1.121, allocations: 25.7 kB / 1.021 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.244e-05/1.122, allocations: 87.12 kB / 1.021 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.695e-05/1.122, allocations: 15.41 kB / 1.021 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.195e-06/1.122, allocations: 0 / 1.021 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001614/1.122, allocations: 322 kB / 1.021 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.89e-05/1.122, allocations: 18.19 kB / 1.021 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.2e-05/1.122, allocations: 32.19 kB / 1.022 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.928e-05/1.122, allocations: 11.56 kB / 1.022 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/1.122, allocations: 0 / 1.022 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001917/1.122, allocations: 80.09 kB / 1.022 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/1.122, allocations: 8.062 kB / 1.022 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/1.122, allocations: 0 / 1.022 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/1.122, allocations: 4 kB / 1.022 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.189e-05/1.122, allocations: 7.984 kB / 1.022 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/1.122, allocations: 7.891 kB / 1.022 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000163/1.123, allocations: 16.8 kB / 1.022 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/1.123, allocations: 0 / 1.022 GB, free: 1.148 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,nor1.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 0.0001/1.123, allocations: 112.4 kB / 1.022 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.456e-05/1.123, allocations: 11.84 kB / 1.022 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.527e-05/1.123, allocations: 8.25 kB / 1.022 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.279e-06/1.123, allocations: 0 / 1.022 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/1.123, allocations: 0 / 1.022 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/1.123, allocations: 7.953 kB / 1.022 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002092/1.123, allocations: 180.1 kB / 1.022 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/1.123, allocations: 0 / 1.022 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.733e-05/1.123, allocations: 4 kB / 1.022 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/1.123, allocations: 0 / 1.022 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/1.123, allocations: 0 / 1.022 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/1.123, allocations: 8.172 kB / 1.022 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/1.123, allocations: 0 / 1.022 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002131/1.123, allocations: 107.9 kB / 1.022 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.292e-05/1.123, allocations: 80.36 kB / 1.022 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/1.123, allocations: 0 / 1.022 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/1.124, allocations: 15.98 kB / 1.022 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.436e-05/1.124, allocations: 11.98 kB / 1.022 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/1.124, allocations: 7.797 kB / 1.022 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.824e-05/1.124, allocations: 86.41 kB / 1.022 GB, free: 472 kB / 0.6355 GB Notification: Performance of sort global known variables: time 5.31e-07/1.124, allocations: 4 kB / 1.022 GB, free: 468 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002526/1.124, allocations: 8 kB / 1.022 GB, free: 460 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,nor1.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.0005859/1.125, allocations: 0.6476 MB / 1.023 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001798/1.125, allocations: 41.75 kB / 1.023 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/1.125, allocations: 0 / 1.023 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.043e-05/1.125, allocations: 26.94 kB / 1.023 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/1.125, allocations: 11.98 kB / 1.023 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004953/1.126, allocations: 129.2 kB / 1.023 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/1.126, allocations: 0.6928 MB / 1.024 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.437e-05/1.126, allocations: 3.859 kB / 1.024 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.694e-05/1.126, allocations: 18.92 kB / 1.024 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of SimCode: time 1.032e-06/1.126, allocations: 0 / 1.024 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02369/1.15, allocations: 1.604 MB / 1.025 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0007246/1.151, allocations: 156.4 kB / 1.026 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.371/3.522, allocations: 0 / 1.026 GB, free: 13.12 MB / 0.6511 GB