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.737/1.737, allocations: 289.7 MB / 302.2 MB, free: 2.211 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.001128/0.001128, allocations: 184.7 kB / 371.6 MB, free: 3.398 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.746/1.746, allocations: 205.2 MB / 0.6309 GB, free: 11.75 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.0009401/0.0009404, allocations: 89.69 kB / 0.745 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.59e-05/5.604e-05, allocations: 8 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2761, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9181/1.194, allocations: 138.7 MB / 1.115 GB, free: 44.74 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001909/1.195, allocations: 65.88 kB / 1.115 GB, free: 44.71 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.002545/1.197, allocations: 0.9451 MB / 1.116 GB, free: 44.06 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.224e-06/1.197, allocations: 0 / 1.116 GB, free: 44.06 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.993e-06/1.197, allocations: 0.5312 kB / 1.116 GB, free: 44.06 MB / 0.7448 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.0003484/1.197, allocations: 361.8 kB / 1.117 GB, free: 43.69 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/1.198, allocations: 8.031 kB / 1.117 GB, free: 43.68 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.581e-05/1.198, allocations: 38.12 kB / 1.117 GB, free: 43.64 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.735e-05/1.198, allocations: 4.062 kB / 1.117 GB, free: 43.64 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/1.198, allocations: 166.5 kB / 1.117 GB, free: 43.44 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/1.198, allocations: 3.266 kB / 1.117 GB, free: 43.44 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/1.198, allocations: 10.06 kB / 1.117 GB, free: 43.44 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/1.198, allocations: 48.14 kB / 1.117 GB, free: 43.39 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/1.198, allocations: 3.875 kB / 1.117 GB, free: 43.39 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/1.198, allocations: 0 / 1.117 GB, free: 43.39 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/1.198, allocations: 7.938 kB / 1.117 GB, free: 43.39 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.297e-05/1.198, allocations: 23.38 kB / 1.117 GB, free: 43.38 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003905/1.198, allocations: 292 kB / 1.117 GB, free: 43.08 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/1.199, allocations: 53.31 kB / 1.117 GB, free: 43.03 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.665e-05/1.199, allocations: 20.33 kB / 1.117 GB, free: 43.02 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/1.199, allocations: 0.5625 kB / 1.117 GB, free: 43.02 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/1.199, allocations: 42.19 kB / 1.117 GB, free: 42.97 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/1.199, allocations: 0 / 1.117 GB, free: 42.97 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001676/1.199, allocations: 55.84 kB / 1.117 GB, free: 42.92 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/1.199, allocations: 51.41 kB / 1.117 GB, free: 42.86 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.298e-05/1.199, allocations: 101.6 kB / 1.118 GB, free: 42.76 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/1.199, allocations: 25.7 kB / 1.118 GB, free: 42.73 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.325e-05/1.199, allocations: 93.92 kB / 1.118 GB, free: 42.64 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.023e-05/1.199, allocations: 11.47 kB / 1.118 GB, free: 42.63 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-06/1.199, allocations: 0 / 1.118 GB, free: 42.63 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.808e-05/1.199, allocations: 322.3 kB / 1.118 GB, free: 42.31 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.98e-05/1.199, allocations: 15.75 kB / 1.118 GB, free: 42.3 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.38e-05/1.199, allocations: 11.69 kB / 1.118 GB, free: 42.3 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.233e-05/1.199, allocations: 11.69 kB / 1.118 GB, free: 42.29 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/1.199, allocations: 0 / 1.118 GB, free: 42.29 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001002/1.199, allocations: 61 kB / 1.118 GB, free: 42.24 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/1.199, allocations: 4 kB / 1.118 GB, free: 42.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/1.199, allocations: 0.7031 kB / 1.118 GB, free: 42.23 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/1.199, allocations: 0 / 1.118 GB, free: 42.23 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/1.2, allocations: 20.77 kB / 1.118 GB, free: 42.22 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/1.2, allocations: 0 / 1.118 GB, free: 42.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.908e-05/1.2, allocations: 15.28 kB / 1.118 GB, free: 42.21 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.148e-06/1.2, allocations: 0 / 1.118 GB, free: 42.21 MB / 0.7448 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 5.159e-05/1.2, allocations: 124.6 kB / 1.118 GB, free: 42.09 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/1.2, allocations: 4 kB / 1.118 GB, free: 42.09 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.722e-05/1.2, allocations: 5.094 kB / 1.118 GB, free: 42.08 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/1.2, allocations: 4 kB / 1.118 GB, free: 42.07 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/1.2, allocations: 0 / 1.118 GB, free: 42.07 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/1.2, allocations: 4.75 kB / 1.118 GB, free: 42.07 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001403/1.2, allocations: 174.5 kB / 1.118 GB, free: 41.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/1.2, allocations: 0 / 1.118 GB, free: 41.87 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.653e-05/1.2, allocations: 16.08 kB / 1.118 GB, free: 41.86 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/1.2, allocations: 3.375 kB / 1.118 GB, free: 41.86 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/1.2, allocations: 0.6875 kB / 1.118 GB, free: 41.86 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/1.2, allocations: 0 / 1.118 GB, free: 41.86 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/1.2, allocations: 0 / 1.118 GB, free: 41.86 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001178/1.2, allocations: 166.2 kB / 1.119 GB, free: 41.7 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.012e-05/1.2, allocations: 81.11 kB / 1.119 GB, free: 41.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/1.2, allocations: 0.5 kB / 1.119 GB, free: 41.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/1.2, allocations: 14.66 kB / 1.119 GB, free: 41.59 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.132e-05/1.2, allocations: 11.27 kB / 1.119 GB, free: 41.59 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/1.2, allocations: 0 / 1.119 GB, free: 41.59 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.766e-05/1.2, allocations: 95.55 kB / 1.119 GB, free: 41.5 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/1.2, allocations: 0 / 1.119 GB, free: 41.5 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002052/1.201, allocations: 13.09 kB / 1.119 GB, free: 41.49 MB / 0.7448 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.000332/1.201, allocations: 0.7012 MB / 1.12 GB, free: 40.79 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001132/1.201, allocations: 35.34 kB / 1.12 GB, free: 40.77 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.201, allocations: 4 kB / 1.12 GB, free: 40.76 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.001e-05/1.201, allocations: 19.5 kB / 1.12 GB, free: 40.75 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001746/1.201, allocations: 11.45 kB / 1.12 GB, free: 40.74 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003677/1.202, allocations: 111 kB / 1.12 GB, free: 40.62 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001393/1.202, allocations: 0.6837 MB / 1.12 GB, free: 39.91 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.842e-05/1.202, allocations: 8 kB / 1.12 GB, free: 39.91 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.128e-05/1.202, allocations: 17.75 kB / 1.12 GB, free: 39.9 MB / 0.7448 GB Notification: Performance of SimCode: time 3.11e-07/1.202, allocations: 0 / 1.12 GB, free: 39.9 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01298/1.215, allocations: 1.509 MB / 1.122 GB, free: 39.1 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001483/1.215, allocations: 166.2 kB / 1.122 GB, free: 38.88 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.496/2.711, allocations: 0 / 1.122 GB, free: 38.88 MB / 0.7448 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)