Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.0008034/0.0008034, 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.0008121/0.0008121, allocations: 212.1 kB / 22.25 MB, free: 3.727 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.9466/0.9466, allocations: 230.6 MB / 256 MB, free: 9.586 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.811/0.811, allocations: 203.8 MB / 0.5042 GB, free: 10.46 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.GreaterThreshold,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",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.001071/0.001071, allocations: 65.98 kB / 0.7182 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4937/0.4947, allocations: 102 MB / 0.8178 GB, free: 1.031 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001478/0.4962, allocations: 0.6904 MB / 0.8185 GB, free: 0.5977 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007224/0.4969, allocations: 0.8623 MB / 0.8193 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.655e-05/0.497, allocations: 0 / 0.8193 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.979e-05/0.497, allocations: 4.594 kB / 0.8193 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.102e-05/0.4971, allocations: 6.922 kB / 0.8193 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001485/0.4972, allocations: 24.19 kB / 0.8193 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.466e-05/0.4973, allocations: 44.3 kB / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.4974, allocations: 13.5 kB / 0.8194 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.348e-05/0.4975, allocations: 24.61 kB / 0.8194 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.386e-05/0.4975, allocations: 21.28 kB / 0.8194 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.4975, allocations: 4.312 kB / 0.8195 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.288e-06/0.4975, allocations: 4.938 kB / 0.8195 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.295e-05/0.4976, allocations: 16.52 kB / 0.8195 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.901e-05/0.4976, allocations: 12.5 kB / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001056/0.4977, allocations: 46.64 kB / 0.8195 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.4977, allocations: 0.6562 kB / 0.8195 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4977, allocations: 1.688 kB / 0.8195 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.4977, allocations: 7.938 kB / 0.8195 GB, free: 15.84 MB / 0.6198 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.0003884/0.4981, allocations: 286.3 kB / 0.8198 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.4981, allocations: 9.406 kB / 0.8198 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.134e-05/0.4982, allocations: 35.55 kB / 0.8199 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.398e-05/0.4982, allocations: 4.125 kB / 0.8199 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.086e-05/0.4983, allocations: 114.7 kB / 0.82 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.4983, allocations: 6.344 kB / 0.82 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.928e-06/0.4983, allocations: 8.062 kB / 0.82 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.4985, allocations: 69.58 kB / 0.82 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.4985, allocations: 4 kB / 0.8201 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.4985, allocations: 4.516 kB / 0.8201 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.4985, allocations: 0 / 0.8201 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.4986, allocations: 50.47 kB / 0.8201 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003656/0.499, allocations: 257.9 kB / 0.8203 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001504/0.4991, allocations: 61.86 kB / 0.8204 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.484e-05/0.4992, allocations: 32.05 kB / 0.8204 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.4992, allocations: 4.516 kB / 0.8204 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/0.4992, allocations: 32.84 kB / 0.8205 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.4992, allocations: 0 / 0.8205 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002892/0.4995, allocations: 107 kB / 0.8206 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.4995, allocations: 52.11 kB / 0.8206 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.909e-05/0.4996, allocations: 110.7 kB / 0.8207 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.4996, allocations: 26.36 kB / 0.8208 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.98e-05/0.4997, allocations: 91.92 kB / 0.8208 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.766e-05/0.4997, allocations: 11.23 kB / 0.8209 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.21e-05/0.4997, allocations: 20.8 kB / 0.8209 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.542e-05/0.4998, allocations: 316 kB / 0.8212 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.791e-05/0.4999, allocations: 22.86 kB / 0.8212 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.328e-05/0.5, allocations: 24.19 kB / 0.8212 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.5001, allocations: 52.22 kB / 0.8213 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.5001, allocations: 2.719 kB / 0.8213 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001695/0.5003, allocations: 91.89 kB / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.5003, allocations: 3.438 kB / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.5003, allocations: 3.938 kB / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.5003, allocations: 0.7969 kB / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.5004, allocations: 11.75 kB / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.5004, allocations: 3.562 kB / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.288e-05/0.5005, allocations: 5.531 kB / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.5005, allocations: 15.53 kB / 0.8214 GB, free: 14.2 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,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.977e-05/0.5006, allocations: 113 kB / 0.8215 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.714e-05/0.5006, allocations: 1.625 kB / 0.8215 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.742e-05/0.5006, allocations: 9.797 kB / 0.8215 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.5006, allocations: 0.6094 kB / 0.8215 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.5006, allocations: 1.375 kB / 0.8215 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.5006, allocations: 0.6562 kB / 0.8215 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.5008, allocations: 145.9 kB / 0.8217 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.5008, allocations: 0 / 0.8217 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.679e-05/0.5009, allocations: 17.3 kB / 0.8217 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.5009, allocations: 0 / 0.8217 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.5009, allocations: 8.781 kB / 0.8217 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.5009, allocations: 0.5156 kB / 0.8217 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.5009, allocations: 0 / 0.8217 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002368/0.5011, allocations: 189.1 kB / 0.8219 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.515e-05/0.5011, allocations: 5.219 kB / 0.8219 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.5012, allocations: 1.734 kB / 0.8219 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.1e-05/0.5012, allocations: 15.02 kB / 0.8219 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.705e-05/0.5013, allocations: 5.906 kB / 0.8219 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.5013, allocations: 9.25 kB / 0.8219 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.513e-05/0.5013, allocations: 90.67 kB / 0.822 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5013, allocations: 0 / 0.822 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001611/0.5015, allocations: 14.64 kB / 0.822 GB, free: 13.63 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 (intGreThr.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.0004488/0.502, allocations: 0.7057 MB / 0.8227 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001969/0.5022, allocations: 51.56 kB / 0.8227 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5022, allocations: 4 kB / 0.8227 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.624e-05/0.5022, allocations: 36.5 kB / 0.8228 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.5025, allocations: 3.828 kB / 0.8228 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.5038, allocations: 1.328 MB / 0.8241 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.986e-05/0.5039, allocations: 68.69 kB / 0.8241 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.592e-05/0.5039, allocations: 5.609 kB / 0.8242 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.47e-05/0.504, allocations: 21.52 kB / 0.8242 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of SimCode: time 7.02e-07/0.504, allocations: 0 / 0.8242 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01659/0.5206, allocations: 2.421 MB / 0.8265 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.289/6.81, allocations: 7.109 kB / 0.8265 GB, free: 10.75 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.744268917944282] Failed to read output from testmodel.py, exit status != 0: 6.889692299999297 6.905124138 6.4052294 Calling exit ...