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.001013/0.001013, allocations: 92.22 kB / 19.65 MB, free: 280 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.001756/0.001756, allocations: 169 kB / 23.02 MB, free: 1.551 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.9221/0.9221, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.732/0.732, allocations: 154.6 MB / 414.5 MB, free: 0.6484 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 2.755e-06/2.755e-06, allocations: 0 / 0.5203 GB, free: 2.188 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.015e-05/3.29e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.184 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Change): time 0.003108/0.003141, allocations: 1.941 MB / 0.5222 GB, free: 256 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00196/0.005102, allocations: 1.253 MB / 0.5235 GB, free: 15 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.005217, allocations: 7.938 kB / 0.5235 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003539/0.005571, allocations: 101 kB / 0.5236 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003529/0.005924, allocations: 143.2 kB / 0.5237 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002786/0.006203, allocations: 136.5 kB / 0.5238 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002582/0.006461, allocations: 223.4 kB / 0.524 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.006588, allocations: 29.73 kB / 0.5241 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000523/0.007111, allocations: 176.4 kB / 0.5242 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001275/0.007239, allocations: 89.05 kB / 0.5243 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.545e-05/0.007264, allocations: 12 kB / 0.5243 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.007377, allocations: 63.84 kB / 0.5244 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.172e-05/0.007449, allocations: 64.47 kB / 0.5245 GB, free: 14 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.257e-05/0.007511, allocations: 55.83 kB / 0.5245 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002918/0.007803, allocations: 192.1 kB / 0.5247 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.007805, allocations: 0 / 0.5247 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.51e-07/0.007806, allocations: 0 / 0.5247 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.00781, allocations: 0.625 kB / 0.5247 GB, free: 13.75 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.0007153/0.008525, allocations: 0.5703 MB / 0.5253 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.008562, allocations: 12.03 kB / 0.5253 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.281e-05/0.008645, allocations: 38.94 kB / 0.5253 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002962/0.008941, allocations: 219.6 kB / 0.5255 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/0.008967, allocations: 12.12 kB / 0.5255 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.008987, allocations: 12 kB / 0.5255 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000231/0.009218, allocations: 106.3 kB / 0.5256 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.009227, allocations: 1.062 kB / 0.5256 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.009242, allocations: 4 kB / 0.5256 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.009249, allocations: 1.375 kB / 0.5256 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.789e-05/0.009347, allocations: 47.83 kB / 0.5257 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006326/0.00998, allocations: 420.4 kB / 0.5261 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/0.01019, allocations: 95.92 kB / 0.5262 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.3e-05/0.01025, allocations: 27.67 kB / 0.5262 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.01026, allocations: 5 kB / 0.5262 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001656/0.01043, allocations: 103 kB / 0.5263 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.714e-06/0.01043, allocations: 0.5312 kB / 0.5263 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0003701/0.0108, allocations: 178.3 kB / 0.5265 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.01085, allocations: 55.41 kB / 0.5265 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002576/0.0111, allocations: 332.9 kB / 0.5268 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.01112, allocations: 33.7 kB / 0.5269 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.073e-05/0.01122, allocations: 183.9 kB / 0.5271 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.917e-05/0.01125, allocations: 47.67 kB / 0.5271 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.36e-05/0.01134, allocations: 64.03 kB / 0.5272 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.01147, allocations: 0.5129 MB / 0.5277 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.998e-05/0.01154, allocations: 27.98 kB / 0.5277 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.01165, allocations: 106 kB / 0.5278 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.01181, allocations: 129.1 kB / 0.5279 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.01182, allocations: 0 / 0.5279 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002751/0.01209, allocations: 202 kB / 0.5281 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.0121, allocations: 4 kB / 0.5281 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.01211, allocations: 5.016 kB / 0.5281 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.01213, allocations: 11.88 kB / 0.5281 GB, free: 10 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.01228, allocations: 39.92 kB / 0.5282 GB, free: 9.965 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.01229, allocations: 9.109 kB / 0.5282 GB, free: 9.957 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.277e-05/0.01237, allocations: 19.89 kB / 0.5282 GB, free: 9.938 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.162e-05/0.01239, allocations: 15.25 kB / 0.5282 GB, free: 9.926 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 9.598e-05/0.01249, allocations: 176.5 kB / 0.5284 GB, free: 9.742 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.299e-05/0.01252, allocations: 23.86 kB / 0.5284 GB, free: 9.719 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002369/0.01276, allocations: 170.1 kB / 0.5286 GB, free: 9.551 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.01276, allocations: 7.938 kB / 0.5286 GB, free: 9.543 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.01277, allocations: 0 / 0.5286 GB, free: 9.543 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.01277, allocations: 0 / 0.5286 GB, free: 9.543 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000452/0.01322, allocations: 492.5 kB / 0.529 GB, free: 9.023 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.01322, allocations: 0 / 0.529 GB, free: 9.023 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.891e-05/0.01327, allocations: 15.92 kB / 0.5291 GB, free: 9.008 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.01328, allocations: 4 kB / 0.5291 GB, free: 9.004 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.01329, allocations: 4 kB / 0.5291 GB, free: 9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.01329, allocations: 0 / 0.5291 GB, free: 9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.01329, allocations: 3.984 kB / 0.5291 GB, free: 8.996 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.01353, allocations: 313.6 kB / 0.5294 GB, free: 8.672 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.16e-05/0.01356, allocations: 31.69 kB / 0.5294 GB, free: 8.641 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.01359, allocations: 7.938 kB / 0.5294 GB, free: 8.633 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.567e-05/0.01368, allocations: 15.98 kB / 0.5294 GB, free: 8.617 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.403e-05/0.01374, allocations: 17.38 kB / 0.5294 GB, free: 8.602 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.01375, allocations: 4 kB / 0.5294 GB, free: 8.598 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00016/0.01391, allocations: 213.1 kB / 0.5296 GB, free: 8.391 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.11e-07/0.01391, allocations: 0 / 0.5296 GB, free: 8.391 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003348/0.01425, allocations: 45.22 kB / 0.5297 GB, free: 8.348 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.00108/0.01533, allocations: 406.1 kB / 0.5301 GB, free: 8.137 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002761/0.0156, allocations: 119.4 kB / 0.5302 GB, free: 8.016 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.01561, allocations: 5.344 kB / 0.5302 GB, free: 8.012 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.01571, allocations: 58.41 kB / 0.5302 GB, free: 7.953 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003933/0.0161, allocations: 56.42 kB / 0.5303 GB, free: 7.906 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006094/0.01671, allocations: 374.7 kB / 0.5307 GB, free: 7.512 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.022e-05/0.01677, allocations: 88.31 kB / 0.5307 GB, free: 7.406 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.652e-05/0.01685, allocations: 32.11 kB / 0.5308 GB, free: 7.375 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.448e-05/0.01691, allocations: 28.5 kB / 0.5308 GB, free: 7.344 MB / 0.4948 GB Notification: Performance of SimCode: time 5.91e-07/0.01691, allocations: 0 / 0.5308 GB, free: 7.344 MB / 0.4948 GB Notification: Performance of Templates: time 0.006638/0.02355, allocations: 3.5 MB / 0.5342 GB, free: 4.051 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.494464494753629]