Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",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.257/2.257, allocations: 248.5 MB / 261 MB, free: 5.973 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.001453/0.001453, allocations: 173 kB / 320.4 MB, free: 15.33 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.987/1.987, allocations: 205.2 MB / 0.571 GB, free: 11.73 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.001196/0.001195, allocations: 96.53 kB / 0.6754 GB, free: 0.8242 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.226e-05/4.229e-05, allocations: 7.984 kB / 0.7869 GB, free: 97.77 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2129, allocations: 106.2 MB / 0.8907 GB, free: 7.434 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.858/1.071, allocations: 131.5 MB / 1.019 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/1.071, allocations: 69.52 kB / 1.019 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004098/1.075, allocations: 0.9711 MB / 1.02 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.473e-06/1.075, allocations: 0 / 1.02 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.384e-06/1.075, allocations: 4 kB / 1.02 GB, free: 2.492 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.0005623/1.076, allocations: 350.3 kB / 1.02 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.926e-05/1.076, allocations: 8.031 kB / 1.02 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.64e-05/1.076, allocations: 38.55 kB / 1.02 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.281e-05/1.076, allocations: 7.906 kB / 1.02 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/1.076, allocations: 167 kB / 1.021 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/1.076, allocations: 10.31 kB / 1.021 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.924e-05/1.076, allocations: 0 / 1.021 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/1.077, allocations: 68.03 kB / 1.021 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/1.077, allocations: 0 / 1.021 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/1.077, allocations: 3.25 kB / 1.021 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/1.077, allocations: 0 / 1.021 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/1.077, allocations: 22.94 kB / 1.021 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000505/1.077, allocations: 283.3 kB / 1.021 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/1.077, allocations: 60.67 kB / 1.021 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.998e-05/1.078, allocations: 19.12 kB / 1.021 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/1.078, allocations: 0 / 1.021 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/1.078, allocations: 34.56 kB / 1.021 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.492e-06/1.078, allocations: 0 / 1.021 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002239/1.078, allocations: 68.56 kB / 1.021 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/1.078, allocations: 55.39 kB / 1.021 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.778e-05/1.078, allocations: 96.83 kB / 1.021 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/1.078, allocations: 29.64 kB / 1.021 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.452e-05/1.078, allocations: 87.58 kB / 1.021 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.393e-05/1.078, allocations: 11.8 kB / 1.021 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.755e-06/1.078, allocations: 7.875 kB / 1.021 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001212/1.078, allocations: 314.8 kB / 1.022 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.47e-05/1.078, allocations: 7 kB / 1.022 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.432e-05/1.078, allocations: 14.88 kB / 1.022 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.835e-05/1.078, allocations: 7.984 kB / 1.022 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/1.078, allocations: 0 / 1.022 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001596/1.079, allocations: 61 kB / 1.022 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/1.079, allocations: 4 kB / 1.022 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/1.079, allocations: 0 / 1.022 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/1.079, allocations: 4 kB / 1.022 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001815/1.079, allocations: 15.98 kB / 1.022 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/1.079, allocations: 4.266 kB / 1.022 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/1.079, allocations: 19.86 kB / 1.022 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/1.079, allocations: 4 kB / 1.022 GB, free: 0.5312 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intGreThr.u,intGreThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.968e-05/1.079, allocations: 104.9 kB / 1.022 GB, free: 432 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.566e-05/1.079, allocations: 7.094 kB / 1.022 GB, free: 428 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.243e-05/1.079, allocations: 16.02 kB / 1.022 GB, free: 408 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/1.079, allocations: 0 / 1.022 GB, free: 408 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/1.079, allocations: 0 / 1.022 GB, free: 408 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/1.079, allocations: 3.953 kB / 1.022 GB, free: 404 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002429/1.08, allocations: 176.3 kB / 1.022 GB, free: 188 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/1.08, allocations: 0 / 1.022 GB, free: 188 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/1.08, allocations: 12.86 kB / 1.022 GB, free: 176 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/1.08, allocations: 7.922 kB / 1.022 GB, free: 168 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/1.08, allocations: 4 kB / 1.022 GB, free: 164 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/1.08, allocations: 0 / 1.022 GB, free: 164 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/1.08, allocations: 4 kB / 1.022 GB, free: 160 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002229/1.08, allocations: 158.4 kB / 1.022 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.3e-05/1.08, allocations: 81.02 kB / 1.022 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/1.08, allocations: 7.938 kB / 1.022 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001777/1.08, allocations: 11.17 kB / 1.022 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.069e-05/1.08, allocations: 10.92 kB / 1.022 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/1.08, allocations: 11.98 kB / 1.022 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.341e-05/1.08, allocations: 86.64 kB / 1.023 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/1.08, allocations: 0 / 1.023 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002793/1.081, allocations: 8 kB / 1.023 GB, free: 15.77 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: 2 (intGreThr.u,intGreThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0005277/1.081, allocations: 0.7007 MB / 1.023 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001438/1.081, allocations: 38.36 kB / 1.023 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.081, allocations: 0 / 1.023 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.264e-05/1.082, allocations: 14.56 kB / 1.023 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/1.082, allocations: 10.31 kB / 1.023 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000467/1.082, allocations: 114.6 kB / 1.023 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/1.083, allocations: 0.6887 MB / 1.024 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.663e-05/1.083, allocations: 8.188 kB / 1.024 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.562e-05/1.083, allocations: 19.11 kB / 1.024 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of SimCode: time 6.81e-07/1.083, allocations: 0 / 1.024 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01989/1.103, allocations: 1.509 MB / 1.026 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002554/1.103, allocations: 163.3 kB / 1.026 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.373/3.476, allocations: 0 / 1.026 GB, free: 12.55 MB / 0.6511 GB