Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Less.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.0007516/0.0007516, allocations: 101.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.0008899/0.0008899, allocations: 209.7 kB / 22.24 MB, free: 3.57 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.9259/0.9259, 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 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.7821/0.7821, allocations: 203.8 MB / 0.5042 GB, free: 10.45 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.Less,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Less",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.0009527/0.0009527, allocations: 71.81 kB / 0.7182 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4879/0.4889, allocations: 102 MB / 0.8178 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Less): time 0.002362/0.4912, allocations: 1.961 MB / 0.8197 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001546/0.4928, allocations: 1.288 MB / 0.821 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.9e-05/0.4929, allocations: 5.438 kB / 0.821 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000394/0.4933, allocations: 160.2 kB / 0.8211 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003576/0.4936, allocations: 217.5 kB / 0.8213 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002507/0.4939, allocations: 165.4 kB / 0.8215 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003337/0.4942, allocations: 333.8 kB / 0.8218 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.4944, allocations: 33.55 kB / 0.8218 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001701/0.4946, allocations: 155 kB / 0.822 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001948/0.4947, allocations: 160.2 kB / 0.8221 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.844e-05/0.4948, allocations: 15.75 kB / 0.8222 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.4949, allocations: 57.52 kB / 0.8222 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.495, allocations: 103.3 kB / 0.8223 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.368e-05/0.4951, allocations: 103.1 kB / 0.8224 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003651/0.4955, allocations: 385.1 kB / 0.8228 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.4955, allocations: 0 / 0.8228 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.853e-06/0.4955, allocations: 0 / 0.8228 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.4955, allocations: 0 / 0.8228 GB, free: 14.05 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007643/0.4962, allocations: 0.5786 MB / 0.8233 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.4963, allocations: 9.312 kB / 0.8234 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.773e-05/0.4963, allocations: 39.08 kB / 0.8234 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.527e-05/0.4964, allocations: 38.36 kB / 0.8234 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003886/0.4968, allocations: 319.8 kB / 0.8237 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.4968, allocations: 16.19 kB / 0.8237 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.4968, allocations: 6.188 kB / 0.8238 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002061/0.497, allocations: 109.2 kB / 0.8239 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.497, allocations: 1.125 kB / 0.8239 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.497, allocations: 4 kB / 0.8239 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.497, allocations: 2.984 kB / 0.8239 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.4971, allocations: 62 kB / 0.8239 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006028/0.4977, allocations: 459.8 kB / 0.8244 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002415/0.498, allocations: 139.5 kB / 0.8245 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.431e-05/0.4981, allocations: 50.94 kB / 0.8245 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.4981, allocations: 1.188 kB / 0.8245 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002249/0.4983, allocations: 115.1 kB / 0.8247 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.4983, allocations: 1.281 kB / 0.8247 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0003915/0.4987, allocations: 240 kB / 0.8249 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.4987, allocations: 57.33 kB / 0.8249 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004621/0.4992, allocations: 0.5325 MB / 0.8255 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.4992, allocations: 32.38 kB / 0.8255 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.778e-05/0.4993, allocations: 172.2 kB / 0.8257 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.164e-05/0.4994, allocations: 38.62 kB / 0.8257 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.862e-05/0.4994, allocations: 71.98 kB / 0.8258 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.4995, allocations: 344.9 kB / 0.8261 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.4997, allocations: 107.9 kB / 0.8262 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/0.4998, allocations: 134.8 kB / 0.8263 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002305/0.5, allocations: 203.2 kB / 0.8265 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.5, allocations: 0 / 0.8265 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003633/0.5004, allocations: 331.4 kB / 0.8268 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.5004, allocations: 9.062 kB / 0.8268 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.5004, allocations: 1.531 kB / 0.8268 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.5004, allocations: 2.906 kB / 0.8268 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.5006, allocations: 50.2 kB / 0.8269 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.5006, allocations: 2.094 kB / 0.8269 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.794e-05/0.5007, allocations: 25.75 kB / 0.8269 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.478e-05/0.5007, allocations: 14.7 kB / 0.8269 GB, free: 11.38 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt1.y,reaToInt.y,intLes.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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 0.000142/0.5008, allocations: 183.3 kB / 0.8271 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.41e-05/0.5009, allocations: 39.97 kB / 0.8271 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003179/0.5012, allocations: 205.4 kB / 0.8273 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.5012, allocations: 1.312 kB / 0.8273 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.5012, allocations: 1.031 kB / 0.8273 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.5012, allocations: 1.453 kB / 0.8273 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002271/0.5015, allocations: 265.2 kB / 0.8276 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.5015, allocations: 0 / 0.8276 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.893e-05/0.5015, allocations: 23.44 kB / 0.8276 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.5015, allocations: 3.938 kB / 0.8276 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.5015, allocations: 12.03 kB / 0.8276 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.5015, allocations: 0.6562 kB / 0.8276 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5015, allocations: 1.25 kB / 0.8276 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003327/0.5019, allocations: 224 kB / 0.8279 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.378e-05/0.5019, allocations: 46.3 kB / 0.8279 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.801e-05/0.5019, allocations: 6.047 kB / 0.8279 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.891e-05/0.502, allocations: 15.86 kB / 0.8279 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.202e-05/0.5021, allocations: 18.72 kB / 0.8279 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.5021, allocations: 7.75 kB / 0.8279 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002582/0.5023, allocations: 326.6 kB / 0.8283 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5023, allocations: 0 / 0.8283 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002154/0.5025, allocations: 60.16 kB / 0.8283 GB, free: 10.57 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: 9 ($whenCondition2,$whenCondition1,intLes.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001287/0.5038, allocations: 1.109 MB / 0.8294 GB, free: 9.828 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000377/0.5042, allocations: 195.8 kB / 0.8296 GB, free: 9.77 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.5042, allocations: 0.5312 kB / 0.8296 GB, free: 9.77 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.5044, allocations: 61.78 kB / 0.8296 GB, free: 9.754 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004034/0.5048, allocations: 92.8 kB / 0.8297 GB, free: 9.727 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004051/0.5088, allocations: 3.222 MB / 0.8329 GB, free: 7.906 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002209/0.509, allocations: 191 kB / 0.8331 GB, free: 7.812 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002031/0.5092, allocations: 59.78 kB / 0.8331 GB, free: 7.797 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001468/0.5094, allocations: 114.2 kB / 0.8332 GB, free: 7.719 MB / 0.6198 GB Notification: Performance of SimCode: time 8.41e-07/0.5094, allocations: 0 / 0.8332 GB, free: 7.719 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02263/0.532, allocations: 8.341 MB / 0.8414 GB, free: 4.473 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.563/7.095, allocations: 8.891 kB / 0.8414 GB, free: 4.469 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Less_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Less.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.001519531942904] Failed to read output from testmodel.py, exit status != 0: 7.194249494932592 7.206086049 6.708672074 Calling exit ...