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.228/2.228, allocations: 248.7 MB / 256.2 MB, free: 7.02 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.002164/0.002164, allocations: 172.8 kB / 315.4 MB, free: 3.988 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.057/2.057, allocations: 205.3 MB / 0.5662 GB, free: 0.5078 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001147/0.001147, allocations: 92.02 kB / 0.6704 GB, free: 5.715 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.596e-05/3.625e-05, allocations: 7.984 kB / 0.7804 GB, free: 103.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2492, allocations: 106.3 MB / 0.8841 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8765/1.126, allocations: 131.7 MB / 1.013 GB, free: 7.023 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/1.126, allocations: 73.45 kB / 1.013 GB, free: 6.984 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004239/1.13, allocations: 0.9605 MB / 1.014 GB, free: 6.125 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.553e-06/1.13, allocations: 4 kB / 1.014 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.374e-06/1.13, allocations: 0.75 kB / 1.014 GB, free: 6.121 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.0005833/1.131, allocations: 345.7 kB / 1.014 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.597e-05/1.131, allocations: 16.02 kB / 1.014 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.49e-05/1.131, allocations: 7.219 kB / 1.014 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001876/1.131, allocations: 175.5 kB / 1.014 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/1.131, allocations: 0 / 1.014 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/1.131, allocations: 8 kB / 1.014 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001234/1.132, allocations: 18.75 kB / 1.014 GB, free: 5.492 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/1.132, allocations: 58.73 kB / 1.014 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/1.132, allocations: 0 / 1.014 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/1.132, allocations: 0 / 1.014 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/1.132, allocations: 0 / 1.014 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008688/1.133, allocations: 263 kB / 1.015 GB, free: 5.156 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003472/1.133, allocations: 55.34 kB / 1.015 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001272/1.133, allocations: 12.11 kB / 1.015 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.518e-05/1.133, allocations: 4 kB / 1.015 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.681e-05/1.133, allocations: 31.44 kB / 1.015 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 7.354e-06/1.133, allocations: 0 / 1.015 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0004727/1.134, allocations: 59.11 kB / 1.015 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/1.134, allocations: 55.34 kB / 1.015 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/1.134, allocations: 108.3 kB / 1.015 GB, free: 4.82 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.25e-05/1.134, allocations: 25.7 kB / 1.015 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.404e-05/1.134, allocations: 86.89 kB / 1.015 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.784e-05/1.134, allocations: 11.12 kB / 1.015 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.833e-06/1.134, allocations: 0 / 1.015 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001375/1.134, allocations: 318.8 kB / 1.015 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.486e-05/1.135, allocations: 13.12 kB / 1.015 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.901e-05/1.135, allocations: 7.062 kB / 1.015 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.093e-05/1.135, allocations: 15.06 kB / 1.015 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/1.135, allocations: 0 / 1.015 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000169/1.135, allocations: 57.05 kB / 1.015 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/1.135, allocations: 5.719 kB / 1.015 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/1.135, allocations: 0 / 1.015 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/1.135, allocations: 4 kB / 1.015 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/1.135, allocations: 15.17 kB / 1.015 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/1.135, allocations: 3.938 kB / 1.015 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/1.135, allocations: 19.92 kB / 1.015 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/1.135, allocations: 3.812 kB / 1.015 GB, free: 4.254 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 9.796e-05/1.135, allocations: 113.1 kB / 1.016 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001749/1.136, allocations: 60.64 kB / 1.016 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.427e-05/1.136, allocations: 4 kB / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.871e-05/1.136, allocations: 8.094 kB / 1.016 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/1.136, allocations: 0 / 1.016 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/1.136, allocations: 3.984 kB / 1.016 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/1.136, allocations: 3.953 kB / 1.016 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002182/1.136, allocations: 157.2 kB / 1.016 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/1.136, allocations: 0 / 1.016 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001633/1.136, allocations: 11.98 kB / 1.016 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/1.136, allocations: 0 / 1.016 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/1.136, allocations: 0 / 1.016 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/1.136, allocations: 7.938 kB / 1.016 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/1.136, allocations: 3.938 kB / 1.016 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002073/1.136, allocations: 164.8 kB / 1.016 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.444e-05/1.137, allocations: 81.11 kB / 1.016 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/1.137, allocations: 0 / 1.016 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/1.137, allocations: 11.98 kB / 1.016 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.22e-05/1.137, allocations: 11.55 kB / 1.016 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.258e-06/1.137, allocations: 0 / 1.016 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.54e-05/1.137, allocations: 83.27 kB / 1.016 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.21e-07/1.137, allocations: 0 / 1.016 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003311/1.137, allocations: 11.38 kB / 1.016 GB, free: 3.477 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: 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.0006866/1.138, allocations: 0.7026 MB / 1.017 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002013/1.138, allocations: 29.38 kB / 1.017 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/1.138, allocations: 0 / 1.017 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.899e-05/1.138, allocations: 18.98 kB / 1.017 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000419/1.139, allocations: 9.625 kB / 1.017 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009076/1.14, allocations: 123.3 kB / 1.017 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004566/1.14, allocations: 0.6807 MB / 1.018 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001332/1.14, allocations: 7.984 kB / 1.018 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/1.14, allocations: 19 kB / 1.018 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of SimCode: time 1.413e-06/1.14, allocations: 0 / 1.018 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04044/1.181, allocations: 1.199 MB / 1.019 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003153/1.181, allocations: 158.5 kB / 1.019 GB, free: 472 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.334/3.515, allocations: 0 / 1.019 GB, free: 472 kB / 0.6355 GB