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.795/1.795, allocations: 292.6 MB / 307.5 MB, free: 5.227 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.001226/0.001226, allocations: 189 kB / 377.1 MB, free: 1.531 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.498/1.498, allocations: 205.4 MB / 0.6366 GB, free: 9.551 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.0008583/0.0008582, allocations: 94.52 kB / 0.7509 GB, free: 62.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003943/0.0003945, allocations: 8 kB / 0.8749 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.2805, allocations: 116.3 MB / 0.9884 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.773/1.054, allocations: 138.8 MB / 1.124 GB, free: 35.83 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/1.054, allocations: 68 kB / 1.124 GB, free: 35.77 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002871/1.057, allocations: 0.9539 MB / 1.125 GB, free: 35.03 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.074e-06/1.057, allocations: 0.5625 kB / 1.125 GB, free: 35.03 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.344e-06/1.057, allocations: 0 / 1.125 GB, free: 35.03 MB / 0.7292 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.0004236/1.057, allocations: 359.8 kB / 1.125 GB, free: 34.65 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/1.057, allocations: 20.02 kB / 1.125 GB, free: 34.63 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.263e-05/1.057, allocations: 38.17 kB / 1.125 GB, free: 34.59 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.879e-05/1.057, allocations: 2.844 kB / 1.125 GB, free: 34.59 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/1.058, allocations: 168.2 kB / 1.126 GB, free: 34.38 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/1.058, allocations: 4 kB / 1.126 GB, free: 34.38 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.838e-05/1.058, allocations: 7.172 kB / 1.126 GB, free: 34.38 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/1.058, allocations: 80.28 kB / 1.126 GB, free: 34.3 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/1.058, allocations: 0 / 1.126 GB, free: 34.3 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/1.058, allocations: 4 kB / 1.126 GB, free: 34.3 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/1.058, allocations: 1.719 kB / 1.126 GB, free: 34.3 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001915/1.058, allocations: 59.05 kB / 1.126 GB, free: 34.26 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003694/1.058, allocations: 283.4 kB / 1.126 GB, free: 33.95 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/1.059, allocations: 73.06 kB / 1.126 GB, free: 33.88 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/1.059, allocations: 0.6562 kB / 1.126 GB, free: 33.88 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/1.059, allocations: 30.56 kB / 1.126 GB, free: 33.84 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/1.059, allocations: 4 kB / 1.126 GB, free: 33.84 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4): time 0.0003951/1.059, allocations: 127.1 kB / 1.126 GB, free: 33.73 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.712e-05/1.059, allocations: 60.28 kB / 1.126 GB, free: 33.66 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.829e-05/1.059, allocations: 101.2 kB / 1.126 GB, free: 33.55 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.819e-06/1.059, allocations: 29.64 kB / 1.126 GB, free: 33.52 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.717e-05/1.059, allocations: 91.75 kB / 1.126 GB, free: 33.43 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.659e-05/1.059, allocations: 11.75 kB / 1.126 GB, free: 33.42 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-06/1.059, allocations: 0 / 1.126 GB, free: 33.42 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.698e-05/1.059, allocations: 318.8 kB / 1.127 GB, free: 33.1 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.534e-05/1.059, allocations: 34.94 kB / 1.127 GB, free: 33.07 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.62e-05/1.06, allocations: 26.94 kB / 1.127 GB, free: 33.05 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.883e-05/1.06, allocations: 27.03 kB / 1.127 GB, free: 33.03 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/1.06, allocations: 0.8438 kB / 1.127 GB, free: 33.03 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000215/1.06, allocations: 99.53 kB / 1.127 GB, free: 32.94 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/1.06, allocations: 4 kB / 1.127 GB, free: 32.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/1.06, allocations: 0 / 1.127 GB, free: 32.94 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/1.06, allocations: 0 / 1.127 GB, free: 32.94 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/1.06, allocations: 19.88 kB / 1.127 GB, free: 32.92 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/1.06, allocations: 4.781 kB / 1.127 GB, free: 32.92 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.95e-05/1.06, allocations: 12.31 kB / 1.127 GB, free: 32.91 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/1.06, allocations: 0 / 1.127 GB, free: 32.91 MB / 0.7292 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 7.669e-05/1.06, allocations: 122.4 kB / 1.127 GB, free: 32.79 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.539e-05/1.06, allocations: 4.594 kB / 1.127 GB, free: 32.78 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.761e-05/1.06, allocations: 7.906 kB / 1.127 GB, free: 32.77 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/1.06, allocations: 0 / 1.127 GB, free: 32.77 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/1.06, allocations: 0.6094 kB / 1.127 GB, free: 32.77 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/1.06, allocations: 4 kB / 1.127 GB, free: 32.77 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/1.06, allocations: 180.1 kB / 1.127 GB, free: 32.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/1.06, allocations: 4.625 kB / 1.127 GB, free: 32.55 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.097e-05/1.061, allocations: 14.94 kB / 1.127 GB, free: 32.54 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/1.061, allocations: 0 / 1.127 GB, free: 32.54 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/1.061, allocations: 0 / 1.127 GB, free: 32.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/1.061, allocations: 4.938 kB / 1.127 GB, free: 32.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/1.061, allocations: 4.875 kB / 1.127 GB, free: 32.54 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002473/1.061, allocations: 194 kB / 1.127 GB, free: 32.34 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.349e-05/1.061, allocations: 84.58 kB / 1.128 GB, free: 32.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/1.061, allocations: 4 kB / 1.128 GB, free: 32.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/1.061, allocations: 15.38 kB / 1.128 GB, free: 32.23 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.317e-05/1.061, allocations: 12.12 kB / 1.128 GB, free: 32.22 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.72e-06/1.061, allocations: 0.625 kB / 1.128 GB, free: 32.22 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.025e-05/1.061, allocations: 87.45 kB / 1.128 GB, free: 32.14 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.061, allocations: 0 / 1.128 GB, free: 32.14 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002115/1.061, allocations: 8 kB / 1.128 GB, free: 32.13 MB / 0.7292 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.0004701/1.062, allocations: 0.7383 MB / 1.128 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002295/1.062, allocations: 65.92 kB / 1.128 GB, free: 31.34 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/1.062, allocations: 0 / 1.128 GB, free: 31.34 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001048/1.062, allocations: 35.08 kB / 1.128 GB, free: 31.31 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002107/1.062, allocations: 9.406 kB / 1.129 GB, free: 31.3 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008469/1.063, allocations: 0.4909 MB / 1.129 GB, free: 30.81 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/1.063, allocations: 0.6837 MB / 1.13 GB, free: 30.11 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.52e-05/1.064, allocations: 4.656 kB / 1.13 GB, free: 30.11 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.843e-05/1.064, allocations: 14.91 kB / 1.13 GB, free: 30.1 MB / 0.7292 GB Notification: Performance of SimCode: time 3.11e-07/1.064, allocations: 4 kB / 1.13 GB, free: 30.09 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01218/1.076, allocations: 1.506 MB / 1.131 GB, free: 29.29 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002114/1.076, allocations: 192.6 kB / 1.131 GB, free: 29.04 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.868/2.944, allocations: 0 / 1.131 GB, free: 29.04 MB / 0.7292 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)