Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008526/0.0008526, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.0009079/0.0009079, allocations: 173.7 kB / 23.28 MB, free: 1.219 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 0.8742/0.8742, allocations: 177.1 MB / 203.7 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108: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/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7449/0.7449, allocations: 154.6 MB / 414.8 MB, free: 0.5195 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/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 4.0.0/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_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_IDEAS.Controls.OBC.CDL.Integers.Validation.Change") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.5208 GB, free: 1.891 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.84e-05/1.996e-05, allocations: 5.062 kB / 0.5208 GB, free: 1.887 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Change): time 0.002444/0.002464, allocations: 1.925 MB / 0.5227 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001452/0.003916, allocations: 1.246 MB / 0.5239 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.004026, allocations: 0 / 0.5239 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003107/0.004336, allocations: 99.44 kB / 0.524 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002985/0.004635, allocations: 144.2 kB / 0.5241 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002485/0.004883, allocations: 129 kB / 0.5242 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002447/0.005128, allocations: 235.3 kB / 0.5245 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.005239, allocations: 29.78 kB / 0.5245 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004873/0.005726, allocations: 170.2 kB / 0.5246 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.005844, allocations: 91.75 kB / 0.5247 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/0.005865, allocations: 12 kB / 0.5247 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.867e-05/0.005964, allocations: 52.61 kB / 0.5248 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.814e-05/0.006022, allocations: 69.03 kB / 0.5249 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.285e-05/0.006074, allocations: 55.77 kB / 0.5249 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002448/0.006319, allocations: 195.2 kB / 0.5251 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.006322, allocations: 0 / 0.5251 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.042e-06/0.006323, allocations: 4.531 kB / 0.5251 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.006327, allocations: 1.062 kB / 0.5251 GB, free: 13.48 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.0005069/0.006833, allocations: 0.5733 MB / 0.5257 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.006866, allocations: 12.62 kB / 0.5257 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.811e-05/0.006914, allocations: 28.8 kB / 0.5257 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.007108, allocations: 217.7 kB / 0.5259 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.007126, allocations: 12.12 kB / 0.5259 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.523e-05/0.007142, allocations: 19.92 kB / 0.5259 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.007284, allocations: 94.33 kB / 0.526 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.007292, allocations: 1.344 kB / 0.526 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.0073, allocations: 0 / 0.526 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.007306, allocations: 4 kB / 0.526 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.156e-05/0.007357, allocations: 38.53 kB / 0.5261 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003754/0.007733, allocations: 381.6 kB / 0.5264 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.007849, allocations: 84.11 kB / 0.5265 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.853e-05/0.007878, allocations: 23.67 kB / 0.5265 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.007892, allocations: 9.438 kB / 0.5266 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001107/0.008003, allocations: 95.66 kB / 0.5266 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.008004, allocations: 0 / 0.5266 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0002105/0.008215, allocations: 165.9 kB / 0.5268 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.008245, allocations: 60.38 kB / 0.5269 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.00844, allocations: 320.1 kB / 0.5272 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.008456, allocations: 38.77 kB / 0.5272 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.804e-05/0.008534, allocations: 195.2 kB / 0.5274 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.983e-05/0.008563, allocations: 39.67 kB / 0.5274 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.914e-05/0.008623, allocations: 67.94 kB / 0.5275 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.008765, allocations: 0.5156 MB / 0.528 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.764e-05/0.008803, allocations: 25.48 kB / 0.528 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.423e-05/0.008867, allocations: 90.06 kB / 0.5281 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.008972, allocations: 120.5 kB / 0.5282 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.008974, allocations: 0 / 0.5282 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001808/0.009155, allocations: 186.7 kB / 0.5284 GB, free: 9.891 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.009168, allocations: 14.02 kB / 0.5284 GB, free: 9.879 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.009172, allocations: 0 / 0.5284 GB, free: 9.879 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.009184, allocations: 4 kB / 0.5284 GB, free: 9.875 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.009349, allocations: 35.98 kB / 0.5284 GB, free: 9.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.009356, allocations: 13.69 kB / 0.5285 GB, free: 9.828 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.9e-05/0.009415, allocations: 23.88 kB / 0.5285 GB, free: 9.805 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.00943, allocations: 8 kB / 0.5285 GB, free: 9.797 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.25e-05/0.009512, allocations: 177.5 kB / 0.5287 GB, free: 9.613 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.009538, allocations: 23.86 kB / 0.5287 GB, free: 9.59 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001637/0.009701, allocations: 148.6 kB / 0.5288 GB, free: 9.441 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.009704, allocations: 4 kB / 0.5288 GB, free: 9.438 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.009707, allocations: 3.938 kB / 0.5288 GB, free: 9.434 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.009711, allocations: 3.25 kB / 0.5288 GB, free: 9.434 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003257/0.01004, allocations: 444.1 kB / 0.5293 GB, free: 8.969 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.01004, allocations: 4 kB / 0.5293 GB, free: 8.965 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.795e-05/0.01008, allocations: 15.98 kB / 0.5293 GB, free: 8.949 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.01008, allocations: 0 / 0.5293 GB, free: 8.949 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.01009, allocations: 7.938 kB / 0.5293 GB, free: 8.941 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.01009, allocations: 7.984 kB / 0.5293 GB, free: 8.934 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01009, allocations: 0 / 0.5293 GB, free: 8.934 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001617/0.01025, allocations: 307 kB / 0.5296 GB, free: 8.617 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.055e-05/0.01028, allocations: 23.75 kB / 0.5296 GB, free: 8.594 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.0103, allocations: 11.94 kB / 0.5296 GB, free: 8.582 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.37e-05/0.01035, allocations: 7.984 kB / 0.5296 GB, free: 8.574 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/0.01039, allocations: 23.97 kB / 0.5296 GB, free: 8.551 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.0104, allocations: 4 kB / 0.5297 GB, free: 8.547 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.597e-05/0.01049, allocations: 205.1 kB / 0.5298 GB, free: 8.348 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01049, allocations: 1.531 kB / 0.5299 GB, free: 8.348 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002004/0.01069, allocations: 47.94 kB / 0.5299 GB, free: 8.301 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.0007733/0.01146, allocations: 396.8 kB / 0.5303 GB, free: 8.094 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002672/0.01173, allocations: 109.9 kB / 0.5304 GB, free: 7.984 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01173, allocations: 0 / 0.5304 GB, free: 7.984 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.488e-05/0.01179, allocations: 55.58 kB / 0.5304 GB, free: 7.926 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.01204, allocations: 58.56 kB / 0.5305 GB, free: 7.883 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004077/0.01245, allocations: 370.7 kB / 0.5308 GB, free: 7.492 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.615e-05/0.01249, allocations: 84.31 kB / 0.5309 GB, free: 7.391 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.535e-05/0.01255, allocations: 27.22 kB / 0.5309 GB, free: 7.363 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.878e-05/0.01265, allocations: 115.6 kB / 0.5311 GB, free: 7.25 MB / 0.4948 GB Notification: Performance of SimCode: time 4.91e-07/0.01265, allocations: 0 / 0.5311 GB, free: 7.25 MB / 0.4948 GB Notification: Performance of Templates: time 0.00516/0.01781, allocations: 3.574 MB / 0.5345 GB, free: 3.875 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.426786671858281]