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.0007159/0.0007159, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007086/0.0007086, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8528/0.8528, allocations: 177.1 MB / 203.5 MB, free: 5.41 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.6805/0.6805, allocations: 154.5 MB / 414.5 MB, free: 0.8047 MB / 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: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 0.6193 GB, free: 13.24 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.723e-05/1.92e-05, allocations: 8.844 kB / 0.6193 GB, free: 13.23 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Change): time 0.002126/0.002145, allocations: 1.897 MB / 0.6211 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00131/0.003455, allocations: 1.208 MB / 0.6223 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.618e-05/0.003551, allocations: 3.938 kB / 0.6223 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0003146/0.003866, allocations: 103.4 kB / 0.6224 GB, free: 10 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.000297/0.004163, allocations: 143.4 kB / 0.6226 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002277/0.004391, allocations: 127.5 kB / 0.6227 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002202/0.004611, allocations: 235.3 kB / 0.6229 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.004733, allocations: 25.8 kB / 0.6229 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.00487, allocations: 131.6 kB / 0.6231 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.004979, allocations: 99.67 kB / 0.6231 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.234e-05/0.005001, allocations: 16 kB / 0.6232 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.421e-05/0.005095, allocations: 55.92 kB / 0.6232 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.452e-05/0.00516, allocations: 63.75 kB / 0.6233 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.099e-05/0.005211, allocations: 51.84 kB / 0.6233 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.00026/0.005471, allocations: 287 kB / 0.6236 GB, free: 8.785 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.005473, allocations: 0 / 0.6236 GB, free: 8.785 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.42e-07/0.005474, allocations: 0 / 0.6236 GB, free: 8.785 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.005478, allocations: 4 kB / 0.6236 GB, free: 8.781 MB / 0.5886 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.000587/0.006065, allocations: 484.9 kB / 0.6241 GB, free: 8.277 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.006096, allocations: 9.469 kB / 0.6241 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.706e-05/0.006143, allocations: 24.8 kB / 0.6241 GB, free: 8.246 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002468/0.00639, allocations: 229 kB / 0.6243 GB, free: 7.996 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.006409, allocations: 19.92 kB / 0.6243 GB, free: 7.977 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.006423, allocations: 8 kB / 0.6243 GB, free: 7.969 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.006613, allocations: 120.8 kB / 0.6245 GB, free: 7.848 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.006622, allocations: 0 / 0.6245 GB, free: 7.848 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.006633, allocations: 4 kB / 0.6245 GB, free: 7.844 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.006638, allocations: 4 kB / 0.6245 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001482/0.006787, allocations: 91.8 kB / 0.6246 GB, free: 7.75 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004397/0.007226, allocations: 372.4 kB / 0.6249 GB, free: 7.355 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.007422, allocations: 130.6 kB / 0.625 GB, free: 7.219 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.266e-05/0.007504, allocations: 52.81 kB / 0.6251 GB, free: 7.164 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.00752, allocations: 0 / 0.6251 GB, free: 7.164 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001683/0.007688, allocations: 123.3 kB / 0.6252 GB, free: 7.031 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=16): time 1.022e-06/0.007689, allocations: 15.88 kB / 0.6252 GB, free: 7.016 MB / 0.5886 GB Notification: Performance of matching and sorting (n=16): time 0.0003703/0.00806, allocations: 260.5 kB / 0.6255 GB, free: 6.758 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.008093, allocations: 51.41 kB / 0.6255 GB, free: 6.695 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002209/0.008314, allocations: 341.8 kB / 0.6258 GB, free: 6.352 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.008333, allocations: 37.69 kB / 0.6259 GB, free: 6.309 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.711e-05/0.0084, allocations: 136.5 kB / 0.626 GB, free: 6.172 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.804e-05/0.008428, allocations: 39.67 kB / 0.626 GB, free: 6.133 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.55e-05/0.008493, allocations: 65.69 kB / 0.6261 GB, free: 6.062 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.226e-05/0.008576, allocations: 338.8 kB / 0.6264 GB, free: 5.723 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.008688, allocations: 83.95 kB / 0.6265 GB, free: 5.641 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.008816, allocations: 133.1 kB / 0.6266 GB, free: 5.492 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000208/0.009024, allocations: 189 kB / 0.6268 GB, free: 5.289 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.009028, allocations: 4 kB / 0.6268 GB, free: 5.285 MB / 0.5886 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003002/0.009328, allocations: 283.8 kB / 0.6271 GB, free: 5.004 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.009339, allocations: 4 kB / 0.6271 GB, free: 5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/0.009345, allocations: 4 kB / 0.6271 GB, free: 4.996 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.009358, allocations: 12.09 kB / 0.6271 GB, free: 4.984 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.009471, allocations: 39.91 kB / 0.6271 GB, free: 4.945 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.009476, allocations: 4 kB / 0.6272 GB, free: 4.941 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.1e-05/0.009547, allocations: 23.91 kB / 0.6272 GB, free: 4.918 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.009564, allocations: 16 kB / 0.6272 GB, free: 4.902 MB / 0.5886 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 0.0001018/0.009666, allocations: 158.8 kB / 0.6273 GB, free: 4.738 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.101e-05/0.009687, allocations: 23.81 kB / 0.6274 GB, free: 4.715 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002684/0.009955, allocations: 215.6 kB / 0.6276 GB, free: 4.496 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.009959, allocations: 7.938 kB / 0.6276 GB, free: 4.488 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.009963, allocations: 0 / 0.6276 GB, free: 4.488 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.009966, allocations: 0 / 0.6276 GB, free: 4.488 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004355/0.0104, allocations: 0.5001 MB / 0.6281 GB, free: 3.953 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.0104, allocations: 3.938 kB / 0.6281 GB, free: 3.949 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.126e-05/0.01045, allocations: 11.98 kB / 0.6281 GB, free: 3.938 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.01046, allocations: 11.94 kB / 0.6281 GB, free: 3.926 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.01047, allocations: 3.938 kB / 0.6281 GB, free: 3.922 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.01047, allocations: 0 / 0.6281 GB, free: 3.922 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.01047, allocations: 0 / 0.6281 GB, free: 3.922 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002398/0.01071, allocations: 306 kB / 0.6284 GB, free: 3.609 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.416e-05/0.01073, allocations: 27.8 kB / 0.6284 GB, free: 3.582 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.01075, allocations: 4 kB / 0.6284 GB, free: 3.578 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.909e-05/0.01082, allocations: 15.97 kB / 0.6284 GB, free: 3.562 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.664e-05/0.01087, allocations: 19.98 kB / 0.6285 GB, free: 3.543 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.01088, allocations: 11.98 kB / 0.6285 GB, free: 3.531 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001271/0.01101, allocations: 209.2 kB / 0.6287 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.01101, allocations: 0 / 0.6287 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002071/0.01121, allocations: 59.83 kB / 0.6287 GB, free: 3.266 MB / 0.5886 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.000655/0.01187, allocations: 437.2 kB / 0.6291 GB, free: 3.043 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002755/0.01214, allocations: 183.7 kB / 0.6293 GB, free: 2.863 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01215, allocations: 0 / 0.6293 GB, free: 2.863 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.323e-05/0.01224, allocations: 71.89 kB / 0.6294 GB, free: 2.793 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.01249, allocations: 66.31 kB / 0.6294 GB, free: 2.734 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004772/0.01297, allocations: 448.4 kB / 0.6299 GB, free: 2.266 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.891e-05/0.01306, allocations: 145.4 kB / 0.63 GB, free: 2.105 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.98e-05/0.01311, allocations: 28.5 kB / 0.63 GB, free: 2.078 MB / 0.5886 GB Notification: Performance of SimCode: time 3.3e-07/0.01311, allocations: 0 / 0.63 GB, free: 2.078 MB / 0.5886 GB Notification: Performance of Templates: time 0.003447/0.01655, allocations: 3.473 MB / 0.6334 GB, free: 14.62 MB / 0.6042 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.2279453398659825] Failed to read output from testmodel.py, exit status != 0: 0.021102952770888805 0.027950556 0.021021389 Calling exit ...