Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.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.001406/0.001406, 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.001723/0.001723, allocations: 157.6 kB / 22.75 MB, free: 1.684 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.514/1.514, allocations: 177.1 MB / 203.1 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.292/1.292, allocations: 154.8 MB / 414.4 MB, free: 428 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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.Routing.Validation.IntegerExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 0.5199 GB, free: 2.285 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.466e-05/2.651e-05, allocations: 3.375 kB / 0.5199 GB, free: 2.281 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002382/0.002409, allocations: 1.078 MB / 0.5209 GB, free: 1.227 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002515/0.004923, allocations: 1.541 MB / 0.5224 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001403/0.005064, allocations: 9.062 kB / 0.5224 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001559/0.00522, allocations: 27.61 kB / 0.5224 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001602/0.00538, allocations: 68.06 kB / 0.5225 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001148/0.006528, allocations: 480.6 kB / 0.523 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0007686/0.007297, allocations: 0.5854 MB / 0.5235 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002981/0.007595, allocations: 104.9 kB / 0.5236 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007803/0.008375, allocations: 339.5 kB / 0.524 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003983/0.008774, allocations: 169 kB / 0.5241 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001522/0.008926, allocations: 60 kB / 0.5242 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001931/0.009119, allocations: 79.91 kB / 0.5243 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.009234, allocations: 75.7 kB / 0.5243 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003079/0.009542, allocations: 179.6 kB / 0.5245 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001031/0.01057, allocations: 0.6951 MB / 0.5252 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.01058, allocations: 0 / 0.5252 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.793e-06/0.01058, allocations: 0 / 0.5252 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.212e-05/0.0106, allocations: 0 / 0.5252 GB, free: 12.84 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001433/0.01204, allocations: 0.6679 MB / 0.5258 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.01208, allocations: 16.72 kB / 0.5259 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001939/0.01227, allocations: 64.69 kB / 0.5259 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/0.01335, allocations: 343.9 kB / 0.5262 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.249e-05/0.0134, allocations: 28.86 kB / 0.5263 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.115e-05/0.01349, allocations: 40.38 kB / 0.5263 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005494/0.01404, allocations: 382.5 kB / 0.5267 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.01405, allocations: 4.172 kB / 0.5267 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.161e-05/0.01409, allocations: 8.375 kB / 0.5267 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.0141, allocations: 8.125 kB / 0.5267 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003063/0.0144, allocations: 164.4 kB / 0.5268 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001609/0.01601, allocations: 0.6854 MB / 0.5275 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004198/0.01643, allocations: 206.8 kB / 0.5277 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000205/0.01664, allocations: 120.8 kB / 0.5278 GB, free: 9.973 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.01665, allocations: 4.562 kB / 0.5278 GB, free: 9.969 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004829/0.01714, allocations: 353.1 kB / 0.5282 GB, free: 9.578 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=28): time 1.813e-06/0.01714, allocations: 1.531 kB / 0.5282 GB, free: 9.578 MB / 0.4948 GB Notification: Performance of matching and sorting (n=28): time 0.0008481/0.01799, allocations: 448 kB / 0.5286 GB, free: 9.137 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.338e-05/0.01808, allocations: 114.8 kB / 0.5287 GB, free: 9 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003849/0.01847, allocations: 316.3 kB / 0.529 GB, free: 8.688 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.939e-05/0.01854, allocations: 46.62 kB / 0.5291 GB, free: 8.637 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001833/0.01872, allocations: 176.7 kB / 0.5292 GB, free: 8.461 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.454e-05/0.01878, allocations: 63.52 kB / 0.5293 GB, free: 8.398 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002608/0.01904, allocations: 151.4 kB / 0.5294 GB, free: 8.242 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002098/0.01925, allocations: 342.8 kB / 0.5298 GB, free: 7.898 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005111/0.01976, allocations: 335.5 kB / 0.5301 GB, free: 7.547 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00067/0.02043, allocations: 0.4893 MB / 0.5306 GB, free: 6.973 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008789/0.02131, allocations: 0.534 MB / 0.5311 GB, free: 6.375 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.02132, allocations: 3.938 kB / 0.5311 GB, free: 6.371 MB / 0.4948 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001445/0.02276, allocations: 0.9022 MB / 0.532 GB, free: 5.418 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001169/0.02288, allocations: 126.8 kB / 0.5321 GB, free: 5.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.02289, allocations: 7.938 kB / 0.5321 GB, free: 5.262 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.556e-05/0.02291, allocations: 4 kB / 0.5321 GB, free: 5.258 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/0.02314, allocations: 59.91 kB / 0.5321 GB, free: 5.199 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.02316, allocations: 5.5 kB / 0.5322 GB, free: 5.195 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006588/0.02381, allocations: 130.4 kB / 0.5323 GB, free: 5.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/0.02393, allocations: 67.86 kB / 0.5323 GB, free: 5.004 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,conInt.y,conInt3.y,conInt2.y,extIndInt.u[4],extIndInt.u[1],extIndInt1.u[4],extIndInt2.u[4],extIndInt3.u[4],extIndInt4.u[4],extIndInt1.u[1],extIndInt2.u[1],extIndInt3.u[1],extIndInt4.u[1],intPul3.booPul.y,$PRE.intPul3.booPul.y,intPul3.y,intPul2.booPul.y,$PRE.intPul2.booPul.y,intPul2.y,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul.booPul.y,$PRE.intPul.booPul.y,extIndInt4.y,extIndInt4.u[3],extIndInt4.u[2],extIndInt3.y,extIndInt3.u[3],extIndInt3.u[2],extIndInt2.y,extIndInt2.u[3],extIndInt2.u[2],extIndInt1.y,extIndInt1.u[3],extIndInt1.u[2],extIndInt.u[3],extIndInt.u[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 4 * 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.0002604/0.02419, allocations: 196.1 kB / 0.5325 GB, free: 4.809 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.523e-05/0.02427, allocations: 51.77 kB / 0.5326 GB, free: 4.758 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005943/0.02486, allocations: 354.5 kB / 0.5329 GB, free: 4.41 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.02487, allocations: 4 kB / 0.5329 GB, free: 4.406 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.02488, allocations: 3.984 kB / 0.5329 GB, free: 4.402 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.02488, allocations: 1.031 kB / 0.5329 GB, free: 4.402 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009976/0.02588, allocations: 0.6599 MB / 0.5336 GB, free: 3.707 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.02588, allocations: 0.9375 kB / 0.5336 GB, free: 3.707 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.02603, allocations: 43.91 kB / 0.5336 GB, free: 3.664 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.02604, allocations: 4.859 kB / 0.5336 GB, free: 3.66 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.02605, allocations: 8 kB / 0.5336 GB, free: 3.652 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.02606, allocations: 6.438 kB / 0.5336 GB, free: 3.648 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.02606, allocations: 0 / 0.5336 GB, free: 3.648 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005924/0.02665, allocations: 444.4 kB / 0.5341 GB, free: 3.195 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.076e-05/0.0267, allocations: 27.75 kB / 0.5341 GB, free: 3.168 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.531e-05/0.02675, allocations: 11.98 kB / 0.5341 GB, free: 3.156 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.02688, allocations: 11.94 kB / 0.5341 GB, free: 3.145 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.046e-05/0.02695, allocations: 27.89 kB / 0.5341 GB, free: 3.117 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.761e-05/0.02699, allocations: 14.72 kB / 0.5341 GB, free: 3.105 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002428/0.02723, allocations: 203.1 kB / 0.5343 GB, free: 2.91 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.02723, allocations: 0 / 0.5343 GB, free: 2.91 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004297/0.02766, allocations: 99.89 kB / 0.5344 GB, free: 2.812 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: 32 (extIndInt.u[2],extIndInt.u[3],$cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndInt1.u[2],extIndInt1.u[3],extIndInt1.y,extIndInt2.u[2],extIndInt2.u[3],extIndInt2.y,extIndInt3.u[2],extIndInt3.u[3],extIndInt3.y,extIndInt4.u[2],extIndInt4.u[3],extIndInt4.y,intPul.booPul.y,intPul1.booPul.y,intPul2.y,intPul2.booPul.y,intPul3.y,intPul3.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002087/0.02787, allocations: 122.7 kB / 0.5346 GB, free: 2.684 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0011/0.02897, allocations: 0.7434 MB / 0.5353 GB, free: 1.867 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.02897, allocations: 0.5312 kB / 0.5353 GB, free: 1.867 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002154/0.02919, allocations: 136.6 kB / 0.5354 GB, free: 1.734 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005428/0.02973, allocations: 82.53 kB / 0.5355 GB, free: 1.66 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.03095, allocations: 0.5838 MB / 0.5361 GB, free: 1.051 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002346/0.03118, allocations: 173.8 kB / 0.5362 GB, free: 0.8594 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001926/0.03137, allocations: 70.77 kB / 0.5363 GB, free: 0.7969 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.962e-05/0.03145, allocations: 38.33 kB / 0.5363 GB, free: 0.7617 MB / 0.4948 GB Notification: Performance of SimCode: time 9.52e-07/0.03145, allocations: 4 kB / 0.5363 GB, free: 0.7578 MB / 0.4948 GB Notification: Performance of Templates: time 0.01268/0.04414, allocations: 5.896 MB / 0.5421 GB, free: 11.15 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.999250988010317]