Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.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: 115 kB / 19.7 MB, free: 0.5273 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.0007468/0.0007468, allocations: 203.8 kB / 23 MB, free: 3.125 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.9011/0.9011, allocations: 230.6 MB / 256.8 MB, free: 3.473 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.7767/0.7767, allocations: 203.8 MB / 0.5049 GB, free: 0.7461 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: translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max") [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.0009519/0.0009519, allocations: 71.89 kB / 0.7195 GB, free: 14.39 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4649/0.4659, allocations: 102 MB / 0.8191 GB, free: 25.27 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Max): time 0.001572/0.4674, allocations: 0.7028 MB / 0.8198 GB, free: 24.84 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0008269/0.4683, allocations: 0.8451 MB / 0.8206 GB, free: 24.2 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.342e-05/0.4683, allocations: 0.8438 kB / 0.8206 GB, free: 24.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.776e-05/0.4683, allocations: 5.125 kB / 0.8206 GB, free: 24.19 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.877e-05/0.4684, allocations: 9.109 kB / 0.8207 GB, free: 24.19 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001076/0.4685, allocations: 8.906 kB / 0.8207 GB, free: 24.18 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.4686, allocations: 43.08 kB / 0.8207 GB, free: 24.16 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.4687, allocations: 5.625 kB / 0.8207 GB, free: 24.16 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.408e-05/0.4688, allocations: 21.42 kB / 0.8207 GB, free: 24.15 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.193e-05/0.4689, allocations: 23.44 kB / 0.8207 GB, free: 24.14 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.4689, allocations: 3.719 kB / 0.8208 GB, free: 24.14 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.25e-05/0.4689, allocations: 4.281 kB / 0.8208 GB, free: 24.14 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.913e-05/0.4689, allocations: 14.89 kB / 0.8208 GB, free: 24.13 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.134e-05/0.4689, allocations: 17.81 kB / 0.8208 GB, free: 24.12 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000101/0.469, allocations: 40.28 kB / 0.8208 GB, free: 24.11 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.469, allocations: 1.812 kB / 0.8208 GB, free: 24.11 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.164e-06/0.469, allocations: 0 / 0.8208 GB, free: 24.11 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.4691, allocations: 1.062 kB / 0.8208 GB, free: 24.11 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000388/0.4694, allocations: 291.5 kB / 0.8211 GB, free: 23.83 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.4695, allocations: 11.36 kB / 0.8211 GB, free: 23.83 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.489e-05/0.4695, allocations: 7.078 kB / 0.8211 GB, free: 23.82 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.166e-05/0.4696, allocations: 107.8 kB / 0.8212 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.4696, allocations: 2.453 kB / 0.8212 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.4696, allocations: 2.062 kB / 0.8212 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.4698, allocations: 70.55 kB / 0.8213 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.4698, allocations: 192 / 0.8213 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.4698, allocations: 6.938 kB / 0.8213 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.4698, allocations: 0.7812 kB / 0.8213 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001551/0.47, allocations: 71.34 kB / 0.8214 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002974/0.4703, allocations: 241.9 kB / 0.8216 GB, free: 23.39 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.4704, allocations: 60.12 kB / 0.8217 GB, free: 23.36 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.725e-05/0.4705, allocations: 38.7 kB / 0.8217 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.4705, allocations: 5.047 kB / 0.8217 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.4705, allocations: 36.23 kB / 0.8217 GB, free: 23.3 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.352e-06/0.4705, allocations: 3.562 kB / 0.8217 GB, free: 23.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003426/0.4709, allocations: 124.3 kB / 0.8219 GB, free: 23.25 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.457e-05/0.4709, allocations: 52.5 kB / 0.8219 GB, free: 23.19 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.137e-05/0.471, allocations: 108.6 kB / 0.822 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.522e-06/0.471, allocations: 29.7 kB / 0.822 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.565e-05/0.471, allocations: 87.31 kB / 0.8221 GB, free: 22.97 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.471, allocations: 18.83 kB / 0.8221 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.502e-05/0.471, allocations: 12.38 kB / 0.8222 GB, free: 22.94 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.148e-05/0.4711, allocations: 318.1 kB / 0.8225 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.875e-05/0.4711, allocations: 26.64 kB / 0.8225 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.294e-05/0.4712, allocations: 39.97 kB / 0.8225 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.4714, allocations: 71.31 kB / 0.8226 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4714, allocations: 3.938 kB / 0.8226 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001742/0.4715, allocations: 101.7 kB / 0.8227 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.4716, allocations: 5.375 kB / 0.8227 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.4716, allocations: 5.844 kB / 0.8227 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.4716, allocations: 0 / 0.8227 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.48e-05/0.4717, allocations: 16.98 kB / 0.8227 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.4717, allocations: 4.062 kB / 0.8227 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.733e-05/0.4717, allocations: 14.64 kB / 0.8227 GB, free: 22.53 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.4717, allocations: 1.844 kB / 0.8227 GB, free: 22.53 MB / 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 4.477e-05/0.4718, allocations: 121.1 kB / 0.8229 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.363e-05/0.4718, allocations: 6.031 kB / 0.8229 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002215/0.472, allocations: 102 kB / 0.823 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.472, allocations: 0 / 0.823 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.472, allocations: 0.75 kB / 0.823 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.472, allocations: 1.188 kB / 0.823 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.68e-05/0.4721, allocations: 145.6 kB / 0.8231 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.614e-06/0.4721, allocations: 1.031 kB / 0.8231 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.322e-05/0.4722, allocations: 14.73 kB / 0.8231 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.4722, allocations: 5.391 kB / 0.8231 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.4722, allocations: 0 / 0.8231 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4722, allocations: 2.094 kB / 0.8231 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4722, allocations: 0 / 0.8231 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000194/0.4724, allocations: 206.2 kB / 0.8233 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.813e-06/0.4724, allocations: 3 kB / 0.8233 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.108e-05/0.4724, allocations: 1.172 kB / 0.8233 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.241e-05/0.4724, allocations: 11.42 kB / 0.8233 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/0.4725, allocations: 7.469 kB / 0.8233 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-06/0.4725, allocations: 1.281 kB / 0.8233 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.33e-05/0.4725, allocations: 95.92 kB / 0.8234 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4725, allocations: 0 / 0.8234 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001385/0.4727, allocations: 5.5 kB / 0.8234 GB, free: 21.94 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 8.813e-05/0.4727, allocations: 93.53 kB / 0.8235 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002123/0.473, allocations: 70.53 kB / 0.8236 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.473, allocations: 4 kB / 0.8236 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.916e-05/0.473, allocations: 34.22 kB / 0.8236 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.4733, allocations: 17.55 kB / 0.8236 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002853/0.4735, allocations: 148 kB / 0.8238 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.283e-05/0.4736, allocations: 0.68 MB / 0.8244 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.142e-05/0.4736, allocations: 13.91 kB / 0.8245 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of SimCode: time 4.81e-07/0.4736, allocations: 0 / 0.8245 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of Templates: time 0.002052/0.4757, allocations: 0.7397 MB / 0.8252 GB, free: 20.93 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.564515019999817] Failed to read output from testmodel.py, exit status != 0: 0.48142039915546775 0.490489046 0.019559632 Calling exit ...