Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.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.0007772/0.0007772, allocations: 72.45 kB / 19.9 MB, free: 16 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.0007565/0.0007565, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.8449/0.8449, allocations: 177.2 MB / 203.6 MB, free: 5.387 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.6733/0.6733, allocations: 154.9 MB / 415 MB, free: 408 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.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Change") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Change") [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.0008859/0.0008859, allocations: 74.27 kB / 0.6199 GB, free: 12.71 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.3873/0.3882, allocations: 102 MB / 0.7195 GB, free: 23.47 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Change): time 0.002174/0.3904, allocations: 1.899 MB / 0.7213 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.3916, allocations: 1.215 MB / 0.7225 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.067e-05/0.3917, allocations: 2.625 kB / 0.7225 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0003258/0.392, allocations: 93.58 kB / 0.7226 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0002692/0.3923, allocations: 144.1 kB / 0.7228 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001752/0.3925, allocations: 128.5 kB / 0.7229 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002174/0.3927, allocations: 226.9 kB / 0.7231 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.3928, allocations: 43.39 kB / 0.7231 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/0.393, allocations: 133.6 kB / 0.7233 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.3931, allocations: 113.4 kB / 0.7234 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.327e-05/0.3931, allocations: 13.5 kB / 0.7234 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 9.968e-05/0.3932, allocations: 50.31 kB / 0.7234 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 7.346e-05/0.3933, allocations: 64.33 kB / 0.7235 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.285e-05/0.3933, allocations: 68.52 kB / 0.7236 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003003/0.3936, allocations: 308.4 kB / 0.7239 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.3936, allocations: 0 / 0.7239 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3936, allocations: 0 / 0.7239 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.377e-06/0.3937, allocations: 5.188 kB / 0.7239 GB, free: 20.77 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005952/0.3943, allocations: 493.5 kB / 0.7243 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.3943, allocations: 14.72 kB / 0.7244 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.448e-05/0.3943, allocations: 24.98 kB / 0.7244 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.3946, allocations: 226 kB / 0.7246 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.3946, allocations: 8.594 kB / 0.7246 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.3946, allocations: 8.984 kB / 0.7246 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002115/0.3948, allocations: 120.2 kB / 0.7247 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.3949, allocations: 4 kB / 0.7247 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.3949, allocations: 10.02 kB / 0.7247 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.3949, allocations: 1.75 kB / 0.7247 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001698/0.395, allocations: 86.41 kB / 0.7248 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004473/0.3955, allocations: 372 kB / 0.7252 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002199/0.3957, allocations: 130.4 kB / 0.7253 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.667e-05/0.3958, allocations: 56.47 kB / 0.7254 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.3958, allocations: 1.969 kB / 0.7254 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001766/0.396, allocations: 131.5 kB / 0.7255 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=16): time 1.683e-06/0.396, allocations: 0 / 0.7255 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16): time 0.0004034/0.3964, allocations: 260.4 kB / 0.7257 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/0.3964, allocations: 55.7 kB / 0.7258 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002558/0.3967, allocations: 337.4 kB / 0.7261 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.3967, allocations: 33.16 kB / 0.7261 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.268e-05/0.3968, allocations: 147.5 kB / 0.7263 GB, free: 19.15 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.119e-05/0.3968, allocations: 41.47 kB / 0.7263 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.259e-05/0.3969, allocations: 60.06 kB / 0.7264 GB, free: 19.08 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.45e-05/0.3969, allocations: 338 kB / 0.7267 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.397, allocations: 84.22 kB / 0.7268 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.3972, allocations: 144.8 kB / 0.7269 GB, free: 18.65 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002262/0.3974, allocations: 187.5 kB / 0.7271 GB, free: 18.55 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3974, allocations: 0 / 0.7271 GB, free: 18.55 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000338/0.3978, allocations: 287.1 kB / 0.7274 GB, free: 18.43 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.3978, allocations: 6.766 kB / 0.7274 GB, free: 18.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3978, allocations: 1.875 kB / 0.7274 GB, free: 18.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.3978, allocations: 6.25 kB / 0.7274 GB, free: 18.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.3979, allocations: 42.91 kB / 0.7274 GB, free: 18.42 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.3979, allocations: 3.516 kB / 0.7274 GB, free: 18.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.889e-05/0.398, allocations: 26.91 kB / 0.7274 GB, free: 18.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/0.398, allocations: 12.48 kB / 0.7275 GB, free: 18.41 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 19 (decreaseSampler.y,$PRE.decreaseSampler.y,increaseSampler.y,$PRE.increaseSampler.y,changeSampler.y,$PRE.changeSampler.y,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition2,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,cha.down,cha.up,cha.y,cha.u,$PRE.cha.u,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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.516e-05/0.3981, allocations: 163.7 kB / 0.7276 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.221e-05/0.3981, allocations: 30.7 kB / 0.7276 GB, free: 18.25 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002986/0.3984, allocations: 213.4 kB / 0.7278 GB, free: 18.16 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3984, allocations: 2.719 kB / 0.7279 GB, free: 18.16 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3984, allocations: 0.75 kB / 0.7279 GB, free: 18.16 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.3984, allocations: 4.797 kB / 0.7279 GB, free: 18.16 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004532/0.3989, allocations: 0.4894 MB / 0.7283 GB, free: 17.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3989, allocations: 1.812 kB / 0.7283 GB, free: 17.83 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.84e-05/0.3989, allocations: 14.64 kB / 0.7284 GB, free: 17.83 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3989, allocations: 1.5 kB / 0.7284 GB, free: 17.83 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.3989, allocations: 2.688 kB / 0.7284 GB, free: 17.83 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3989, allocations: 1.531 kB / 0.7284 GB, free: 17.83 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3989, allocations: 0 / 0.7284 GB, free: 17.83 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.3992, allocations: 313.6 kB / 0.7287 GB, free: 17.64 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.311e-05/0.3992, allocations: 27.38 kB / 0.7287 GB, free: 17.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/0.3992, allocations: 7.891 kB / 0.7287 GB, free: 17.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.36e-05/0.3993, allocations: 20.33 kB / 0.7287 GB, free: 17.61 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.632e-05/0.3994, allocations: 24.83 kB / 0.7287 GB, free: 17.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.3994, allocations: 6.969 kB / 0.7287 GB, free: 17.6 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001447/0.3995, allocations: 214.1 kB / 0.7289 GB, free: 17.48 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.3995, allocations: 0 / 0.7289 GB, free: 17.48 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002121/0.3997, allocations: 54.06 kB / 0.729 GB, free: 17.46 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: 13 (cha.y,cha.up,cha.down,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cha.u,changeSampler.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,increaseSampler.y,decreaseSampler.y) * Number of discrete states: 3 (timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0006393/0.4004, allocations: 439.1 kB / 0.7294 GB, free: 17.3 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000293/0.4007, allocations: 188.4 kB / 0.7296 GB, free: 17.25 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.4007, allocations: 0 / 0.7296 GB, free: 17.25 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.4008, allocations: 76.59 kB / 0.7297 GB, free: 17.23 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.401, allocations: 54.23 kB / 0.7297 GB, free: 17.21 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004851/0.4015, allocations: 447.4 kB / 0.7301 GB, free: 16.92 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.381e-05/0.4016, allocations: 142.2 kB / 0.7303 GB, free: 16.84 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.032e-05/0.4017, allocations: 27.34 kB / 0.7303 GB, free: 16.84 MB / 0.6355 GB Notification: Performance of SimCode: time 4.31e-07/0.4017, allocations: 0 / 0.7303 GB, free: 16.84 MB / 0.6355 GB Notification: Performance of Templates: time 0.004227/0.4059, allocations: 3.477 MB / 0.7337 GB, free: 16.43 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.610932965995744] Failed to read output from testmodel.py, exit status != 0: 0.41070323111489415 0.41887365000000004 0.023497345000000003 Calling exit ...