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.001039/0.001039, allocations: 93.06 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.001194/0.001194, allocations: 165 kB / 23.02 MB, free: 1.555 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.059/1.059, 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.7702/0.7702, allocations: 154.6 MB / 414.5 MB, free: 0.6797 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.483e-06/1.483e-06, allocations: 0 / 0.5203 GB, free: 2.211 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.908e-05/2.056e-05, allocations: 3.594 kB / 0.5203 GB, free: 2.207 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Change): time 0.002667/0.002688, allocations: 1.944 MB / 0.5222 GB, free: 280 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00153/0.004218, allocations: 1.252 MB / 0.5235 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.004333, allocations: 9.594 kB / 0.5235 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003447/0.004677, allocations: 103.4 kB / 0.5236 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003467/0.005024, allocations: 137.2 kB / 0.5237 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002877/0.005312, allocations: 131.5 kB / 0.5238 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002436/0.005555, allocations: 231.3 kB / 0.524 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.005686, allocations: 29.8 kB / 0.5241 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001552/0.005841, allocations: 137.4 kB / 0.5242 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.005964, allocations: 91.75 kB / 0.5243 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.612e-05/0.00599, allocations: 12 kB / 0.5243 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.006097, allocations: 59.91 kB / 0.5244 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 6.875e-05/0.006166, allocations: 67.75 kB / 0.5244 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.7e-05/0.006223, allocations: 52.53 kB / 0.5245 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002515/0.006474, allocations: 199.2 kB / 0.5247 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.006477, allocations: 1.406 kB / 0.5247 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.52e-07/0.006477, allocations: 0 / 0.5247 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.006482, allocations: 0 / 0.5247 GB, free: 13.79 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.0006444/0.007127, allocations: 0.5669 MB / 0.5252 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.007166, allocations: 8.031 kB / 0.5252 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.237e-05/0.007238, allocations: 40.72 kB / 0.5253 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002769/0.007515, allocations: 221.2 kB / 0.5255 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.007536, allocations: 11.94 kB / 0.5255 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.007555, allocations: 11.94 kB / 0.5255 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.007745, allocations: 109.8 kB / 0.5256 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.007757, allocations: 0 / 0.5256 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.007771, allocations: 8 kB / 0.5256 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.007779, allocations: 0 / 0.5256 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.998e-05/0.007859, allocations: 41.97 kB / 0.5256 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000511/0.00837, allocations: 420.1 kB / 0.526 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/0.008538, allocations: 91.69 kB / 0.5261 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.722e-05/0.008586, allocations: 28.64 kB / 0.5262 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.008603, allocations: 7.938 kB / 0.5262 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001413/0.008745, allocations: 100.4 kB / 0.5263 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.492e-06/0.008746, allocations: 0 / 0.5263 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0003126/0.009059, allocations: 177.4 kB / 0.5264 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.56e-05/0.009104, allocations: 68.27 kB / 0.5265 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002282/0.009333, allocations: 328.2 kB / 0.5268 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.009353, allocations: 36.95 kB / 0.5268 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.551e-05/0.009439, allocations: 183.2 kB / 0.527 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.379e-05/0.009473, allocations: 43.69 kB / 0.5271 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.019e-05/0.009543, allocations: 67.28 kB / 0.5271 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003931/0.009936, allocations: 0.5118 MB / 0.5276 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.038e-05/0.01001, allocations: 31.97 kB / 0.5277 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.152e-05/0.0101, allocations: 94.09 kB / 0.5277 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.01025, allocations: 129.9 kB / 0.5279 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.01025, allocations: 0 / 0.5279 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002451/0.01049, allocations: 209.3 kB / 0.5281 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.01051, allocations: 4 kB / 0.5281 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.01051, allocations: 0 / 0.5281 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.01053, allocations: 7.938 kB / 0.5281 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.01067, allocations: 40.47 kB / 0.5281 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.01067, allocations: 10.19 kB / 0.5281 GB, free: 10 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.392e-05/0.01075, allocations: 19.94 kB / 0.5281 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.01077, allocations: 8 kB / 0.5282 GB, free: 9.977 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.809e-05/0.01087, allocations: 176.5 kB / 0.5283 GB, free: 9.793 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.983e-05/0.0109, allocations: 30.3 kB / 0.5284 GB, free: 9.766 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002208/0.01112, allocations: 163.6 kB / 0.5285 GB, free: 9.602 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.01112, allocations: 7.938 kB / 0.5285 GB, free: 9.594 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.01113, allocations: 0 / 0.5285 GB, free: 9.594 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.01113, allocations: 3.984 kB / 0.5285 GB, free: 9.59 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004065/0.01154, allocations: 495.5 kB / 0.529 GB, free: 9.066 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.01154, allocations: 5.938 kB / 0.529 GB, free: 9.062 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.296e-05/0.01158, allocations: 8 kB / 0.529 GB, free: 9.055 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.01159, allocations: 4 kB / 0.529 GB, free: 9.051 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.0116, allocations: 7.984 kB / 0.529 GB, free: 9.043 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.0116, allocations: 0 / 0.529 GB, free: 9.043 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.0116, allocations: 1.031 kB / 0.529 GB, free: 9.043 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002196/0.01182, allocations: 308.1 kB / 0.5293 GB, free: 8.723 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.06e-05/0.01185, allocations: 40.61 kB / 0.5293 GB, free: 8.684 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.431e-05/0.01188, allocations: 8 kB / 0.5294 GB, free: 8.676 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.288e-05/0.01194, allocations: 11.98 kB / 0.5294 GB, free: 8.664 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.18e-05/0.01199, allocations: 12.86 kB / 0.5294 GB, free: 8.652 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.012, allocations: 15.92 kB / 0.5294 GB, free: 8.637 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001216/0.01213, allocations: 207.6 kB / 0.5296 GB, free: 8.438 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01213, allocations: 0 / 0.5296 GB, free: 8.438 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002491/0.01237, allocations: 55.92 kB / 0.5296 GB, free: 8.383 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.0008717/0.01325, allocations: 401.2 kB / 0.53 GB, free: 8.176 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000222/0.01347, allocations: 116.9 kB / 0.5301 GB, free: 8.059 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01347, allocations: 0 / 0.5301 GB, free: 8.059 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.037e-05/0.01354, allocations: 59 kB / 0.5302 GB, free: 8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.01383, allocations: 63.86 kB / 0.5303 GB, free: 7.945 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005159/0.01435, allocations: 364.4 kB / 0.5306 GB, free: 7.562 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.663e-05/0.0144, allocations: 84.31 kB / 0.5307 GB, free: 7.461 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.995e-05/0.01447, allocations: 31.77 kB / 0.5307 GB, free: 7.43 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.827e-05/0.01453, allocations: 32.48 kB / 0.5307 GB, free: 7.395 MB / 0.4948 GB Notification: Performance of SimCode: time 4.81e-07/0.01453, allocations: 1.188 kB / 0.5307 GB, free: 7.395 MB / 0.4948 GB Notification: Performance of Templates: time 0.005495/0.02003, allocations: 3.292 MB / 0.534 GB, free: 4.301 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: 4.039289970882237]