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.001111/0.001111, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001258/0.001258, allocations: 177.3 kB / 23.36 MB, free: 1.133 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.049/1.049, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.7504/0.7504, allocations: 154.9 MB / 415.1 MB, free: 244 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.084e-06/2.084e-06, allocations: 0 / 480.4 MB, free: 6.512 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.029e-05/2.237e-05, allocations: 2.312 kB / 480.4 MB, free: 6.508 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Change): time 0.002508/0.00253, allocations: 1.941 MB / 482.3 MB, free: 4.59 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001739/0.004269, allocations: 1.268 MB / 483.6 MB, free: 3.336 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001525/0.004422, allocations: 0.5312 kB / 483.6 MB, free: 3.336 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000389/0.004811, allocations: 102.3 kB / 483.7 MB, free: 3.238 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004289/0.00524, allocations: 145.3 kB / 483.8 MB, free: 3.105 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003118/0.005552, allocations: 135.4 kB / 484 MB, free: 2.973 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002631/0.005815, allocations: 228.8 kB / 484.2 MB, free: 2.75 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.005948, allocations: 35 kB / 484.2 MB, free: 2.715 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005528/0.006501, allocations: 174 kB / 484.4 MB, free: 2.559 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001471/0.006648, allocations: 80.62 kB / 484.5 MB, free: 2.48 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.659e-05/0.006675, allocations: 12 kB / 484.5 MB, free: 2.469 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.006812, allocations: 57.02 kB / 484.5 MB, free: 2.414 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 7.665e-05/0.006889, allocations: 59.77 kB / 484.6 MB, free: 2.355 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 6.896e-05/0.006957, allocations: 55.83 kB / 484.6 MB, free: 2.301 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003157/0.007273, allocations: 191.9 kB / 484.8 MB, free: 2.113 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.007278, allocations: 1.125 kB / 484.8 MB, free: 2.113 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.133e-06/0.007279, allocations: 4 kB / 484.8 MB, free: 2.109 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.007284, allocations: 0 / 484.8 MB, free: 2.109 MB / 442.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.0005575/0.007842, allocations: 457 kB / 485.3 MB, free: 1.645 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.007878, allocations: 16.02 kB / 485.3 MB, free: 1.629 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.54e-05/0.007923, allocations: 16.92 kB / 485.3 MB, free: 1.613 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.008137, allocations: 200.9 kB / 485.5 MB, free: 1.395 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.008157, allocations: 12.12 kB / 485.5 MB, free: 1.383 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/0.008174, allocations: 12 kB / 485.5 MB, free: 1.371 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.00833, allocations: 110 kB / 485.6 MB, free: 1.254 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.008337, allocations: 0 / 485.6 MB, free: 1.254 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.008346, allocations: 0.875 kB / 485.6 MB, free: 1.254 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.008351, allocations: 2.531 kB / 485.6 MB, free: 1.254 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.728e-05/0.008399, allocations: 37.53 kB / 485.7 MB, free: 1.219 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003684/0.008767, allocations: 258.4 kB / 485.9 MB, free: 0.9492 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.008904, allocations: 124.7 kB / 486.1 MB, free: 0.8164 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.841e-05/0.008932, allocations: 21.48 kB / 486.1 MB, free: 0.793 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.008945, allocations: 0.625 kB / 486.1 MB, free: 0.793 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001139/0.009059, allocations: 94.72 kB / 486.2 MB, free: 0.6875 MB / 442.7 MB Notification: Performance of pre-optimization done (n=16): time 1.412e-06/0.00906, allocations: 4 kB / 486.2 MB, free: 0.6836 MB / 442.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001619/0.009222, allocations: 108.7 kB / 486.3 MB, free: 0.5742 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.009261, allocations: 60.11 kB / 486.3 MB, free: 0.5039 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.009421, allocations: 251.8 kB / 486.6 MB, free: 252 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.009441, allocations: 34.23 kB / 486.6 MB, free: 212 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.854e-05/0.009489, allocations: 113.7 kB / 486.7 MB, free: 96 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.301e-05/0.009522, allocations: 47.66 kB / 486.8 MB, free: 48 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.222e-05/0.009595, allocations: 54.89 kB / 486.8 MB, free: 15.99 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.265e-05/0.009687, allocations: 346.7 kB / 487.2 MB, free: 15.64 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.319e-05/0.00973, allocations: 22.81 kB / 487.2 MB, free: 15.62 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.532e-05/0.009786, allocations: 77.2 kB / 487.3 MB, free: 15.53 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/0.009898, allocations: 110.1 kB / 487.4 MB, free: 15.4 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.009901, allocations: 1.312 kB / 487.4 MB, free: 15.4 MB / 458.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001534/0.01005, allocations: 147.6 kB / 487.5 MB, free: 15.25 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.01007, allocations: 5.125 kB / 487.5 MB, free: 15.25 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.01007, allocations: 4 kB / 487.5 MB, free: 15.25 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.01009, allocations: 5.062 kB / 487.5 MB, free: 15.24 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.01021, allocations: 43.92 kB / 487.6 MB, free: 15.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.01021, allocations: 7.922 kB / 487.6 MB, free: 15.19 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.801e-05/0.01027, allocations: 20.95 kB / 487.6 MB, free: 15.17 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/0.01029, allocations: 8 kB / 487.6 MB, free: 15.16 MB / 458.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.571e-05/0.01039, allocations: 139.1 kB / 487.7 MB, free: 15.02 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.933e-05/0.0104, allocations: 15.98 kB / 487.8 MB, free: 15 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001987/0.0106, allocations: 112.4 kB / 487.9 MB, free: 14.89 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.01061, allocations: 0 / 487.9 MB, free: 14.89 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.01061, allocations: 4 kB / 487.9 MB, free: 14.88 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.01062, allocations: 5.578 kB / 487.9 MB, free: 14.88 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006031/0.01122, allocations: 352.2 kB / 488.2 MB, free: 14.51 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.01122, allocations: 0 / 488.2 MB, free: 14.51 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.427e-05/0.01129, allocations: 16.77 kB / 488.2 MB, free: 14.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.01129, allocations: 0 / 488.2 MB, free: 14.5 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.0113, allocations: 4.656 kB / 488.2 MB, free: 14.49 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.01131, allocations: 0 / 488.2 MB, free: 14.49 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.01131, allocations: 4.594 kB / 488.2 MB, free: 14.49 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001901/0.0115, allocations: 247.4 kB / 488.5 MB, free: 14.23 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.483e-05/0.01155, allocations: 35.67 kB / 488.5 MB, free: 14.2 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.716e-05/0.01158, allocations: 4 kB / 488.5 MB, free: 14.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.913e-05/0.01165, allocations: 11.98 kB / 488.5 MB, free: 14.18 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/0.01169, allocations: 16.91 kB / 488.6 MB, free: 14.17 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.01171, allocations: 4 kB / 488.6 MB, free: 14.16 MB / 458.7 MB Notification: Performance of sorting global known variables: time 7.326e-05/0.01178, allocations: 83.84 kB / 488.6 MB, free: 14.08 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01178, allocations: 0 / 488.6 MB, free: 14.08 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002067/0.01199, allocations: 51.92 kB / 488.7 MB, free: 14.03 MB / 458.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.001221/0.01321, allocations: 0.5097 MB / 489.2 MB, free: 13.84 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001598/0.01337, allocations: 100.9 kB / 489.3 MB, free: 13.74 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.01337, allocations: 0 / 489.3 MB, free: 13.74 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.09e-05/0.01343, allocations: 40.78 kB / 489.3 MB, free: 13.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.01365, allocations: 65.06 kB / 489.4 MB, free: 13.64 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004815/0.01413, allocations: 369.6 kB / 489.8 MB, free: 13.25 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.554e-05/0.01418, allocations: 90.08 kB / 489.9 MB, free: 13.14 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.584e-05/0.01425, allocations: 27.08 kB / 489.9 MB, free: 13.12 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.01435, allocations: 91.34 kB / 490 MB, free: 13.03 MB / 458.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01435, allocations: 1.188 kB / 490 MB, free: 13.03 MB / 458.7 MB Notification: Performance of Templates: time 0.005449/0.0198, allocations: 3.487 MB / 493.5 MB, free: 9.805 MB / 458.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.8329408820718527]