Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.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.0008001/0.0008001, allocations: 76.45 kB / 19.91 MB, free: 4 kB / 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.0007937/0.0007937, allocations: 165.9 kB / 23.18 MB, free: 1.375 MB / 18.57 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.8532/0.8532, allocations: 177.2 MB / 203.6 MB, free: 5.777 MB / 186.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.6741/0.6741, allocations: 155 MB / 415 MB, free: 488 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.Derivative,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative") [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.0009243/0.0009243, allocations: 67.89 kB / 0.62 GB, free: 12.69 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.3984/0.3993, allocations: 102 MB / 0.7196 GB, free: 23.48 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.001662/0.401, allocations: 0.9944 MB / 0.7205 GB, free: 22.84 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001104/0.4021, allocations: 1.025 MB / 0.7215 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.4022, allocations: 7.562 kB / 0.7215 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001274/0.4023, allocations: 19.22 kB / 0.7215 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 4.878e-05/0.4023, allocations: 19.5 kB / 0.7216 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003196/0.4027, allocations: 85 kB / 0.7216 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001872/0.4029, allocations: 172.1 kB / 0.7218 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001646/0.403, allocations: 63.52 kB / 0.7219 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.4032, allocations: 107.9 kB / 0.722 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 9.251e-05/0.4032, allocations: 70.34 kB / 0.722 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.782e-05/0.4033, allocations: 16.41 kB / 0.7221 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.918e-05/0.4033, allocations: 19.41 kB / 0.7221 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.695e-05/0.4034, allocations: 41.16 kB / 0.7221 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.21e-05/0.4034, allocations: 66.14 kB / 0.7222 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002559/0.4037, allocations: 206.2 kB / 0.7224 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.4037, allocations: 8.516 kB / 0.7224 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4037, allocations: 1.375 kB / 0.7224 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.4037, allocations: 0 / 0.7224 GB, free: 21.62 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0006044/0.4043, allocations: 427.1 kB / 0.7228 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.4043, allocations: 11.72 kB / 0.7228 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.684e-05/0.4044, allocations: 19.72 kB / 0.7228 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.4047, allocations: 169.1 kB / 0.723 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.4047, allocations: 15.06 kB / 0.723 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.216e-05/0.4047, allocations: 19.25 kB / 0.723 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002511/0.405, allocations: 180 kB / 0.7232 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.405, allocations: 0 / 0.7232 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.405, allocations: 6.031 kB / 0.7232 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.405, allocations: 3.312 kB / 0.7232 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001746/0.4052, allocations: 109.4 kB / 0.7233 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006713/0.4059, allocations: 436.8 kB / 0.7237 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002818/0.4061, allocations: 137.3 kB / 0.7239 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.4063, allocations: 82.94 kB / 0.7239 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.037e-05/0.4063, allocations: 2.656 kB / 0.7239 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001711/0.4065, allocations: 155.9 kB / 0.7241 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=19): time 1.683e-06/0.4065, allocations: 1.125 kB / 0.7241 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19): time 0.0003649/0.4068, allocations: 221 kB / 0.7243 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.426e-05/0.4068, allocations: 58.39 kB / 0.7243 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.414e-05/0.4069, allocations: 140.9 kB / 0.7245 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.4069, allocations: 35.47 kB / 0.7245 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.364e-05/0.407, allocations: 117.1 kB / 0.7246 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.683e-05/0.407, allocations: 72.92 kB / 0.7247 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.686e-05/0.4071, allocations: 39.3 kB / 0.7247 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.65e-05/0.4071, allocations: 327.9 kB / 0.725 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.4072, allocations: 60.97 kB / 0.7251 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.4073, allocations: 93.45 kB / 0.7252 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001977/0.4075, allocations: 154.5 kB / 0.7253 GB, free: 19.49 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.4075, allocations: 1.594 kB / 0.7253 GB, free: 19.49 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002797/0.4078, allocations: 204.2 kB / 0.7255 GB, free: 19.4 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.4078, allocations: 5.219 kB / 0.7255 GB, free: 19.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.4079, allocations: 1 kB / 0.7255 GB, free: 19.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.4079, allocations: 1.703 kB / 0.7255 GB, free: 19.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.408, allocations: 48.86 kB / 0.7256 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.408, allocations: 2.219 kB / 0.7256 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.969e-05/0.4081, allocations: 21.67 kB / 0.7256 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.4081, allocations: 9.984 kB / 0.7256 GB, free: 19.38 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.131e-05/0.4081, allocations: 133.4 kB / 0.7258 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.579e-05/0.4082, allocations: 14.44 kB / 0.7258 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002866/0.4084, allocations: 195.2 kB / 0.726 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.4084, allocations: 1.156 kB / 0.726 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.4085, allocations: 5.734 kB / 0.726 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.4085, allocations: 0.7031 kB / 0.726 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005066/0.409, allocations: 0.5038 MB / 0.7265 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.409, allocations: 5.281 kB / 0.7265 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.4091, allocations: 36.45 kB / 0.7265 GB, free: 18.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.4091, allocations: 2.531 kB / 0.7265 GB, free: 18.75 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.4091, allocations: 12.36 kB / 0.7265 GB, free: 18.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.4091, allocations: 3.094 kB / 0.7265 GB, free: 18.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.4091, allocations: 2.344 kB / 0.7265 GB, free: 18.75 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003508/0.4095, allocations: 378.4 kB / 0.7269 GB, free: 18.49 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.69e-05/0.4095, allocations: 22.42 kB / 0.7269 GB, free: 18.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.4095, allocations: 8.641 kB / 0.7269 GB, free: 18.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.965e-05/0.4096, allocations: 16.69 kB / 0.7269 GB, free: 18.47 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/0.4096, allocations: 25.84 kB / 0.7269 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.4096, allocations: 7.625 kB / 0.7269 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.177e-05/0.4097, allocations: 108.9 kB / 0.7271 GB, free: 18.38 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4097, allocations: 0 / 0.7271 GB, free: 18.38 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000192/0.4099, allocations: 37.8 kB / 0.7271 GB, free: 18.37 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der2.x,intWitRes.y,der1.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.514e-05/0.41, allocations: 118.2 kB / 0.7272 GB, free: 18.26 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002826/0.4103, allocations: 153.5 kB / 0.7273 GB, free: 18.21 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4103, allocations: 4.781 kB / 0.7274 GB, free: 18.21 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001179/0.4104, allocations: 83.64 kB / 0.7274 GB, free: 18.19 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002561/0.4106, allocations: 30.89 kB / 0.7275 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005492/0.4112, allocations: 404.3 kB / 0.7278 GB, free: 17.86 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.703e-05/0.4113, allocations: 118.2 kB / 0.728 GB, free: 17.77 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.326e-05/0.4113, allocations: 28.12 kB / 0.728 GB, free: 17.75 MB / 0.6355 GB Notification: Performance of SimCode: time 7.01e-07/0.4113, allocations: 0 / 0.728 GB, free: 17.75 MB / 0.6355 GB Notification: Performance of Templates: time 0.003439/0.4148, allocations: 1.979 MB / 0.7299 GB, free: 17.58 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.221165482886136] Failed to read output from testmodel.py, exit status != 0: 0.4207709110341966 0.429361617 0.023880174 Calling exit ...