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.001763/0.001763, allocations: 85.48 kB / 19.44 MB, free: 344 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.001963/0.001963, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.546/1.546, allocations: 177.1 MB / 203.1 MB, free: 5.355 MB / 186.7 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-535:34: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-535:42: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.401/1.401, allocations: 154.8 MB / 414.4 MB, free: 360 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 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.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 2.885e-06/2.885e-06, allocations: 0 / 0.5199 GB, free: 2.105 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.546e-05/3.834e-05, allocations: 2.969 kB / 0.5199 GB, free: 2.102 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Change): time 0.004061/0.004099, allocations: 1.921 MB / 0.5217 GB, free: 196 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002625/0.006724, allocations: 1.246 MB / 0.523 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.006837, allocations: 0 / 0.523 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004446/0.007282, allocations: 97.17 kB / 0.5231 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004105/0.007692, allocations: 139.3 kB / 0.5232 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003519/0.008044, allocations: 132 kB / 0.5233 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003499/0.008394, allocations: 235.3 kB / 0.5235 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.008547, allocations: 34.61 kB / 0.5236 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002308/0.008777, allocations: 127.7 kB / 0.5237 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001876/0.008965, allocations: 96.91 kB / 0.5238 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.149e-05/0.009007, allocations: 16 kB / 0.5238 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.009149, allocations: 55.86 kB / 0.5239 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.009262, allocations: 60.44 kB / 0.5239 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.416e-05/0.009356, allocations: 59.77 kB / 0.524 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004572/0.009813, allocations: 280.8 kB / 0.5242 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.009818, allocations: 0 / 0.5242 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.523e-06/0.009819, allocations: 0 / 0.5242 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.009826, allocations: 0 / 0.5242 GB, free: 13.64 MB / 0.4948 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.001053/0.01088, allocations: 0.5903 MB / 0.5248 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.01092, allocations: 8.031 kB / 0.5248 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.98e-05/0.01102, allocations: 36.8 kB / 0.5249 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004209/0.01144, allocations: 219.8 kB / 0.5251 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.567e-05/0.01146, allocations: 13.22 kB / 0.5251 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.037e-05/0.01149, allocations: 15.98 kB / 0.5251 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002855/0.01178, allocations: 106.4 kB / 0.5252 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.01179, allocations: 0.625 kB / 0.5252 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.01181, allocations: 0 / 0.5252 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.01181, allocations: 4.75 kB / 0.5252 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002349/0.01205, allocations: 77.3 kB / 0.5253 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008628/0.01291, allocations: 447.6 kB / 0.5257 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003331/0.01325, allocations: 124.2 kB / 0.5258 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001327/0.01338, allocations: 47.7 kB / 0.5259 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.0134, allocations: 3.625 kB / 0.5259 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002793/0.01368, allocations: 117 kB / 0.526 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.683e-06/0.01368, allocations: 0 / 0.526 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0006235/0.0143, allocations: 235 kB / 0.5262 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.543e-05/0.01436, allocations: 55.34 kB / 0.5263 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004647/0.01482, allocations: 380.2 kB / 0.5266 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.286e-05/0.01486, allocations: 29.7 kB / 0.5266 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/0.01503, allocations: 199.8 kB / 0.5268 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.228e-05/0.0151, allocations: 51.67 kB / 0.5269 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.01521, allocations: 67.89 kB / 0.5269 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003363/0.01555, allocations: 0.5358 MB / 0.5275 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/0.01573, allocations: 60.94 kB / 0.5275 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002453/0.01597, allocations: 134 kB / 0.5277 GB, free: 9.926 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003544/0.01633, allocations: 175.4 kB / 0.5278 GB, free: 9.734 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.01633, allocations: 0 / 0.5278 GB, free: 9.734 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005495/0.01688, allocations: 248.2 kB / 0.5281 GB, free: 9.488 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.0169, allocations: 8 kB / 0.5281 GB, free: 9.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.0169, allocations: 0 / 0.5281 GB, free: 9.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/0.01693, allocations: 7.938 kB / 0.5281 GB, free: 9.473 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/0.01714, allocations: 50.66 kB / 0.5281 GB, free: 9.426 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.01715, allocations: 4 kB / 0.5281 GB, free: 9.422 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.01728, allocations: 19.89 kB / 0.5281 GB, free: 9.402 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.274e-05/0.01732, allocations: 11.98 kB / 0.5282 GB, free: 9.391 MB / 0.4948 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.0001796/0.0175, allocations: 180.5 kB / 0.5283 GB, free: 9.203 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.261e-05/0.01756, allocations: 27.86 kB / 0.5284 GB, free: 9.176 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004683/0.01803, allocations: 193.2 kB / 0.5285 GB, free: 8.984 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/0.01803, allocations: 11.88 kB / 0.5286 GB, free: 8.973 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.01804, allocations: 0 / 0.5286 GB, free: 8.973 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.01804, allocations: 4.922 kB / 0.5286 GB, free: 8.969 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009126/0.01896, allocations: 0.542 MB / 0.5291 GB, free: 8.387 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.01896, allocations: 4.875 kB / 0.5291 GB, free: 8.383 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.321e-05/0.01905, allocations: 19.92 kB / 0.5291 GB, free: 8.363 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.01905, allocations: 4.656 kB / 0.5291 GB, free: 8.359 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/0.01907, allocations: 7.984 kB / 0.5291 GB, free: 8.352 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.01908, allocations: 8.656 kB / 0.5291 GB, free: 8.344 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.01908, allocations: 0 / 0.5291 GB, free: 8.344 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005227/0.0196, allocations: 341.8 kB / 0.5295 GB, free: 7.996 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.559e-05/0.01967, allocations: 35.73 kB / 0.5295 GB, free: 7.961 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.697e-05/0.0197, allocations: 4 kB / 0.5295 GB, free: 7.957 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.01982, allocations: 7.984 kB / 0.5295 GB, free: 7.949 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.029e-05/0.0199, allocations: 23.92 kB / 0.5295 GB, free: 7.926 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.01992, allocations: 7.984 kB / 0.5295 GB, free: 7.918 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002469/0.02017, allocations: 233.1 kB / 0.5298 GB, free: 7.695 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.02017, allocations: 3.125 kB / 0.5298 GB, free: 7.695 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003367/0.0205, allocations: 47.92 kB / 0.5298 GB, free: 7.648 MB / 0.4948 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.002996/0.0235, allocations: 439.6 kB / 0.5302 GB, free: 7.438 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004733/0.02397, allocations: 176.5 kB / 0.5304 GB, free: 7.262 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.02398, allocations: 0.875 kB / 0.5304 GB, free: 7.262 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00019/0.02417, allocations: 81.75 kB / 0.5305 GB, free: 7.18 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000454/0.02462, allocations: 58.09 kB / 0.5305 GB, free: 7.125 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008157/0.02544, allocations: 382.8 kB / 0.5309 GB, free: 6.719 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000172/0.02561, allocations: 143.7 kB / 0.531 GB, free: 6.559 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.475e-05/0.0257, allocations: 27.44 kB / 0.5311 GB, free: 6.535 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.856e-05/0.02579, allocations: 33.61 kB / 0.5311 GB, free: 6.504 MB / 0.4948 GB Notification: Performance of SimCode: time 9.02e-07/0.02579, allocations: 0 / 0.5311 GB, free: 6.504 MB / 0.4948 GB Notification: Performance of Templates: time 0.008584/0.03438, allocations: 3.289 MB / 0.5343 GB, free: 3.414 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.208481025067158]