Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.0007687/0.0007687, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0008783/0.0008783, allocations: 219.2 kB / 22.26 MB, free: 3.84 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 0.938/0.938, allocations: 230.6 MB / 256 MB, free: 9.797 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7613/0.7613, allocations: 203.8 MB / 0.5042 GB, free: 10.77 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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.LessEqualThreshold,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",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.001294/0.001294, allocations: 71.89 kB / 0.7182 GB, free: 4.375 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4882/0.4895, allocations: 102 MB / 0.8179 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001347/0.4909, allocations: 0.7114 MB / 0.8186 GB, free: 0.8125 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006736/0.4915, allocations: 0.8693 MB / 0.8194 GB, free: 164 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.789e-05/0.4916, allocations: 0 / 0.8194 GB, free: 164 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.62e-05/0.4916, allocations: 6.531 kB / 0.8194 GB, free: 160 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.842e-05/0.4917, allocations: 3.938 kB / 0.8194 GB, free: 156 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001284/0.4918, allocations: 29.97 kB / 0.8194 GB, free: 136 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.215e-05/0.4919, allocations: 40.45 kB / 0.8195 GB, free: 120 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.884e-05/0.492, allocations: 14.59 kB / 0.8195 GB, free: 112 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.08e-05/0.4921, allocations: 24.3 kB / 0.8195 GB, free: 100 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.924e-05/0.4921, allocations: 28.69 kB / 0.8195 GB, free: 84 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.4921, allocations: 3.938 kB / 0.8196 GB, free: 84 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.425e-06/0.4921, allocations: 3.406 kB / 0.8196 GB, free: 84 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.921e-05/0.4922, allocations: 12.98 kB / 0.8196 GB, free: 76 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.914e-05/0.4922, allocations: 17.56 kB / 0.8196 GB, free: 64 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.093e-05/0.4923, allocations: 52.84 kB / 0.8196 GB, free: 40 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.4923, allocations: 3.594 kB / 0.8196 GB, free: 40 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4923, allocations: 0 / 0.8196 GB, free: 40 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.4923, allocations: 4 kB / 0.8196 GB, free: 36 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.0003715/0.4927, allocations: 281.6 kB / 0.8199 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.4927, allocations: 10.78 kB / 0.8199 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.597e-05/0.4927, allocations: 31.45 kB / 0.8199 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.086e-05/0.4928, allocations: 3.922 kB / 0.82 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.4929, allocations: 116.6 kB / 0.8201 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.4929, allocations: 1.906 kB / 0.8201 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.4929, allocations: 6.469 kB / 0.8201 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.493, allocations: 71.25 kB / 0.8201 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.493, allocations: 0.5156 kB / 0.8201 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.493, allocations: 0.875 kB / 0.8201 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.493, allocations: 3.531 kB / 0.8201 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.4932, allocations: 53.97 kB / 0.8202 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003677/0.4935, allocations: 267.9 kB / 0.8205 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.4937, allocations: 63.41 kB / 0.8205 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.441e-05/0.4937, allocations: 35.16 kB / 0.8205 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.4937, allocations: 2.906 kB / 0.8205 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.4938, allocations: 31.27 kB / 0.8206 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.372e-06/0.4938, allocations: 0 / 0.8206 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002879/0.4941, allocations: 108.3 kB / 0.8207 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.4941, allocations: 52.25 kB / 0.8207 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.995e-05/0.4942, allocations: 107.4 kB / 0.8208 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.4942, allocations: 30.39 kB / 0.8209 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.487e-05/0.4942, allocations: 91.75 kB / 0.821 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.669e-05/0.4942, allocations: 5.5 kB / 0.821 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.354e-05/0.4943, allocations: 22.41 kB / 0.821 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.562e-05/0.4944, allocations: 320.5 kB / 0.8213 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.502e-05/0.4944, allocations: 34.31 kB / 0.8213 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.942e-05/0.4945, allocations: 23.66 kB / 0.8213 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/0.4946, allocations: 49.08 kB / 0.8214 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4946, allocations: 0 / 0.8214 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001478/0.4947, allocations: 92.28 kB / 0.8215 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.4947, allocations: 4.719 kB / 0.8215 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.4948, allocations: 0.7969 kB / 0.8215 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.4948, allocations: 0 / 0.8215 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.712e-05/0.4949, allocations: 15.69 kB / 0.8215 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.4949, allocations: 6.812 kB / 0.8215 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.448e-05/0.4949, allocations: 6.859 kB / 0.8215 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.4949, allocations: 4.5 kB / 0.8215 GB, free: 14.38 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,intLesEquThr.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 6.423e-05/0.495, allocations: 117.9 kB / 0.8216 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.563e-05/0.495, allocations: 3.594 kB / 0.8216 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.042e-05/0.495, allocations: 5.219 kB / 0.8216 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.495, allocations: 0 / 0.8216 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.495, allocations: 0 / 0.8216 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.495, allocations: 0.5156 kB / 0.8216 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.4951, allocations: 150.7 kB / 0.8218 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.4951, allocations: 0.6094 kB / 0.8218 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.12e-05/0.4952, allocations: 11.61 kB / 0.8218 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.4952, allocations: 5.625 kB / 0.8218 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.4952, allocations: 0.7031 kB / 0.8218 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.4952, allocations: 0 / 0.8218 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4952, allocations: 1.094 kB / 0.8218 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001773/0.4954, allocations: 188.3 kB / 0.822 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.125e-05/0.4954, allocations: 8.188 kB / 0.822 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.06e-05/0.4954, allocations: 0.7031 kB / 0.822 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.578e-05/0.4954, allocations: 13.17 kB / 0.822 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.429e-05/0.4955, allocations: 12.09 kB / 0.822 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.4955, allocations: 1.5 kB / 0.822 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.418e-05/0.4955, allocations: 93.78 kB / 0.8221 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.4955, allocations: 0 / 0.8221 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001472/0.4957, allocations: 11.27 kB / 0.8221 GB, free: 13.83 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 (intLesEquThr.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.0003497/0.496, allocations: 0.7112 MB / 0.8228 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001573/0.4962, allocations: 58.95 kB / 0.8229 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.4962, allocations: 4.719 kB / 0.8229 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.454e-05/0.4962, allocations: 34.48 kB / 0.8229 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.4965, allocations: 5.969 kB / 0.8229 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.4976, allocations: 1.319 MB / 0.8242 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002024/0.4978, allocations: 0.6827 MB / 0.8249 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.253e-05/0.4978, allocations: 7.297 kB / 0.8249 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.352e-05/0.4979, allocations: 17.62 kB / 0.8249 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of SimCode: time 1.102e-06/0.4979, allocations: 0 / 0.8249 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01583/0.5137, allocations: 1.971 MB / 0.8268 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.809/7.323, allocations: 5.703 kB / 0.8268 GB, free: 10.75 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.090901841875166] Failed to read output from testmodel.py, exit status != 0: 7.40009944094345 7.413876027 6.918632514 Calling exit ...