Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008429/0.0008429, allocations: 105.5 kB / 18.95 MB, free: 1.184 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 206.6 kB / 22.24 MB, free: 3.582 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.101/1.101, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8127/0.8127, allocations: 203.5 MB / 0.5039 GB, free: 10.74 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001642/0.001642, allocations: 67.53 kB / 0.7178 GB, free: 4.418 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6832/0.6848, allocations: 102 MB / 0.8174 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.00199/0.6868, allocations: 0.6887 MB / 0.8181 GB, free: 0.8125 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.688, allocations: 0.8581 MB / 0.8189 GB, free: 176 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.671e-05/0.688, allocations: 0 / 0.8189 GB, free: 176 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.14e-05/0.6881, allocations: 0.5625 kB / 0.8189 GB, free: 176 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.6882, allocations: 14.5 kB / 0.8189 GB, free: 164 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002067/0.6884, allocations: 27 kB / 0.8189 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.6885, allocations: 44.62 kB / 0.819 GB, free: 128 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.6887, allocations: 9.828 kB / 0.819 GB, free: 124 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.989e-05/0.6888, allocations: 22.73 kB / 0.819 GB, free: 112 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.009e-05/0.6888, allocations: 20.97 kB / 0.819 GB, free: 104 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.525e-05/0.6889, allocations: 3.438 kB / 0.819 GB, free: 104 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.27e-05/0.6889, allocations: 8.5 kB / 0.819 GB, free: 100 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.669e-05/0.6889, allocations: 11.81 kB / 0.8191 GB, free: 92 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.621e-05/0.6889, allocations: 15.62 kB / 0.8191 GB, free: 84 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.6891, allocations: 53.16 kB / 0.8191 GB, free: 60 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/0.6891, allocations: 1.031 kB / 0.8191 GB, free: 60 kB / 0.6042 GB Notification: Performance of FrontEnd: time 3.707e-06/0.6891, allocations: 0 / 0.8191 GB, free: 60 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.187e-06/0.6891, allocations: 2 kB / 0.8191 GB, free: 60 kB / 0.6042 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.0005977/0.6897, allocations: 290.5 kB / 0.8194 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.629e-05/0.6898, allocations: 7.375 kB / 0.8194 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.582e-05/0.6898, allocations: 36.53 kB / 0.8194 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.649e-05/0.6899, allocations: 3.438 kB / 0.8194 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.69, allocations: 112.1 kB / 0.8196 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.69, allocations: 4.062 kB / 0.8196 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.69, allocations: 8.125 kB / 0.8196 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/0.6902, allocations: 65.66 kB / 0.8196 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.6903, allocations: 3.938 kB / 0.8196 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.6903, allocations: 4 kB / 0.8196 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.6903, allocations: 1.344 kB / 0.8196 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001471/0.6904, allocations: 55.88 kB / 0.8197 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005251/0.6909, allocations: 257.6 kB / 0.8199 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001671/0.6911, allocations: 64.98 kB / 0.82 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.862e-05/0.6912, allocations: 33.53 kB / 0.82 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.6912, allocations: 0 / 0.82 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.6912, allocations: 36.38 kB / 0.8201 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.6912, allocations: 0 / 0.8201 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002999/0.6915, allocations: 103.3 kB / 0.8202 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.6916, allocations: 55.41 kB / 0.8202 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.738e-05/0.6916, allocations: 111 kB / 0.8203 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.6917, allocations: 25.7 kB / 0.8203 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.732e-05/0.6917, allocations: 93.84 kB / 0.8204 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.762e-05/0.6917, allocations: 4.562 kB / 0.8204 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/0.6918, allocations: 19.62 kB / 0.8205 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.219e-05/0.6918, allocations: 318.8 kB / 0.8208 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.877e-05/0.6919, allocations: 21.95 kB / 0.8208 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.631e-05/0.692, allocations: 29.05 kB / 0.8208 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.6921, allocations: 57.95 kB / 0.8209 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.6921, allocations: 3.938 kB / 0.8209 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001521/0.6923, allocations: 82.64 kB / 0.8209 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.6923, allocations: 6.562 kB / 0.821 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.6923, allocations: 0.5625 kB / 0.821 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.6923, allocations: 0 / 0.821 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.848e-05/0.6924, allocations: 10.95 kB / 0.821 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.6924, allocations: 7.688 kB / 0.821 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.987e-05/0.6924, allocations: 9.609 kB / 0.821 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.6925, allocations: 10.69 kB / 0.821 GB, free: 14.41 MB / 0.6198 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 (reaToInt.y,intLesThr.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.128e-05/0.6925, allocations: 113.9 kB / 0.8211 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.308e-05/0.6925, allocations: 0.6875 kB / 0.8211 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.607e-05/0.6926, allocations: 12.64 kB / 0.8211 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.6926, allocations: 0 / 0.8211 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.6926, allocations: 0 / 0.8211 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.6926, allocations: 0.75 kB / 0.8211 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001246/0.6927, allocations: 141.7 kB / 0.8212 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.6927, allocations: 4.609 kB / 0.8213 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.768e-05/0.6927, allocations: 11.39 kB / 0.8213 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.6927, allocations: 0 / 0.8213 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-06/0.6928, allocations: 0.6562 kB / 0.8213 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.6928, allocations: 3.469 kB / 0.8213 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.6928, allocations: 4.594 kB / 0.8213 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001905/0.693, allocations: 181.3 kB / 0.8214 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.457e-05/0.693, allocations: 6.922 kB / 0.8215 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.693, allocations: 5.406 kB / 0.8215 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.443e-05/0.693, allocations: 15.91 kB / 0.8215 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.732e-05/0.6931, allocations: 12.95 kB / 0.8215 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.6931, allocations: 4.938 kB / 0.8215 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.763e-05/0.6932, allocations: 91.5 kB / 0.8216 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.6932, allocations: 0 / 0.8216 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001501/0.6933, allocations: 16.23 kB / 0.8216 GB, free: 13.85 MB / 0.6198 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 (intLesThr.y,reaToInt.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004635/0.6938, allocations: 0.7026 MB / 0.8223 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002213/0.694, allocations: 60.05 kB / 0.8223 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.694, allocations: 0 / 0.8223 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.204e-05/0.6941, allocations: 34.45 kB / 0.8224 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.6944, allocations: 6.266 kB / 0.8224 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.6959, allocations: 1.327 MB / 0.8237 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.437e-05/0.696, allocations: 68.47 kB / 0.8237 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.117e-05/0.696, allocations: 4.938 kB / 0.8237 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.982e-05/0.6961, allocations: 21.7 kB / 0.8238 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of SimCode: time 9.52e-07/0.6961, allocations: 4 kB / 0.8238 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01812/0.7142, allocations: 2.409 MB / 0.8261 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.005/8.719, allocations: 9.797 kB / 0.8261 GB, free: 10.98 MB / 0.6198 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_LessThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.013318255543709] Failed to read output from testmodel.py, exit status != 0: 8.799886601045728 8.815328319 8.123295526 Calling exit ...