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.001249/0.001249, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001446/0.001446, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.9642/0.9642, allocations: 177.1 MB / 204.5 MB, free: 5.52 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-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 0.8195/0.8195, allocations: 154.9 MB / 415.9 MB, free: 240 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: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 0.5219 GB, free: 1.516 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.341e-05/2.57e-05, allocations: 2.312 kB / 0.5219 GB, free: 1.512 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Change): time 0.002473/0.002499, allocations: 1.927 MB / 0.5238 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001409/0.003907, allocations: 1.236 MB / 0.525 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.004007, allocations: 4.875 kB / 0.525 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003094/0.004317, allocations: 101.5 kB / 0.5251 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002918/0.004609, allocations: 143.3 kB / 0.5252 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002185/0.004827, allocations: 131.4 kB / 0.5254 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002147/0.005042, allocations: 232.1 kB / 0.5256 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.00516, allocations: 29.78 kB / 0.5256 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004719/0.005632, allocations: 171.6 kB / 0.5258 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.005744, allocations: 88.42 kB / 0.5259 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.005765, allocations: 12 kB / 0.5259 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.414e-05/0.005859, allocations: 64.52 kB / 0.5259 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 6.202e-05/0.005921, allocations: 65.14 kB / 0.526 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.875e-05/0.00597, allocations: 51.83 kB / 0.526 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002378/0.006207, allocations: 195.2 kB / 0.5262 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.00621, allocations: 0 / 0.5262 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.31e-07/0.006211, allocations: 0.7812 kB / 0.5262 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.006216, allocations: 0 / 0.5262 GB, free: 13.11 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.0006239/0.006839, allocations: 0.5703 MB / 0.5268 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.006872, allocations: 12.03 kB / 0.5268 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.264e-05/0.006924, allocations: 35.83 kB / 0.5268 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002177/0.007142, allocations: 219.6 kB / 0.527 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.007165, allocations: 12.12 kB / 0.527 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.007185, allocations: 12 kB / 0.5271 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.007341, allocations: 95.83 kB / 0.5271 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.007348, allocations: 0 / 0.5271 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.007357, allocations: 0 / 0.5271 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.007361, allocations: 4.5 kB / 0.5272 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.49e-05/0.007416, allocations: 44.92 kB / 0.5272 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004085/0.007825, allocations: 372.2 kB / 0.5276 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.007952, allocations: 92.48 kB / 0.5276 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.118e-05/0.007983, allocations: 27.67 kB / 0.5277 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.007998, allocations: 4.969 kB / 0.5277 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001126/0.00811, allocations: 93 kB / 0.5278 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.123e-06/0.008112, allocations: 1 kB / 0.5278 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0002255/0.008337, allocations: 171.3 kB / 0.5279 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/0.008371, allocations: 60.36 kB / 0.528 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001854/0.008556, allocations: 312.1 kB / 0.5283 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.008573, allocations: 34.92 kB / 0.5283 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.827e-05/0.008662, allocations: 191.2 kB / 0.5285 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.004e-05/0.008692, allocations: 39.67 kB / 0.5285 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.509e-05/0.008757, allocations: 71.94 kB / 0.5286 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.008887, allocations: 0.5156 MB / 0.5291 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.271e-05/0.00893, allocations: 29.69 kB / 0.5291 GB, free: 9.957 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.885e-05/0.008999, allocations: 94.02 kB / 0.5292 GB, free: 9.84 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.009105, allocations: 118.2 kB / 0.5293 GB, free: 9.703 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.009107, allocations: 0.6875 kB / 0.5293 GB, free: 9.703 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001936/0.009301, allocations: 182.5 kB / 0.5295 GB, free: 9.52 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.009314, allocations: 8.719 kB / 0.5295 GB, free: 9.512 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.009319, allocations: 0 / 0.5295 GB, free: 9.512 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.277e-06/0.009328, allocations: 4.5 kB / 0.5295 GB, free: 9.508 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.009452, allocations: 44.47 kB / 0.5296 GB, free: 9.465 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.009459, allocations: 7.938 kB / 0.5296 GB, free: 9.457 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.223e-05/0.009521, allocations: 24.98 kB / 0.5296 GB, free: 9.434 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/0.009538, allocations: 11.98 kB / 0.5296 GB, free: 9.422 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 8.729e-05/0.009625, allocations: 170.3 kB / 0.5298 GB, free: 9.246 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.767e-05/0.009653, allocations: 27.86 kB / 0.5298 GB, free: 9.219 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001702/0.009823, allocations: 154 kB / 0.5299 GB, free: 9.066 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.009826, allocations: 9.594 kB / 0.53 GB, free: 9.059 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.009828, allocations: 3.938 kB / 0.53 GB, free: 9.055 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.009831, allocations: 0 / 0.53 GB, free: 9.055 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003387/0.01017, allocations: 438.1 kB / 0.5304 GB, free: 8.594 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.01017, allocations: 2.75 kB / 0.5304 GB, free: 8.594 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.287e-05/0.01021, allocations: 19.92 kB / 0.5304 GB, free: 8.574 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.01022, allocations: 0 / 0.5304 GB, free: 8.574 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.01023, allocations: 7.922 kB / 0.5304 GB, free: 8.566 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.01023, allocations: 4 kB / 0.5304 GB, free: 8.562 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01023, allocations: 0 / 0.5304 GB, free: 8.562 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001846/0.01041, allocations: 302.5 kB / 0.5307 GB, free: 8.25 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.311e-05/0.01044, allocations: 25.75 kB / 0.5307 GB, free: 8.227 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/0.01046, allocations: 15.92 kB / 0.5307 GB, free: 8.211 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.845e-05/0.01052, allocations: 8 kB / 0.5307 GB, free: 8.203 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.539e-05/0.01057, allocations: 23.91 kB / 0.5308 GB, free: 8.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.01058, allocations: 11.98 kB / 0.5308 GB, free: 8.168 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.961e-05/0.01067, allocations: 194 kB / 0.531 GB, free: 7.977 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.7e-07/0.01067, allocations: 0 / 0.531 GB, free: 7.977 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002125/0.01088, allocations: 55.92 kB / 0.531 GB, free: 7.922 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.0008256/0.01171, allocations: 397.8 kB / 0.5314 GB, free: 7.719 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001613/0.01187, allocations: 117.3 kB / 0.5315 GB, free: 7.605 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.01187, allocations: 0 / 0.5315 GB, free: 7.605 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.691e-05/0.01193, allocations: 47.59 kB / 0.5316 GB, free: 7.555 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.0122, allocations: 53.08 kB / 0.5316 GB, free: 7.508 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004455/0.01264, allocations: 385.1 kB / 0.532 GB, free: 7.105 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.48e-05/0.0127, allocations: 84.31 kB / 0.5321 GB, free: 7.004 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.37e-05/0.01276, allocations: 29.92 kB / 0.5321 GB, free: 6.969 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.01287, allocations: 114.2 kB / 0.5322 GB, free: 6.855 MB / 0.4948 GB Notification: Performance of SimCode: time 5.31e-07/0.01287, allocations: 0 / 0.5322 GB, free: 6.855 MB / 0.4948 GB Notification: Performance of Templates: time 0.005837/0.0187, allocations: 3.622 MB / 0.5357 GB, free: 3.441 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: 3.918903511017561]