Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.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.001638/0.001638, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002147/0.002147, allocations: 212.7 kB / 22.24 MB, free: 5.262 MB / 14.72 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.526/1.526, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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 1.309/1.309, allocations: 203.8 MB / 0.5041 GB, free: 4.574 MB / 414.1 MB " [Timeout remaining time 178] 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.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.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.002123/0.002123, allocations: 66.09 kB / 0.7187 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6684/0.6705, allocations: 102 MB / 0.8183 GB, free: 28.88 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Max): time 0.002501/0.673, allocations: 0.7486 MB / 0.819 GB, free: 28.43 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001373/0.6744, allocations: 0.8902 MB / 0.8199 GB, free: 27.77 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.263e-05/0.6745, allocations: 1.938 kB / 0.8199 GB, free: 27.77 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 4.47e-05/0.6745, allocations: 6.562 kB / 0.8199 GB, free: 27.77 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 9.399e-05/0.6746, allocations: 9.25 kB / 0.8199 GB, free: 27.76 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002411/0.6748, allocations: 43.69 kB / 0.8199 GB, free: 27.74 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001495/0.675, allocations: 86.2 kB / 0.82 GB, free: 27.7 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.6751, allocations: 23.11 kB / 0.82 GB, free: 27.69 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 9.381e-05/0.6752, allocations: 37.66 kB / 0.8201 GB, free: 27.68 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 9.671e-05/0.6753, allocations: 46.61 kB / 0.8201 GB, free: 27.66 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.122e-05/0.6753, allocations: 7.656 kB / 0.8201 GB, free: 27.66 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 2.625e-05/0.6754, allocations: 8.25 kB / 0.8201 GB, free: 27.66 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 3.218e-05/0.6754, allocations: 19.52 kB / 0.8201 GB, free: 27.64 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 5.067e-05/0.6755, allocations: 34.41 kB / 0.8202 GB, free: 27.62 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001924/0.6756, allocations: 88.16 kB / 0.8203 GB, free: 27.59 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.6756, allocations: 0.7031 kB / 0.8203 GB, free: 27.59 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.964e-06/0.6757, allocations: 1.625 kB / 0.8203 GB, free: 27.59 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.6757, allocations: 0 / 0.8203 GB, free: 27.59 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006833/0.6763, allocations: 320.9 kB / 0.8206 GB, free: 27.3 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.6764, allocations: 9.969 kB / 0.8206 GB, free: 27.3 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.306e-05/0.6764, allocations: 9.422 kB / 0.8206 GB, free: 27.3 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.6766, allocations: 125.2 kB / 0.8207 GB, free: 27.16 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.6766, allocations: 12.72 kB / 0.8207 GB, free: 27.15 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.6766, allocations: 3.625 kB / 0.8207 GB, free: 27.15 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003447/0.6769, allocations: 110.5 kB / 0.8208 GB, free: 27.1 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.677, allocations: 0.6875 kB / 0.8208 GB, free: 27.1 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.677, allocations: 5.594 kB / 0.8208 GB, free: 27.09 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.677, allocations: 2.281 kB / 0.8208 GB, free: 27.09 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003921/0.6774, allocations: 94.41 kB / 0.8209 GB, free: 27.08 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005076/0.6779, allocations: 267.9 kB / 0.8212 GB, free: 26.84 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006854/0.6786, allocations: 121.6 kB / 0.8213 GB, free: 26.79 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002195/0.6788, allocations: 51.81 kB / 0.8213 GB, free: 26.78 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.6788, allocations: 1.672 kB / 0.8213 GB, free: 26.78 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.679e-05/0.6788, allocations: 36.84 kB / 0.8214 GB, free: 26.73 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.6788, allocations: 0 / 0.8214 GB, free: 26.73 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7): time 0.0007482/0.6796, allocations: 191.2 kB / 0.8216 GB, free: 26.66 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.6796, allocations: 56.88 kB / 0.8216 GB, free: 26.6 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.6797, allocations: 123.5 kB / 0.8217 GB, free: 26.49 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.6797, allocations: 26.77 kB / 0.8218 GB, free: 26.46 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.364e-05/0.6798, allocations: 97.06 kB / 0.8219 GB, free: 26.37 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.6798, allocations: 20.22 kB / 0.8219 GB, free: 26.35 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.63e-05/0.6799, allocations: 23.38 kB / 0.8219 GB, free: 26.33 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.185e-05/0.6799, allocations: 323.3 kB / 0.8222 GB, free: 26.01 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002234/0.6801, allocations: 46.67 kB / 0.8222 GB, free: 26 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000199/0.6803, allocations: 44.69 kB / 0.8223 GB, free: 26 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003791/0.6807, allocations: 106.6 kB / 0.8224 GB, free: 25.96 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.6807, allocations: 0 / 0.8224 GB, free: 25.96 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004131/0.6811, allocations: 143 kB / 0.8225 GB, free: 25.9 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.6812, allocations: 5.062 kB / 0.8225 GB, free: 25.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.6812, allocations: 4.5 kB / 0.8225 GB, free: 25.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/0.6812, allocations: 1.531 kB / 0.8225 GB, free: 25.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001865/0.6814, allocations: 28.12 kB / 0.8226 GB, free: 25.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.6814, allocations: 0 / 0.8226 GB, free: 25.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.6815, allocations: 16.2 kB / 0.8226 GB, free: 25.89 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.6815, allocations: 7.703 kB / 0.8226 GB, free: 25.89 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,max1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.728e-05/0.6816, allocations: 118.9 kB / 0.8227 GB, free: 25.77 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.262e-05/0.6816, allocations: 7.047 kB / 0.8227 GB, free: 25.77 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004813/0.6821, allocations: 153.7 kB / 0.8229 GB, free: 25.7 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.6821, allocations: 1.125 kB / 0.8229 GB, free: 25.7 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.381e-06/0.6821, allocations: 1.188 kB / 0.8229 GB, free: 25.7 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.6821, allocations: 0.7031 kB / 0.8229 GB, free: 25.7 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.6823, allocations: 136.7 kB / 0.823 GB, free: 25.55 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.6823, allocations: 1.062 kB / 0.823 GB, free: 25.55 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001682/0.6824, allocations: 27.44 kB / 0.823 GB, free: 25.55 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.6824, allocations: 1.719 kB / 0.823 GB, free: 25.55 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.6825, allocations: 5.266 kB / 0.823 GB, free: 25.55 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.6825, allocations: 1.938 kB / 0.823 GB, free: 25.55 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.6825, allocations: 3.938 kB / 0.823 GB, free: 25.54 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004552/0.6829, allocations: 232.9 kB / 0.8233 GB, free: 25.39 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.703e-05/0.6829, allocations: 10.83 kB / 0.8233 GB, free: 25.38 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.683, allocations: 1.719 kB / 0.8233 GB, free: 25.38 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.6831, allocations: 15.42 kB / 0.8233 GB, free: 25.38 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.444e-05/0.6832, allocations: 21.73 kB / 0.8233 GB, free: 25.37 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.6832, allocations: 5.016 kB / 0.8233 GB, free: 25.37 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.127e-05/0.6832, allocations: 91.5 kB / 0.8234 GB, free: 25.29 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.6832, allocations: 0 / 0.8234 GB, free: 25.29 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002362/0.6835, allocations: 16.56 kB / 0.8234 GB, free: 25.29 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 9.591e-05/0.6836, allocations: 97.84 kB / 0.8235 GB, free: 25.2 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004418/0.684, allocations: 114.1 kB / 0.8236 GB, free: 25.16 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.684, allocations: 0 / 0.8236 GB, free: 25.16 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002114/0.6842, allocations: 56.47 kB / 0.8237 GB, free: 25.16 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.6846, allocations: 17.69 kB / 0.8237 GB, free: 25.14 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004394/0.685, allocations: 176.2 kB / 0.8238 GB, free: 25 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.731e-05/0.6851, allocations: 82.16 kB / 0.8239 GB, free: 24.92 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 6.767e-05/0.6851, allocations: 12.12 kB / 0.8239 GB, free: 24.91 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.882e-05/0.6852, allocations: 21.23 kB / 0.824 GB, free: 24.9 MB / 0.6387 GB Notification: Performance of SimCode: time 2.7e-07/0.6852, allocations: 0 / 0.824 GB, free: 24.9 MB / 0.6387 GB Notification: Performance of Templates: time 0.005052/0.6903, allocations: 1.733 MB / 0.8257 GB, free: 24.76 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.940270520746708] Failed to read output from testmodel.py, exit status != 0: 0.6993726920336485 0.712165368 0.033654764000000004 Calling exit ...