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.0006574/0.0006574, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008598/0.001517, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007118/0.0007118, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008976/0.001609, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.031/1.031, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.11/1.141, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.8037/0.8037, allocations: 155.3 MB / 399.5 MB, free: 15.81 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 NFInstanceAPI.mkTop(): time 0.2745/1.078, allocations: 49.13 MB / 448.6 MB, free: 5.895 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.695e-06/2.695e-06, allocations: 0 / 450 MB, free: 4.582 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.366e-05/2.635e-05, allocations: 5.812 kB / 450 MB, free: 4.578 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Change): time 0.002721/0.002747, allocations: 1.999 MB / 452 MB, free: 2.605 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001653/0.0044, allocations: 1.281 MB / 453.2 MB, free: 1.336 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001139/0.004514, allocations: 0 / 453.2 MB, free: 1.336 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002887/0.004802, allocations: 101.4 kB / 453.3 MB, free: 1.238 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002819/0.005084, allocations: 142.9 kB / 453.5 MB, free: 1.109 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002592/0.005343, allocations: 140.5 kB / 453.6 MB, free: 0.9727 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002587/0.005602, allocations: 227.8 kB / 453.8 MB, free: 0.7578 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.005743, allocations: 38.38 kB / 453.9 MB, free: 0.7188 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006544/0.006398, allocations: 192.4 kB / 454.1 MB, free: 0.5469 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.006534, allocations: 83.14 kB / 454.1 MB, free: 480 kB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.845e-05/0.006563, allocations: 16 kB / 454.2 MB, free: 464 kB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.006703, allocations: 59.91 kB / 454.2 MB, free: 404 kB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 6.645e-05/0.00677, allocations: 47.86 kB / 454.3 MB, free: 356 kB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.876e-05/0.006818, allocations: 43.81 kB / 454.3 MB, free: 312 kB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002839/0.007102, allocations: 183.3 kB / 454.5 MB, free: 128 kB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.416e-05/0.007116, allocations: 0 / 454.5 MB, free: 128 kB / 426.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.007118, allocations: 0 / 454.5 MB, free: 128 kB / 426.7 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.007128, allocations: 0 / 454.5 MB, free: 128 kB / 426.7 MB 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.000614/0.007742, allocations: 486.1 kB / 455 MB, free: 15.63 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.007773, allocations: 8.031 kB / 455 MB, free: 15.62 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.24e-05/0.007826, allocations: 26.78 kB / 455 MB, free: 15.6 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/0.008066, allocations: 212.2 kB / 455.2 MB, free: 15.36 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.008087, allocations: 11.94 kB / 455.2 MB, free: 15.35 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.834e-05/0.008106, allocations: 12 kB / 455.2 MB, free: 15.34 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.008284, allocations: 105.2 kB / 455.3 MB, free: 15.23 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.008293, allocations: 0 / 455.3 MB, free: 15.23 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.008305, allocations: 9.219 kB / 455.3 MB, free: 15.22 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.008312, allocations: 4 kB / 455.3 MB, free: 15.22 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.964e-05/0.008361, allocations: 29.14 kB / 455.4 MB, free: 15.19 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004101/0.008772, allocations: 254.3 kB / 455.6 MB, free: 14.93 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/0.008936, allocations: 117.5 kB / 455.7 MB, free: 14.8 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.917e-05/0.008965, allocations: 20.86 kB / 455.7 MB, free: 14.78 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.008981, allocations: 6.281 kB / 455.8 MB, free: 14.77 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001333/0.009114, allocations: 105.3 kB / 455.9 MB, free: 14.66 MB / 442.7 MB Notification: Performance of pre-optimization done (n=16): time 1.312e-06/0.009115, allocations: 0 / 455.9 MB, free: 14.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001742/0.00929, allocations: 106.7 kB / 456 MB, free: 14.55 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.009333, allocations: 63.53 kB / 456 MB, free: 14.48 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/0.009527, allocations: 255.7 kB / 456.3 MB, free: 14.22 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.009547, allocations: 34.86 kB / 456.3 MB, free: 14.18 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.183e-05/0.009599, allocations: 113 kB / 456.4 MB, free: 14.07 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.393e-05/0.009633, allocations: 43.66 kB / 456.5 MB, free: 14.02 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.829e-05/0.009691, allocations: 63.84 kB / 456.5 MB, free: 13.96 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.198e-05/0.009773, allocations: 334.8 kB / 456.9 MB, free: 13.62 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.127e-05/0.009814, allocations: 28.34 kB / 456.9 MB, free: 13.59 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.812e-05/0.009873, allocations: 76.86 kB / 457 MB, free: 13.5 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001776/0.01005, allocations: 117.9 kB / 457.1 MB, free: 13.37 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.01005, allocations: 0.6875 kB / 457.1 MB, free: 13.37 MB / 442.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001486/0.0102, allocations: 141.5 kB / 457.2 MB, free: 13.23 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.01022, allocations: 4.875 kB / 457.2 MB, free: 13.22 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.01022, allocations: 4 kB / 457.2 MB, free: 13.22 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.01024, allocations: 0.875 kB / 457.2 MB, free: 13.22 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.01038, allocations: 59.91 kB / 457.3 MB, free: 13.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.01038, allocations: 4.906 kB / 457.3 MB, free: 13.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.97e-05/0.01044, allocations: 31.75 kB / 457.3 MB, free: 13.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.538e-05/0.01046, allocations: 4.625 kB / 457.3 MB, free: 13.12 MB / 442.7 MB 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 9.09e-05/0.01055, allocations: 129.3 kB / 457.4 MB, free: 12.98 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.995e-05/0.01057, allocations: 16.61 kB / 457.5 MB, free: 12.97 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001568/0.01073, allocations: 113 kB / 457.6 MB, free: 12.85 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.01073, allocations: 4 kB / 457.6 MB, free: 12.85 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.01073, allocations: 1.609 kB / 457.6 MB, free: 12.85 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.01074, allocations: 3.984 kB / 457.6 MB, free: 12.84 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003013/0.01104, allocations: 360.6 kB / 457.9 MB, free: 12.47 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.01104, allocations: 0.625 kB / 457.9 MB, free: 12.47 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.732e-05/0.0111, allocations: 20.73 kB / 458 MB, free: 12.45 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.042e-05/0.01112, allocations: 19.81 kB / 458 MB, free: 12.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.01112, allocations: 5.781 kB / 458 MB, free: 12.43 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.01113, allocations: 3.938 kB / 458 MB, free: 12.42 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.01114, allocations: 7.922 kB / 458 MB, free: 12.41 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.01114, allocations: 0 / 458 MB, free: 12.41 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000133/0.01127, allocations: 243.5 kB / 458.2 MB, free: 12.16 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.01129, allocations: 8.906 kB / 458.2 MB, free: 12.15 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.825e-05/0.01135, allocations: 7.984 kB / 458.2 MB, free: 12.14 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.495e-05/0.0114, allocations: 21.95 kB / 458.3 MB, free: 12.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.01141, allocations: 8 kB / 458.3 MB, free: 12.12 MB / 442.7 MB Notification: Performance of sorting global known variables: time 7.226e-05/0.01148, allocations: 88.22 kB / 458.4 MB, free: 12.03 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01148, allocations: 0 / 458.4 MB, free: 12.03 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001799/0.01166, allocations: 43.94 kB / 458.4 MB, free: 11.98 MB / 442.7 MB 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.00149/0.01315, allocations: 0.5646 MB / 459 MB, free: 11.78 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001525/0.0133, allocations: 91.39 kB / 459.1 MB, free: 11.69 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/0.01331, allocations: 0.5938 kB / 459.1 MB, free: 11.69 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002167/0.01353, allocations: 65.84 kB / 459.1 MB, free: 11.62 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003137/0.01384, allocations: 302.8 kB / 459.4 MB, free: 11.29 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006913/0.01453, allocations: 376.6 kB / 459.8 MB, free: 10.89 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.449e-05/0.01459, allocations: 88.31 kB / 459.9 MB, free: 10.79 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 6.454e-05/0.01465, allocations: 36.67 kB / 459.9 MB, free: 10.76 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.997e-05/0.01475, allocations: 87.36 kB / 460 MB, free: 10.67 MB / 442.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01475, allocations: 1.562 kB / 460 MB, free: 10.67 MB / 442.7 MB Notification: Performance of Templates: time 0.006017/0.02077, allocations: 3.525 MB / 463.5 MB, free: 7.445 MB / 442.7 MB " [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.8502561589702964]