Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.447/2.447, allocations: 284.9 MB / 292.4 MB, free: 10.55 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001501/0.001501, allocations: 184.8 kB / 360.6 MB, free: 7.273 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.095/2.095, allocations: 205.3 MB / 0.6191 GB, free: 12.2 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001138/0.001138, allocations: 90.66 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.551e-05/3.564e-05, allocations: 4 kB / 0.8509 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8445/0.8445, allocations: 115.3 MB / 0.9634 GB, free: 78.59 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2292/1.074, allocations: 136.9 MB / 1.097 GB, free: 3.543 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/1.074, allocations: 63.97 kB / 1.097 GB, free: 3.48 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003993/1.078, allocations: 0.9407 MB / 1.098 GB, free: 2.562 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.302e-06/1.078, allocations: 0.875 kB / 1.098 GB, free: 2.562 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.953e-06/1.078, allocations: 0 / 1.098 GB, free: 2.562 MB / 0.698 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.0005386/1.079, allocations: 356.2 kB / 1.098 GB, free: 2.172 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/1.079, allocations: 8.688 kB / 1.098 GB, free: 2.164 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.399e-05/1.079, allocations: 9.109 kB / 1.098 GB, free: 2.156 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/1.079, allocations: 173 kB / 1.099 GB, free: 1.949 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/1.079, allocations: 0.5938 kB / 1.099 GB, free: 1.949 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/1.079, allocations: 3.984 kB / 1.099 GB, free: 1.945 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001163/1.079, allocations: 25.47 kB / 1.099 GB, free: 1.922 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/1.079, allocations: 53.67 kB / 1.099 GB, free: 1.863 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/1.079, allocations: 3.609 kB / 1.099 GB, free: 1.863 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/1.079, allocations: 1.375 kB / 1.099 GB, free: 1.863 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/1.079, allocations: 3.281 kB / 1.099 GB, free: 1.863 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004961/1.08, allocations: 270.7 kB / 1.099 GB, free: 1.562 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/1.08, allocations: 43.67 kB / 1.099 GB, free: 1.512 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.616e-05/1.08, allocations: 17.48 kB / 1.099 GB, free: 1.492 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/1.08, allocations: 0.7344 kB / 1.099 GB, free: 1.492 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/1.08, allocations: 35.52 kB / 1.099 GB, free: 1.449 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 2.054e-06/1.08, allocations: 0 / 1.099 GB, free: 1.449 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0002281/1.08, allocations: 58.62 kB / 1.099 GB, free: 1.387 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/1.081, allocations: 55.41 kB / 1.099 GB, free: 1.32 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/1.081, allocations: 97.84 kB / 1.099 GB, free: 1.219 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/1.081, allocations: 26.2 kB / 1.099 GB, free: 1.188 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.171e-05/1.081, allocations: 92.62 kB / 1.099 GB, free: 1.094 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.065e-05/1.081, allocations: 3.906 kB / 1.099 GB, free: 1.09 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.324e-06/1.081, allocations: 4.625 kB / 1.099 GB, free: 1.086 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001213/1.081, allocations: 319.8 kB / 1.1 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.081e-05/1.081, allocations: 8 kB / 1.1 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.581e-05/1.081, allocations: 18.52 kB / 1.1 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.366e-05/1.081, allocations: 8 kB / 1.1 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/1.081, allocations: 0 / 1.1 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001572/1.081, allocations: 68.47 kB / 1.1 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/1.081, allocations: 4.625 kB / 1.1 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/1.081, allocations: 0 / 1.1 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/1.081, allocations: 0 / 1.1 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002094/1.082, allocations: 19.98 kB / 1.1 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/1.082, allocations: 2.109 kB / 1.1 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/1.082, allocations: 15.98 kB / 1.1 GB, free: 0.625 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/1.082, allocations: 0 / 1.1 GB, free: 0.625 MB / 0.698 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.252e-05/1.082, allocations: 108.9 kB / 1.1 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001664/1.082, allocations: 61.67 kB / 1.1 GB, free: 456 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.32e-05/1.082, allocations: 3.906 kB / 1.1 GB, free: 452 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.311e-05/1.082, allocations: 12.34 kB / 1.1 GB, free: 436 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/1.082, allocations: 0 / 1.1 GB, free: 436 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/1.082, allocations: 0 / 1.1 GB, free: 436 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/1.082, allocations: 1.406 kB / 1.1 GB, free: 436 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002221/1.082, allocations: 154.2 kB / 1.1 GB, free: 244 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/1.082, allocations: 0.75 kB / 1.1 GB, free: 244 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000159/1.083, allocations: 19.92 kB / 1.1 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/1.083, allocations: 0 / 1.1 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/1.083, allocations: 0 / 1.1 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/1.083, allocations: 4 kB / 1.1 GB, free: 220 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/1.083, allocations: 0 / 1.1 GB, free: 220 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001986/1.083, allocations: 158.2 kB / 1.1 GB, free: 48 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.104e-05/1.083, allocations: 85 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/1.083, allocations: 1.688 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/1.083, allocations: 13.61 kB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.22e-05/1.083, allocations: 11.98 kB / 1.1 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/1.083, allocations: 4 kB / 1.1 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.985e-05/1.083, allocations: 83.28 kB / 1.101 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.91e-07/1.083, allocations: 0 / 1.101 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003129/1.084, allocations: 12 kB / 1.101 GB, free: 15.82 MB / 0.7136 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.0005577/1.084, allocations: 0.7028 MB / 1.101 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001425/1.084, allocations: 27.98 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.084, allocations: 0 / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.096e-05/1.084, allocations: 23.94 kB / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/1.085, allocations: 6.578 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005179/1.085, allocations: 117.2 kB / 1.101 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/1.086, allocations: 0.6846 MB / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.319e-05/1.086, allocations: 8 kB / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.738e-05/1.086, allocations: 16.73 kB / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of SimCode: time 8.62e-07/1.086, allocations: 0 / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03847/1.124, allocations: 1.184 MB / 1.103 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003531/1.125, allocations: 157.5 kB / 1.103 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.251/3.376, allocations: 1.266 kB / 1.103 GB, free: 12.83 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1)