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.001818/0.001818, allocations: 84.06 kB / 19.44 MB, free: 328 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.001962/0.001962, allocations: 169.3 kB / 22.76 MB, free: 1.652 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.534/1.534, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 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-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 1.309/1.309, allocations: 154.6 MB / 414.1 MB, free: 0.6523 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 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.304e-06/2.304e-06, allocations: 0 / 0.5196 GB, free: 2.516 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.322e-05/3.553e-05, allocations: 9.438 kB / 0.5196 GB, free: 2.508 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Change): time 0.004054/0.004089, allocations: 1.911 MB / 0.5215 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00375/0.007839, allocations: 1.234 MB / 0.5227 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001586/0.007998, allocations: 4 kB / 0.5227 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005368/0.008535, allocations: 105.4 kB / 0.5228 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0005582/0.009093, allocations: 143.2 kB / 0.5229 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004771/0.00957, allocations: 128 kB / 0.5231 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004581/0.01003, allocations: 235.3 kB / 0.5233 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001938/0.01022, allocations: 26.3 kB / 0.5233 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003047/0.01053, allocations: 136.3 kB / 0.5235 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000219/0.01075, allocations: 92.31 kB / 0.5235 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.791e-05/0.01079, allocations: 12 kB / 0.5236 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001948/0.01099, allocations: 65.3 kB / 0.5236 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001439/0.01113, allocations: 63.75 kB / 0.5237 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.01124, allocations: 47.84 kB / 0.5237 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005759/0.01182, allocations: 287 kB / 0.524 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.01182, allocations: 0.7812 kB / 0.524 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.372e-06/0.01183, allocations: 0 / 0.524 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.01183, allocations: 0.875 kB / 0.524 GB, free: 14.05 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.00131/0.01314, allocations: 0.5839 MB / 0.5246 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.01319, allocations: 12.03 kB / 0.5246 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001307/0.01333, allocations: 40.77 kB / 0.5246 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005403/0.01387, allocations: 215.8 kB / 0.5248 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.215e-05/0.0139, allocations: 11.94 kB / 0.5248 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.474e-05/0.01393, allocations: 12 kB / 0.5248 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003732/0.01431, allocations: 101.6 kB / 0.5249 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.01432, allocations: 0 / 0.5249 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.455e-05/0.01434, allocations: 8.578 kB / 0.5249 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.01435, allocations: 0 / 0.5249 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000318/0.01467, allocations: 77.05 kB / 0.525 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001095/0.01576, allocations: 452.6 kB / 0.5255 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004464/0.01621, allocations: 120 kB / 0.5256 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001869/0.0164, allocations: 51.66 kB / 0.5256 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.02e-05/0.01643, allocations: 4.75 kB / 0.5256 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003664/0.01679, allocations: 119.4 kB / 0.5257 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.663e-06/0.01679, allocations: 0 / 0.5257 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.000852/0.01765, allocations: 230.6 kB / 0.526 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.792e-05/0.01771, allocations: 55.41 kB / 0.526 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006083/0.01832, allocations: 376.2 kB / 0.5264 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.239e-05/0.01836, allocations: 34.33 kB / 0.5264 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002278/0.01859, allocations: 205 kB / 0.5266 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.642e-05/0.01867, allocations: 43.7 kB / 0.5266 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001752/0.01884, allocations: 75.34 kB / 0.5267 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004001/0.01924, allocations: 0.5235 MB / 0.5272 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002277/0.01947, allocations: 59.97 kB / 0.5273 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003255/0.0198, allocations: 134.5 kB / 0.5274 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000487/0.02028, allocations: 182.7 kB / 0.5276 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.02029, allocations: 0 / 0.5276 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007328/0.02102, allocations: 254.6 kB / 0.5278 GB, free: 9.898 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.02104, allocations: 4 kB / 0.5278 GB, free: 9.895 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.02105, allocations: 8 kB / 0.5278 GB, free: 9.887 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.461e-05/0.02108, allocations: 3.938 kB / 0.5278 GB, free: 9.883 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002729/0.02135, allocations: 39.92 kB / 0.5279 GB, free: 9.844 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.02136, allocations: 4 kB / 0.5279 GB, free: 9.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001733/0.02153, allocations: 21.73 kB / 0.5279 GB, free: 9.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.276e-05/0.02157, allocations: 12 kB / 0.5279 GB, free: 9.809 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 0.000242/0.02182, allocations: 188.4 kB / 0.5281 GB, free: 9.613 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.612e-05/0.02189, allocations: 33.66 kB / 0.5281 GB, free: 9.582 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006108/0.0225, allocations: 193.8 kB / 0.5283 GB, free: 9.391 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.02251, allocations: 7.875 kB / 0.5283 GB, free: 9.383 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.02251, allocations: 0 / 0.5283 GB, free: 9.383 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.02252, allocations: 2.75 kB / 0.5283 GB, free: 9.383 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001197/0.02372, allocations: 0.5483 MB / 0.5289 GB, free: 8.793 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-06/0.02372, allocations: 3.938 kB / 0.5289 GB, free: 8.789 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.02383, allocations: 15.92 kB / 0.5289 GB, free: 8.773 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.02383, allocations: 0 / 0.5289 GB, free: 8.773 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.492e-05/0.02385, allocations: 8 kB / 0.5289 GB, free: 8.766 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.02386, allocations: 1.812 kB / 0.5289 GB, free: 8.766 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.02386, allocations: 0 / 0.5289 GB, free: 8.766 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006728/0.02453, allocations: 342.6 kB / 0.5292 GB, free: 8.414 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.283e-05/0.02461, allocations: 27.8 kB / 0.5292 GB, free: 8.387 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.484e-05/0.02467, allocations: 7.984 kB / 0.5292 GB, free: 8.379 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.02483, allocations: 10.41 kB / 0.5293 GB, free: 8.371 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.867e-05/0.02493, allocations: 19.91 kB / 0.5293 GB, free: 8.352 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.223e-05/0.02497, allocations: 15.98 kB / 0.5293 GB, free: 8.336 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003239/0.02529, allocations: 225.1 kB / 0.5295 GB, free: 8.117 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/0.02529, allocations: 0 / 0.5295 GB, free: 8.117 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000519/0.02581, allocations: 55.88 kB / 0.5296 GB, free: 8.062 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.004056/0.02986, allocations: 462.3 kB / 0.53 GB, free: 7.836 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006087/0.03047, allocations: 170 kB / 0.5302 GB, free: 7.668 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.03048, allocations: 0 / 0.5302 GB, free: 7.668 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002548/0.03073, allocations: 78.25 kB / 0.5302 GB, free: 7.59 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006221/0.03135, allocations: 55.64 kB / 0.5303 GB, free: 7.539 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.03238, allocations: 382.8 kB / 0.5307 GB, free: 7.137 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.03262, allocations: 139.5 kB / 0.5308 GB, free: 6.977 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001245/0.03275, allocations: 27.84 kB / 0.5308 GB, free: 6.953 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.03286, allocations: 28.5 kB / 0.5308 GB, free: 6.922 MB / 0.4948 GB Notification: Performance of SimCode: time 8.81e-07/0.03286, allocations: 0.625 kB / 0.5308 GB, free: 6.922 MB / 0.4948 GB Notification: Performance of Templates: time 0.01131/0.04417, allocations: 3.296 MB / 0.5341 GB, free: 3.832 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: 6.274926082929596]