Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.973/1.973, allocations: 289.9 MB / 297.4 MB, free: 6.367 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.001131/0.001131, allocations: 168.9 kB / 366.7 MB, free: 1.66 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.71/1.71, allocations: 205.3 MB / 0.626 GB, free: 7.195 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.0009683/0.0009682, allocations: 102.5 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.803e-05/2.795e-05, allocations: 4 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6731/0.6732, allocations: 116.3 MB / 0.9734 GB, free: 76.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1935/0.8667, allocations: 138 MB / 1.108 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002192/0.867, allocations: 71.95 kB / 1.108 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.002721/0.8697, allocations: 0.9421 MB / 1.109 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.162e-06/0.8697, allocations: 0.5938 kB / 1.109 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.8698, allocations: 0 / 1.109 GB, free: 11.19 MB / 0.7136 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.0004186/0.8702, allocations: 359.7 kB / 1.109 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.8702, allocations: 12.03 kB / 1.109 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.291e-05/0.8703, allocations: 6.562 kB / 1.109 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.8704, allocations: 175 kB / 1.11 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.8704, allocations: 0.8438 kB / 1.11 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.8705, allocations: 4 kB / 1.11 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.902e-05/0.8705, allocations: 20 kB / 1.11 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.8707, allocations: 50.52 kB / 1.11 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.8707, allocations: 1.125 kB / 1.11 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.8707, allocations: 0 / 1.11 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.8707, allocations: 0 / 1.11 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000385/0.8711, allocations: 266.7 kB / 1.11 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.956e-05/0.8712, allocations: 52.06 kB / 1.11 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.266e-05/0.8712, allocations: 15.05 kB / 1.11 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.8713, allocations: 7.531 kB / 1.11 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.8713, allocations: 34.56 kB / 1.11 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.8713, allocations: 1.812 kB / 1.11 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001534/0.8715, allocations: 53.77 kB / 1.11 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.8715, allocations: 55.41 kB / 1.11 GB, free: 9.949 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.237e-05/0.8716, allocations: 103.3 kB / 1.11 GB, free: 9.844 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.8716, allocations: 26.45 kB / 1.11 GB, free: 9.812 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.195e-05/0.8717, allocations: 89.42 kB / 1.11 GB, free: 9.723 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.629e-05/0.8717, allocations: 7.906 kB / 1.11 GB, free: 9.715 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.119e-06/0.8717, allocations: 0 / 1.11 GB, free: 9.715 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.8718, allocations: 320.4 kB / 1.111 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.655e-05/0.8718, allocations: 12 kB / 1.111 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.029e-05/0.8719, allocations: 8 kB / 1.111 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.197e-05/0.8719, allocations: 12 kB / 1.111 GB, free: 9.363 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.8719, allocations: 5.219 kB / 1.111 GB, free: 9.359 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.385e-05/0.872, allocations: 61.58 kB / 1.111 GB, free: 9.293 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.872, allocations: 4 kB / 1.111 GB, free: 9.289 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.872, allocations: 5.25 kB / 1.111 GB, free: 9.285 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.8721, allocations: 4.188 kB / 1.111 GB, free: 9.281 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.8722, allocations: 12.98 kB / 1.111 GB, free: 9.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-06/0.8722, allocations: 0 / 1.111 GB, free: 9.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.37e-05/0.8723, allocations: 15.42 kB / 1.111 GB, free: 9.258 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.8723, allocations: 6.234 kB / 1.111 GB, free: 9.254 MB / 0.7136 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 6.501e-05/0.8724, allocations: 114.4 kB / 1.111 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.967e-05/0.8725, allocations: 53.69 kB / 1.111 GB, free: 9.078 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.8725, allocations: 7.906 kB / 1.111 GB, free: 9.07 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.751e-05/0.8726, allocations: 13.64 kB / 1.111 GB, free: 9.051 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.8726, allocations: 0 / 1.111 GB, free: 9.051 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.8726, allocations: 0 / 1.111 GB, free: 9.051 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.8726, allocations: 4 kB / 1.111 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001623/0.8727, allocations: 158.2 kB / 1.111 GB, free: 8.855 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.8728, allocations: 0 / 1.111 GB, free: 8.855 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.583e-05/0.8729, allocations: 15.92 kB / 1.111 GB, free: 8.84 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.8729, allocations: 0 / 1.111 GB, free: 8.84 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.8729, allocations: 0 / 1.111 GB, free: 8.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.051e-06/0.8729, allocations: 4 kB / 1.111 GB, free: 8.836 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.8729, allocations: 3.984 kB / 1.111 GB, free: 8.832 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001455/0.873, allocations: 154.2 kB / 1.111 GB, free: 8.668 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.821e-05/0.8731, allocations: 85.02 kB / 1.111 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.8731, allocations: 0 / 1.111 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.8732, allocations: 11.98 kB / 1.111 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.304e-05/0.8733, allocations: 11.98 kB / 1.111 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.982e-06/0.8733, allocations: 3.625 kB / 1.111 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.789e-05/0.8734, allocations: 87.27 kB / 1.112 GB, free: 8.457 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8734, allocations: 0 / 1.112 GB, free: 8.457 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002149/0.8736, allocations: 15.94 kB / 1.112 GB, free: 8.441 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.0004375/0.874, allocations: 0.6977 MB / 1.112 GB, free: 7.719 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.314e-05/0.8741, allocations: 24 kB / 1.112 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.8741, allocations: 0 / 1.112 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.149e-05/0.8742, allocations: 23.92 kB / 1.112 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001797/0.8744, allocations: 6.062 kB / 1.112 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003826/0.8748, allocations: 116.1 kB / 1.112 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/0.875, allocations: 0.6846 MB / 1.113 GB, free: 6.809 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.57e-05/0.8751, allocations: 11.08 kB / 1.113 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.692e-05/0.8751, allocations: 15.44 kB / 1.113 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of SimCode: time 3.01e-07/0.8752, allocations: 0 / 1.113 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02124/0.8964, allocations: 1.19 MB / 1.114 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000205/0.8967, allocations: 153.1 kB / 1.114 GB, free: 5.453 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.491/2.388, allocations: 1.266 kB / 1.114 GB, free: 5.453 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1)