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.001428/0.001428, allocations: 88.72 kB / 19.44 MB, free: 356 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.001588/0.001588, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.511/1.511, allocations: 177.1 MB / 203.1 MB, free: 5.547 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.278/1.278, allocations: 154.8 MB / 414.3 MB, free: 452 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.435e-06/2.435e-06, allocations: 0 / 0.5199 GB, free: 2.277 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.162e-05/3.405e-05, allocations: 5.125 kB / 0.5199 GB, free: 2.273 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Change): time 0.003737/0.003771, allocations: 1.89 MB / 0.5217 GB, free: 396 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002476/0.006248, allocations: 1.214 MB / 0.5229 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001205/0.006368, allocations: 4 kB / 0.5229 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004322/0.0068, allocations: 101.4 kB / 0.523 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004246/0.007225, allocations: 135.4 kB / 0.5231 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003483/0.007573, allocations: 140.5 kB / 0.5233 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003454/0.007919, allocations: 227.4 kB / 0.5235 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001568/0.008076, allocations: 29.78 kB / 0.5235 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000233/0.008309, allocations: 136.1 kB / 0.5236 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004403/0.008749, allocations: 88.28 kB / 0.5237 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.884e-05/0.008788, allocations: 13.88 kB / 0.5237 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.008935, allocations: 63.91 kB / 0.5238 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.009036, allocations: 63.75 kB / 0.5238 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.489e-05/0.009131, allocations: 51.78 kB / 0.5239 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004623/0.009593, allocations: 287 kB / 0.5242 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.009598, allocations: 1.562 kB / 0.5242 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.252e-06/0.009599, allocations: 3.938 kB / 0.5242 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.009605, allocations: 0 / 0.5242 GB, free: 13.86 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.001106/0.01071, allocations: 486.4 kB / 0.5246 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.01075, allocations: 8.031 kB / 0.5246 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.01085, allocations: 32.8 kB / 0.5247 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004357/0.01129, allocations: 237.9 kB / 0.5249 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.885e-05/0.01132, allocations: 19.86 kB / 0.5249 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/0.01134, allocations: 8 kB / 0.5249 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003467/0.01169, allocations: 121 kB / 0.525 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.0117, allocations: 0 / 0.525 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.01172, allocations: 5 kB / 0.5251 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.01173, allocations: 4 kB / 0.5251 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003077/0.01203, allocations: 85.39 kB / 0.5251 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007684/0.0128, allocations: 381.4 kB / 0.5255 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003755/0.01318, allocations: 131.1 kB / 0.5256 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001666/0.01334, allocations: 50.55 kB / 0.5257 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.01337, allocations: 4 kB / 0.5257 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003217/0.01369, allocations: 121.1 kB / 0.5258 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.283e-06/0.01369, allocations: 0 / 0.5258 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0007513/0.01444, allocations: 268.6 kB / 0.5261 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.577e-05/0.0145, allocations: 55.41 kB / 0.5261 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004384/0.01493, allocations: 341.8 kB / 0.5264 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/0.01497, allocations: 29.7 kB / 0.5265 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.0151, allocations: 141.3 kB / 0.5266 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.983e-05/0.01515, allocations: 39.69 kB / 0.5266 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.01525, allocations: 63.09 kB / 0.5267 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002112/0.01546, allocations: 334.8 kB / 0.527 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002202/0.01569, allocations: 83.95 kB / 0.5271 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002702/0.01596, allocations: 134.1 kB / 0.5272 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004349/0.01639, allocations: 199.9 kB / 0.5274 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.01639, allocations: 0 / 0.5274 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006333/0.01703, allocations: 296.1 kB / 0.5277 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.01704, allocations: 4 kB / 0.5277 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.01705, allocations: 4 kB / 0.5277 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.696e-05/0.01708, allocations: 7.938 kB / 0.5277 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002153/0.01729, allocations: 39.91 kB / 0.5277 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.0173, allocations: 4 kB / 0.5277 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001722/0.01748, allocations: 29.36 kB / 0.5278 GB, free: 9.992 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.919e-05/0.0175, allocations: 12 kB / 0.5278 GB, free: 9.98 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.0001917/0.0177, allocations: 159.3 kB / 0.5279 GB, free: 9.816 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.118e-05/0.01775, allocations: 23.86 kB / 0.528 GB, free: 9.793 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005688/0.01832, allocations: 219.1 kB / 0.5282 GB, free: 9.574 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.01832, allocations: 7.938 kB / 0.5282 GB, free: 9.566 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.01833, allocations: 0 / 0.5282 GB, free: 9.566 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.01833, allocations: 4.578 kB / 0.5282 GB, free: 9.562 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00091/0.01924, allocations: 495 kB / 0.5287 GB, free: 9.043 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-06/0.01925, allocations: 4.438 kB / 0.5287 GB, free: 9.039 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.01936, allocations: 22.11 kB / 0.5287 GB, free: 9.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.01936, allocations: 4 kB / 0.5287 GB, free: 9.016 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.01938, allocations: 4 kB / 0.5287 GB, free: 9.012 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.01938, allocations: 3.984 kB / 0.5287 GB, free: 9.008 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.01938, allocations: 0 / 0.5287 GB, free: 9.008 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005594/0.01994, allocations: 308.3 kB / 0.529 GB, free: 8.695 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.075e-05/0.02, allocations: 35.75 kB / 0.529 GB, free: 8.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.128e-05/0.02005, allocations: 7.984 kB / 0.529 GB, free: 8.652 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.02021, allocations: 11.98 kB / 0.529 GB, free: 8.641 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.354e-05/0.02029, allocations: 19.97 kB / 0.5291 GB, free: 8.621 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.02031, allocations: 6.062 kB / 0.5291 GB, free: 8.617 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002825/0.02059, allocations: 213.2 kB / 0.5293 GB, free: 8.414 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.02059, allocations: 0 / 0.5293 GB, free: 8.414 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004709/0.02106, allocations: 51.94 kB / 0.5293 GB, free: 8.363 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.002019/0.02308, allocations: 459.4 kB / 0.5298 GB, free: 8.133 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005418/0.02362, allocations: 179.8 kB / 0.5299 GB, free: 7.961 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.02363, allocations: 0 / 0.5299 GB, free: 7.961 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002049/0.02383, allocations: 72.98 kB / 0.53 GB, free: 7.891 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004692/0.0243, allocations: 69.97 kB / 0.5301 GB, free: 7.832 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008448/0.02515, allocations: 421.7 kB / 0.5305 GB, free: 7.395 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001712/0.02532, allocations: 143.5 kB / 0.5306 GB, free: 7.234 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001013/0.02542, allocations: 36.41 kB / 0.5306 GB, free: 7.203 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.14e-05/0.0255, allocations: 24.5 kB / 0.5307 GB, free: 7.18 MB / 0.4948 GB Notification: Performance of SimCode: time 5.41e-07/0.0255, allocations: 0 / 0.5307 GB, free: 7.18 MB / 0.4948 GB Notification: Performance of Templates: time 0.00838/0.03388, allocations: 3.301 MB / 0.5339 GB, free: 4.07 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=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.983845180016942]