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.25/2.25, allocations: 251 MB / 265.9 MB, free: 11.7 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00153/0.001529, allocations: 168.1 kB / 325.4 MB, free: 2.922 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.413/2.413, allocations: 205.4 MB / 0.5764 GB, free: 21.18 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.001175/0.001174, allocations: 98.3 kB / 0.6809 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004773/0.0004774, allocations: 12.53 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2029, allocations: 106.3 MB / 0.8988 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2283/0.4313, allocations: 131.5 MB / 1.027 GB, free: 14.27 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/0.4316, allocations: 71.91 kB / 1.027 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00417/0.4358, allocations: 0.9614 MB / 1.028 GB, free: 13.23 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.184e-06/0.4359, allocations: 0 / 1.028 GB, free: 13.23 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.4359, allocations: 4 kB / 1.028 GB, free: 13.23 MB / 0.6823 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.0006279/0.4365, allocations: 363.2 kB / 1.029 GB, free: 12.83 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/0.4366, allocations: 12.03 kB / 1.029 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.11e-05/0.4366, allocations: 42.48 kB / 1.029 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.391e-05/0.4367, allocations: 7.906 kB / 1.029 GB, free: 12.76 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.4369, allocations: 163 kB / 1.029 GB, free: 12.56 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.4369, allocations: 4 kB / 1.029 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.4369, allocations: 8 kB / 1.029 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003044/0.4372, allocations: 69.66 kB / 1.029 GB, free: 12.47 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.4373, allocations: 0 / 1.029 GB, free: 12.47 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.4373, allocations: 0 / 1.029 GB, free: 12.47 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.4373, allocations: 0 / 1.029 GB, free: 12.47 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003923/0.4377, allocations: 71.88 kB / 1.029 GB, free: 12.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005937/0.4383, allocations: 288.7 kB / 1.029 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003379/0.4387, allocations: 66.55 kB / 1.029 GB, free: 12 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.4387, allocations: 0 / 1.029 GB, free: 12 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.4388, allocations: 42.52 kB / 1.029 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.623e-06/0.4388, allocations: 0 / 1.029 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.0007084/0.4395, allocations: 125.8 kB / 1.029 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.4395, allocations: 55.36 kB / 1.03 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.4397, allocations: 101 kB / 1.03 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.4397, allocations: 29.69 kB / 1.03 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.713e-05/0.4398, allocations: 92.05 kB / 1.03 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/0.4398, allocations: 11.84 kB / 1.03 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.855e-06/0.4398, allocations: 0 / 1.03 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.44, allocations: 318.8 kB / 1.03 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/0.4402, allocations: 31.91 kB / 1.03 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000185/0.4404, allocations: 27.97 kB / 1.03 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001896/0.4406, allocations: 35.92 kB / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.4406, allocations: 0 / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004615/0.4411, allocations: 97.55 kB / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.4411, allocations: 8 kB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.4411, allocations: 0 / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.4412, allocations: 0 / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002/0.4414, allocations: 15.98 kB / 1.03 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.4414, allocations: 0 / 1.03 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001438/0.4415, allocations: 15.94 kB / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.4416, allocations: 0 / 1.03 GB, free: 10.95 MB / 0.6823 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 () * Number of clocked 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 0.0001183/0.4417, allocations: 117.8 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.253e-05/0.4417, allocations: 3.938 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.587e-05/0.4418, allocations: 7.906 kB / 1.03 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.4418, allocations: 0 / 1.03 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.918e-06/0.4418, allocations: 7.984 kB / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.4419, allocations: 0 / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002585/0.4421, allocations: 177.6 kB / 1.031 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4421, allocations: 3.938 kB / 1.031 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/0.4423, allocations: 11.98 kB / 1.031 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.4423, allocations: 4 kB / 1.031 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/0.4424, allocations: 7.984 kB / 1.031 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.4424, allocations: 0 / 1.031 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.4424, allocations: 0 / 1.031 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005028/0.4429, allocations: 195.4 kB / 1.031 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.934e-05/0.443, allocations: 81.11 kB / 1.031 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.443, allocations: 0 / 1.031 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.4432, allocations: 13.03 kB / 1.031 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.203e-05/0.4433, allocations: 11.98 kB / 1.031 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.4433, allocations: 0 / 1.031 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.488e-05/0.4434, allocations: 87.27 kB / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.565e-06/0.4434, allocations: 0 / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003089/0.4437, allocations: 23.94 kB / 1.031 GB, free: 10.11 MB / 0.6823 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 () * Number of clocked 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.0008269/0.4445, allocations: 0.7361 MB / 1.032 GB, free: 9.352 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004308/0.445, allocations: 59.95 kB / 1.032 GB, free: 9.293 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.445, allocations: 0 / 1.032 GB, free: 9.293 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002179/0.4452, allocations: 43.91 kB / 1.032 GB, free: 9.25 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.4455, allocations: 11.98 kB / 1.032 GB, free: 9.238 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.4469, allocations: 480 kB / 1.032 GB, free: 8.719 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/0.4472, allocations: 0.6848 MB / 1.033 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 7.189e-05/0.4473, allocations: 11.94 kB / 1.033 GB, free: 7.996 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.334e-05/0.4474, allocations: 15.42 kB / 1.033 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of SimCode: time 9.72e-07/0.4474, allocations: 0 / 1.033 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02517/0.4726, allocations: 1.509 MB / 1.034 GB, free: 6.637 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003909/0.473, allocations: 209.5 kB / 1.035 GB, free: 6.387 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.358/2.831, allocations: 0 / 1.035 GB, free: 6.387 MB / 0.6823 GB