Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.527/1.527, allocations: 249.3 MB / 261.8 MB, free: 5.941 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001033/0.001034, allocations: 184.6 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.816/1.816, allocations: 205.2 MB / 0.572 GB, free: 10.61 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.000955/0.000955, allocations: 86.48 kB / 0.6764 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.487e-05/4.508e-05, allocations: 8 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.2558, allocations: 106.3 MB / 0.8919 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8013/1.057, allocations: 131.6 MB / 1.02 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002109/1.058, allocations: 71.2 kB / 1.021 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002782/1.06, allocations: 0.9665 MB / 1.021 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.853e-06/1.06, allocations: 2.734 kB / 1.021 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.847e-06/1.06, allocations: 3.375 kB / 1.021 GB, free: 2.141 MB / 0.6355 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.0003978/1.061, allocations: 349.8 kB / 1.022 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/1.061, allocations: 12.03 kB / 1.022 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.203e-05/1.061, allocations: 34.55 kB / 1.022 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.091e-05/1.061, allocations: 7.906 kB / 1.022 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/1.061, allocations: 171 kB / 1.022 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/1.061, allocations: 7.938 kB / 1.022 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/1.061, allocations: 0 / 1.022 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/1.061, allocations: 60.77 kB / 1.022 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/1.061, allocations: 0 / 1.022 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/1.061, allocations: 4 kB / 1.022 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/1.061, allocations: 3.938 kB / 1.022 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.608e-05/1.061, allocations: 26.31 kB / 1.022 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004127/1.062, allocations: 286.8 kB / 1.022 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/1.062, allocations: 48.75 kB / 1.022 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.41e-05/1.062, allocations: 20.52 kB / 1.022 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/1.062, allocations: 0 / 1.022 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/1.062, allocations: 33.28 kB / 1.022 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/1.062, allocations: 4 kB / 1.022 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001827/1.062, allocations: 61.48 kB / 1.023 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/1.062, allocations: 63.34 kB / 1.023 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.451e-05/1.062, allocations: 99.38 kB / 1.023 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/1.062, allocations: 25.7 kB / 1.023 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.073e-05/1.062, allocations: 83.77 kB / 1.023 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/1.062, allocations: 15.8 kB / 1.023 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-06/1.062, allocations: 0 / 1.023 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001351/1.063, allocations: 314.5 kB / 1.023 GB, free: 320 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.123e-05/1.063, allocations: 15.25 kB / 1.023 GB, free: 308 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.414e-05/1.063, allocations: 11.94 kB / 1.023 GB, free: 300 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.274e-05/1.063, allocations: 15.92 kB / 1.023 GB, free: 288 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/1.063, allocations: 3.938 kB / 1.023 GB, free: 284 kB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001081/1.063, allocations: 60.5 kB / 1.023 GB, free: 224 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/1.063, allocations: 4 kB / 1.023 GB, free: 220 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/1.063, allocations: 0 / 1.023 GB, free: 220 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/1.063, allocations: 0 / 1.023 GB, free: 220 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/1.063, allocations: 15.98 kB / 1.023 GB, free: 204 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.443e-06/1.063, allocations: 4 kB / 1.023 GB, free: 200 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.275e-05/1.063, allocations: 19.62 kB / 1.023 GB, free: 184 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/1.063, allocations: 0 / 1.023 GB, free: 184 kB / 0.6355 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 8.416e-05/1.063, allocations: 112.9 kB / 1.023 GB, free: 64 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.522e-05/1.063, allocations: 3.906 kB / 1.023 GB, free: 60 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.269e-05/1.063, allocations: 14.39 kB / 1.023 GB, free: 48 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/1.063, allocations: 4 kB / 1.023 GB, free: 44 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/1.063, allocations: 4 kB / 1.023 GB, free: 40 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/1.063, allocations: 0 / 1.023 GB, free: 40 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/1.064, allocations: 173.3 kB / 1.024 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/1.064, allocations: 0 / 1.024 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.97e-05/1.064, allocations: 19.97 kB / 1.024 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/1.064, allocations: 0 / 1.024 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/1.064, allocations: 3.188 kB / 1.024 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/1.064, allocations: 4 kB / 1.024 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/1.064, allocations: 0 / 1.024 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001453/1.064, allocations: 161.5 kB / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.083e-05/1.064, allocations: 81.02 kB / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/1.064, allocations: 3.984 kB / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/1.064, allocations: 8 kB / 1.024 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.801e-05/1.064, allocations: 15.47 kB / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/1.064, allocations: 0 / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.321e-05/1.064, allocations: 87.03 kB / 1.024 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.31e-07/1.064, allocations: 4 kB / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002132/1.064, allocations: 8 kB / 1.024 GB, free: 15.43 MB / 0.6511 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.0004317/1.065, allocations: 0.7034 MB / 1.025 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.949e-05/1.065, allocations: 26.92 kB / 1.025 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/1.065, allocations: 0 / 1.025 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.737e-05/1.065, allocations: 27.62 kB / 1.025 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001688/1.065, allocations: 4 kB / 1.025 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003758/1.066, allocations: 114.2 kB / 1.025 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/1.066, allocations: 0.6887 MB / 1.025 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.683e-05/1.066, allocations: 4.25 kB / 1.025 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.577e-05/1.066, allocations: 19.36 kB / 1.025 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of SimCode: time 5.31e-07/1.066, allocations: 3.938 kB / 1.025 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01192/1.078, allocations: 1.533 MB / 1.027 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001985/1.078, allocations: 179.9 kB / 1.027 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.484/2.562, allocations: 0 / 1.027 GB, free: 12.16 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1)