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.001822/0.001822, allocations: 88.72 kB / 19.44 MB, free: 356 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.002228/0.002228, allocations: 161.7 kB / 22.76 MB, free: 1.68 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.51/1.51, allocations: 177.1 MB / 203.1 MB, free: 5.602 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.205/1.205, allocations: 154.6 MB / 414.2 MB, free: 0.6211 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.766e-06/2.766e-06, allocations: 0 / 0.5196 GB, free: 2.508 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.465e-05/3.742e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.504 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Change): time 0.004364/0.004401, allocations: 1.89 MB / 0.5215 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003122/0.007523, allocations: 1.221 MB / 0.5227 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000197/0.00772, allocations: 0 / 0.5227 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004835/0.008203, allocations: 96.84 kB / 0.5228 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0005456/0.008749, allocations: 140 kB / 0.5229 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004319/0.009181, allocations: 135.4 kB / 0.523 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004129/0.009594, allocations: 225.3 kB / 0.5232 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001744/0.009768, allocations: 29.78 kB / 0.5233 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003278/0.0101, allocations: 139.6 kB / 0.5234 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002254/0.01032, allocations: 91.75 kB / 0.5235 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.84e-05/0.01037, allocations: 17.84 kB / 0.5235 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001831/0.01055, allocations: 55.91 kB / 0.5236 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.01067, allocations: 63.75 kB / 0.5236 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.01077, allocations: 47.84 kB / 0.5237 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005397/0.01131, allocations: 290.9 kB / 0.5239 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.01132, allocations: 1.469 kB / 0.5239 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.092e-06/0.01132, allocations: 0 / 0.5239 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.01133, allocations: 4 kB / 0.524 GB, free: 14.09 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.0015/0.01283, allocations: 485.9 kB / 0.5244 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.643e-05/0.01289, allocations: 8.031 kB / 0.5244 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001671/0.01305, allocations: 33.77 kB / 0.5245 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005774/0.01363, allocations: 240.9 kB / 0.5247 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.874e-05/0.01367, allocations: 16.92 kB / 0.5247 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/0.0137, allocations: 8 kB / 0.5247 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000413/0.01411, allocations: 115.9 kB / 0.5248 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.01412, allocations: 0 / 0.5248 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.195e-05/0.01414, allocations: 4 kB / 0.5248 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.01415, allocations: 4.5 kB / 0.5248 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003402/0.01449, allocations: 92.89 kB / 0.5249 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009126/0.0154, allocations: 373.5 kB / 0.5253 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003832/0.01579, allocations: 132.3 kB / 0.5254 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001828/0.01597, allocations: 48.83 kB / 0.5254 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.01599, allocations: 5.812 kB / 0.5255 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003256/0.01632, allocations: 119.3 kB / 0.5256 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.01632, allocations: 0 / 0.5256 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0007999/0.01712, allocations: 269 kB / 0.5258 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.962e-05/0.01718, allocations: 56.16 kB / 0.5259 GB, free: 12 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004585/0.01764, allocations: 341.8 kB / 0.5262 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.875e-05/0.01768, allocations: 35.11 kB / 0.5262 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.01781, allocations: 132.5 kB / 0.5264 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.287e-05/0.01787, allocations: 47.67 kB / 0.5264 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.018, allocations: 57.69 kB / 0.5265 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002034/0.0182, allocations: 339.8 kB / 0.5268 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000235/0.01844, allocations: 83.94 kB / 0.5269 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002852/0.01872, allocations: 134 kB / 0.527 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004744/0.0192, allocations: 189.8 kB / 0.5272 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.0192, allocations: 0 / 0.5272 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006992/0.0199, allocations: 298.2 kB / 0.5275 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.01992, allocations: 8 kB / 0.5275 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.01993, allocations: 0 / 0.5275 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.286e-05/0.01996, allocations: 9.25 kB / 0.5275 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/0.02018, allocations: 39.91 kB / 0.5275 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.685e-05/0.02019, allocations: 7.984 kB / 0.5275 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001752/0.02037, allocations: 29.44 kB / 0.5275 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.318e-05/0.0204, allocations: 15.94 kB / 0.5276 GB, free: 10.21 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.0001968/0.0206, allocations: 159 kB / 0.5277 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.585e-05/0.02067, allocations: 27.86 kB / 0.5277 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005632/0.02123, allocations: 212.3 kB / 0.5279 GB, free: 9.812 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.02124, allocations: 8.781 kB / 0.528 GB, free: 9.805 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.02124, allocations: 0 / 0.528 GB, free: 9.805 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.02125, allocations: 4.484 kB / 0.528 GB, free: 9.801 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009244/0.02217, allocations: 498.2 kB / 0.5284 GB, free: 9.281 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.119e-05/0.02218, allocations: 3.938 kB / 0.5284 GB, free: 9.277 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.02229, allocations: 23.91 kB / 0.5285 GB, free: 9.254 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.02229, allocations: 2.438 kB / 0.5285 GB, free: 9.254 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.02231, allocations: 7.984 kB / 0.5285 GB, free: 9.246 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.02231, allocations: 0 / 0.5285 GB, free: 9.246 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.02231, allocations: 7.984 kB / 0.5285 GB, free: 9.238 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005933/0.02291, allocations: 303.7 kB / 0.5288 GB, free: 8.926 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.971e-05/0.02297, allocations: 38.08 kB / 0.5288 GB, free: 8.891 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.602e-05/0.023, allocations: 4 kB / 0.5288 GB, free: 8.887 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.02315, allocations: 11.98 kB / 0.5288 GB, free: 8.875 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.625e-05/0.02324, allocations: 19.97 kB / 0.5288 GB, free: 8.855 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.982e-05/0.02326, allocations: 8 kB / 0.5288 GB, free: 8.848 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002597/0.02352, allocations: 210.1 kB / 0.529 GB, free: 8.645 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.02352, allocations: 0 / 0.529 GB, free: 8.645 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003552/0.02388, allocations: 51.94 kB / 0.5291 GB, free: 8.594 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.001985/0.02586, allocations: 458.9 kB / 0.5295 GB, free: 8.367 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005356/0.0264, allocations: 178.4 kB / 0.5297 GB, free: 8.195 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.0264, allocations: 0 / 0.5297 GB, free: 8.195 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002075/0.0266, allocations: 71.89 kB / 0.5298 GB, free: 8.125 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004537/0.02706, allocations: 68.61 kB / 0.5298 GB, free: 8.074 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008861/0.02794, allocations: 425.8 kB / 0.5302 GB, free: 7.629 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000176/0.02812, allocations: 141 kB / 0.5304 GB, free: 7.473 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001123/0.02823, allocations: 33.94 kB / 0.5304 GB, free: 7.441 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.801e-05/0.02832, allocations: 32.48 kB / 0.5304 GB, free: 7.406 MB / 0.4948 GB Notification: Performance of SimCode: time 8.11e-07/0.02832, allocations: 1.625 kB / 0.5304 GB, free: 7.406 MB / 0.4948 GB Notification: Performance of Templates: time 0.008194/0.03652, allocations: 3.293 MB / 0.5337 GB, free: 4.309 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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.098151504993439]