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.001286/0.001286, allocations: 77.86 kB / 19.18 MB, free: 2.531 MB / 14.72 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.001337/0.001337, allocations: 169.6 kB / 22.46 MB, free: 5.363 MB / 14.72 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.456/1.456, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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-531:686: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-531:694: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 1.188/1.188, allocations: 154.6 MB / 413.8 MB, free: 5.203 MB / 382.1 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 178] 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 2.204e-06/2.204e-06, allocations: 0 / 0.6186 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.302e-05/3.523e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Change): time 0.00392/0.003955, allocations: 1.902 MB / 0.6204 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002627/0.006582, allocations: 1.206 MB / 0.6216 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001866/0.006768, allocations: 9.031 kB / 0.6216 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004292/0.007198, allocations: 99.44 kB / 0.6217 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0004655/0.007663, allocations: 144.5 kB / 0.6219 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003719/0.008035, allocations: 131.5 kB / 0.622 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000407/0.008442, allocations: 227.3 kB / 0.6222 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001616/0.008603, allocations: 37.77 kB / 0.6222 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002612/0.008865, allocations: 131.6 kB / 0.6224 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001795/0.009044, allocations: 91.75 kB / 0.6225 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.855e-05/0.009083, allocations: 12 kB / 0.6225 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000153/0.009236, allocations: 55.92 kB / 0.6225 GB, free: 500 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.009344, allocations: 67.75 kB / 0.6226 GB, free: 432 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.593e-05/0.00943, allocations: 55.77 kB / 0.6226 GB, free: 376 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004307/0.009861, allocations: 283 kB / 0.6229 GB, free: 92 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.009865, allocations: 4 kB / 0.6229 GB, free: 88 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.022e-06/0.009866, allocations: 0 / 0.6229 GB, free: 88 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.009872, allocations: 0 / 0.6229 GB, free: 88 kB / 0.5294 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.001133/0.01101, allocations: 489 kB / 0.6234 GB, free: 15.57 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.01104, allocations: 8.031 kB / 0.6234 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.875e-05/0.01112, allocations: 24.8 kB / 0.6234 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004423/0.01156, allocations: 236.9 kB / 0.6236 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.01158, allocations: 7.938 kB / 0.6236 GB, free: 15.28 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.072e-05/0.01161, allocations: 16 kB / 0.6237 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000331/0.01194, allocations: 123.7 kB / 0.6238 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.01196, allocations: 0 / 0.6238 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.133e-05/0.01198, allocations: 4 kB / 0.6238 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.01198, allocations: 7.938 kB / 0.6238 GB, free: 15.13 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002977/0.01228, allocations: 87.86 kB / 0.6239 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007569/0.01304, allocations: 368.3 kB / 0.6242 GB, free: 14.65 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000377/0.01342, allocations: 130.6 kB / 0.6243 GB, free: 14.52 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001683/0.01358, allocations: 52.83 kB / 0.6244 GB, free: 14.46 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.0136, allocations: 0 / 0.6244 GB, free: 14.46 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003065/0.01391, allocations: 131.2 kB / 0.6245 GB, free: 14.32 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 2.094e-06/0.01391, allocations: 0 / 0.6245 GB, free: 14.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.0007417/0.01465, allocations: 259.9 kB / 0.6248 GB, free: 14.06 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.786e-05/0.0147, allocations: 51.41 kB / 0.6248 GB, free: 14 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004435/0.01514, allocations: 349.7 kB / 0.6252 GB, free: 13.65 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.483e-05/0.01518, allocations: 33.7 kB / 0.6252 GB, free: 13.61 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.01529, allocations: 136.5 kB / 0.6253 GB, free: 13.48 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.932e-05/0.01535, allocations: 35.7 kB / 0.6254 GB, free: 13.44 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.01545, allocations: 61.69 kB / 0.6254 GB, free: 13.38 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.01563, allocations: 334.8 kB / 0.6257 GB, free: 13.04 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002327/0.01586, allocations: 91.94 kB / 0.6258 GB, free: 12.95 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002532/0.01611, allocations: 138.3 kB / 0.6259 GB, free: 12.8 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004232/0.01653, allocations: 186.7 kB / 0.6261 GB, free: 12.6 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.01654, allocations: 4 kB / 0.6261 GB, free: 12.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006026/0.01714, allocations: 282 kB / 0.6264 GB, free: 12.31 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.01716, allocations: 4 kB / 0.6264 GB, free: 12.31 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.825e-05/0.01717, allocations: 7.984 kB / 0.6264 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/0.0172, allocations: 3.938 kB / 0.6264 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/0.01741, allocations: 43.92 kB / 0.6265 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.01742, allocations: 12.14 kB / 0.6265 GB, free: 12.24 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.01758, allocations: 23.88 kB / 0.6265 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.724e-05/0.01761, allocations: 8 kB / 0.6265 GB, free: 12.21 MB / 0.545 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.000175/0.01778, allocations: 159.6 kB / 0.6267 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.243e-05/0.01783, allocations: 27.81 kB / 0.6267 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000556/0.01838, allocations: 213.6 kB / 0.6269 GB, free: 11.81 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.01839, allocations: 7.938 kB / 0.6269 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.01839, allocations: 7.984 kB / 0.6269 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.0184, allocations: 3.984 kB / 0.6269 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000847/0.01925, allocations: 494 kB / 0.6274 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.01925, allocations: 3.938 kB / 0.6274 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.488e-05/0.01935, allocations: 19.98 kB / 0.6274 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.01935, allocations: 4 kB / 0.6274 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.01937, allocations: 3.984 kB / 0.6274 GB, free: 11.24 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.01937, allocations: 8 kB / 0.6274 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01937, allocations: 3.938 kB / 0.6274 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005213/0.01989, allocations: 306.3 kB / 0.6277 GB, free: 10.92 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.593e-05/0.01995, allocations: 27.8 kB / 0.6277 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.607e-05/0.01999, allocations: 7.984 kB / 0.6277 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/0.02014, allocations: 15.98 kB / 0.6278 GB, free: 10.87 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.536e-05/0.02022, allocations: 15.97 kB / 0.6278 GB, free: 10.85 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.02023, allocations: 8 kB / 0.6278 GB, free: 10.84 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002378/0.02047, allocations: 213.2 kB / 0.628 GB, free: 10.64 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.02047, allocations: 4 kB / 0.628 GB, free: 10.63 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003285/0.0208, allocations: 59.83 kB / 0.628 GB, free: 10.57 MB / 0.545 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.001682/0.02248, allocations: 445.8 kB / 0.6285 GB, free: 10.34 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005083/0.02299, allocations: 172.7 kB / 0.6286 GB, free: 10.17 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.02299, allocations: 4.062 kB / 0.6286 GB, free: 10.17 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002049/0.02319, allocations: 71.89 kB / 0.6287 GB, free: 10.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004321/0.02363, allocations: 56.67 kB / 0.6288 GB, free: 10.05 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008039/0.02443, allocations: 414.5 kB / 0.6292 GB, free: 9.613 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001633/0.02459, allocations: 145.2 kB / 0.6293 GB, free: 9.457 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.861e-05/0.02469, allocations: 33.92 kB / 0.6293 GB, free: 9.422 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.074e-05/0.02477, allocations: 32.44 kB / 0.6294 GB, free: 9.391 MB / 0.545 GB Notification: Performance of SimCode: time 4.71e-07/0.02477, allocations: 0 / 0.6294 GB, free: 9.391 MB / 0.545 GB Notification: Performance of Templates: time 0.007885/0.03266, allocations: 3.268 MB / 0.6325 GB, free: 6.191 MB / 0.545 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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.813789416104555] Failed to read output from testmodel.py, exit status != 0: 0.04195229709148407 0.057039736 0.043859665000000006 Calling exit ...