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.001104/0.001104, allocations: 92.22 kB / 19.65 MB, free: 276 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.001023/0.001023, allocations: 173 kB / 23.02 MB, free: 1.547 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.084/1.084, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.8214/0.8214, allocations: 154.9 MB / 414.8 MB, free: 408 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.154e-06/2.154e-06, allocations: 0 / 0.5207 GB, free: 0.7109 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.697e-05/1.913e-05, allocations: 9.484 kB / 0.5207 GB, free: 0.7031 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Change): time 0.002961/0.00298, allocations: 1.951 MB / 0.5226 GB, free: 14.75 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001551/0.00453, allocations: 1.25 MB / 0.5238 GB, free: 13.5 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.004648, allocations: 7.938 kB / 0.5238 GB, free: 13.5 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000353/0.005001, allocations: 96.56 kB / 0.5239 GB, free: 13.4 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003719/0.005373, allocations: 139.3 kB / 0.524 GB, free: 13.27 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002898/0.005662, allocations: 140 kB / 0.5242 GB, free: 13.13 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002721/0.005935, allocations: 224.1 kB / 0.5244 GB, free: 12.91 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.006087, allocations: 33.78 kB / 0.5244 GB, free: 12.88 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005358/0.006623, allocations: 176.5 kB / 0.5246 GB, free: 12.73 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.006762, allocations: 94.25 kB / 0.5247 GB, free: 12.64 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.521e-05/0.006787, allocations: 12 kB / 0.5247 GB, free: 12.63 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.006903, allocations: 55.91 kB / 0.5248 GB, free: 12.57 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 8.429e-05/0.006987, allocations: 63.77 kB / 0.5248 GB, free: 12.51 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 6.724e-05/0.007054, allocations: 63.7 kB / 0.5249 GB, free: 12.45 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002927/0.007347, allocations: 195.2 kB / 0.5251 GB, free: 12.26 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.007349, allocations: 0 / 0.5251 GB, free: 12.26 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.00735, allocations: 0.75 kB / 0.5251 GB, free: 12.26 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.007356, allocations: 0 / 0.5251 GB, free: 12.26 MB / 458.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.0007107/0.008066, allocations: 0.5669 MB / 0.5256 GB, free: 11.66 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.00811, allocations: 12.03 kB / 0.5256 GB, free: 11.64 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.844e-05/0.008189, allocations: 28.8 kB / 0.5257 GB, free: 11.62 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003175/0.008506, allocations: 228 kB / 0.5259 GB, free: 11.37 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/0.008534, allocations: 16.78 kB / 0.5259 GB, free: 11.36 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.008551, allocations: 4.969 kB / 0.5259 GB, free: 11.35 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.008758, allocations: 110.3 kB / 0.526 GB, free: 11.23 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.008767, allocations: 0.9688 kB / 0.526 GB, free: 11.23 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.008782, allocations: 4 kB / 0.526 GB, free: 11.23 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.008791, allocations: 4 kB / 0.526 GB, free: 11.23 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.838e-05/0.00887, allocations: 45.27 kB / 0.526 GB, free: 11.18 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005766/0.009446, allocations: 425.3 kB / 0.5265 GB, free: 10.73 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000235/0.009681, allocations: 91.06 kB / 0.5265 GB, free: 10.63 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.961e-05/0.009731, allocations: 28.34 kB / 0.5266 GB, free: 10.6 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.009746, allocations: 5.031 kB / 0.5266 GB, free: 10.6 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001398/0.009886, allocations: 99.25 kB / 0.5267 GB, free: 10.49 MB / 458.7 MB Notification: Performance of pre-optimization done (n=16): time 6.392e-06/0.009892, allocations: 0.7812 kB / 0.5267 GB, free: 10.49 MB / 458.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003131/0.01021, allocations: 183 kB / 0.5268 GB, free: 10.3 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.01025, allocations: 55.41 kB / 0.5269 GB, free: 10.24 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002385/0.01049, allocations: 324.2 kB / 0.5272 GB, free: 9.906 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.01051, allocations: 33.7 kB / 0.5272 GB, free: 9.867 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.304e-05/0.0106, allocations: 195.2 kB / 0.5274 GB, free: 9.672 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/0.01063, allocations: 45.38 kB / 0.5275 GB, free: 9.629 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.558e-05/0.0107, allocations: 67.34 kB / 0.5275 GB, free: 9.555 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.01084, allocations: 0.5118 MB / 0.528 GB, free: 9.031 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.243e-05/0.0109, allocations: 31.92 kB / 0.5281 GB, free: 9 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.902e-05/0.01099, allocations: 98.83 kB / 0.5282 GB, free: 8.879 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.01113, allocations: 135.3 kB / 0.5283 GB, free: 8.727 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.01113, allocations: 0 / 0.5283 GB, free: 8.727 MB / 458.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002281/0.01136, allocations: 199.5 kB / 0.5285 GB, free: 8.527 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.01138, allocations: 4 kB / 0.5285 GB, free: 8.523 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.01138, allocations: 4 kB / 0.5285 GB, free: 8.52 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.0114, allocations: 3.938 kB / 0.5285 GB, free: 8.516 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.01153, allocations: 44.78 kB / 0.5285 GB, free: 8.473 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.01154, allocations: 4 kB / 0.5285 GB, free: 8.469 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.316e-05/0.0116, allocations: 17.11 kB / 0.5285 GB, free: 8.453 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.099e-05/0.01163, allocations: 15.98 kB / 0.5286 GB, free: 8.438 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.514e-05/0.01172, allocations: 179.4 kB / 0.5287 GB, free: 8.254 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.75e-05/0.01175, allocations: 27.81 kB / 0.5288 GB, free: 8.227 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002058/0.01195, allocations: 155.7 kB / 0.5289 GB, free: 8.066 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.01196, allocations: 7.938 kB / 0.5289 GB, free: 8.059 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.207e-06/0.01196, allocations: 3.938 kB / 0.5289 GB, free: 8.055 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.01196, allocations: 0 / 0.5289 GB, free: 8.055 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004009/0.01237, allocations: 0.4911 MB / 0.5294 GB, free: 7.531 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01237, allocations: 0 / 0.5294 GB, free: 7.531 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.488e-05/0.01241, allocations: 23.86 kB / 0.5294 GB, free: 7.508 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.01242, allocations: 0 / 0.5294 GB, free: 7.508 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.01243, allocations: 4 kB / 0.5294 GB, free: 7.504 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.01243, allocations: 0 / 0.5294 GB, free: 7.504 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.01243, allocations: 4 kB / 0.5294 GB, free: 7.5 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000201/0.01263, allocations: 308.2 kB / 0.5297 GB, free: 7.18 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.431e-05/0.01266, allocations: 29.23 kB / 0.5298 GB, free: 7.152 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.01268, allocations: 4 kB / 0.5298 GB, free: 7.148 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.971e-05/0.01274, allocations: 15.98 kB / 0.5298 GB, free: 7.133 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.795e-05/0.0128, allocations: 23.91 kB / 0.5298 GB, free: 7.109 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.01281, allocations: 4.781 kB / 0.5298 GB, free: 7.105 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001184/0.01292, allocations: 213.1 kB / 0.53 GB, free: 6.898 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01292, allocations: 4.438 kB / 0.53 GB, free: 6.895 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002151/0.01314, allocations: 52.39 kB / 0.5301 GB, free: 6.844 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.000894/0.01403, allocations: 396.2 kB / 0.5304 GB, free: 6.645 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002024/0.01424, allocations: 115.4 kB / 0.5305 GB, free: 6.527 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01424, allocations: 1.406 kB / 0.5305 GB, free: 6.527 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 7.333e-05/0.01431, allocations: 59.59 kB / 0.5306 GB, free: 6.465 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.01458, allocations: 61.31 kB / 0.5307 GB, free: 6.414 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004624/0.01504, allocations: 372 kB / 0.531 GB, free: 6.02 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.214e-05/0.0151, allocations: 88.31 kB / 0.5311 GB, free: 5.914 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.045e-05/0.01516, allocations: 31.67 kB / 0.5311 GB, free: 5.883 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.092e-05/0.01521, allocations: 28.48 kB / 0.5312 GB, free: 5.855 MB / 458.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01521, allocations: 0 / 0.5312 GB, free: 5.855 MB / 458.7 MB Notification: Performance of Templates: time 0.005575/0.02078, allocations: 3.508 MB / 0.5346 GB, free: 2.547 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: 4.030253513716161]