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.0007525/0.0007525, allocations: 76.55 kB / 19.93 MB, free: 4.621 MB / 18.57 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.0007539/0.0007539, allocations: 177.9 kB / 23.22 MB, free: 1.332 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.8116/0.8116, allocations: 177.2 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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-531:190: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-531:198: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 0.6644/0.6644, allocations: 154.5 MB / 414.5 MB, free: 0.8359 MB / 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 179] 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.403e-06/1.403e-06, allocations: 0 / 0.6193 GB, free: 13.26 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.678e-05/1.818e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.001376/0.001394, allocations: 1.076 MB / 0.6203 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001315/0.002709, allocations: 1.54 MB / 0.6218 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.877e-05/0.002778, allocations: 7.938 kB / 0.6218 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001069/0.002885, allocations: 27.61 kB / 0.6219 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.791e-05/0.002962, allocations: 67.44 kB / 0.6219 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006795/0.003642, allocations: 0.489 MB / 0.6224 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003644/0.004006, allocations: 0.5971 MB / 0.623 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001792/0.004186, allocations: 101 kB / 0.6231 GB, free: 9.344 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002086/0.004394, allocations: 331.5 kB / 0.6234 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001621/0.004556, allocations: 167.5 kB / 0.6236 GB, free: 8.855 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 5.227e-05/0.004609, allocations: 60 kB / 0.6236 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.08e-05/0.004689, allocations: 75.94 kB / 0.6237 GB, free: 8.723 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.404e-05/0.004753, allocations: 75.73 kB / 0.6238 GB, free: 8.648 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.004876, allocations: 175.6 kB / 0.6239 GB, free: 8.477 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004404/0.005316, allocations: 0.7012 MB / 0.6246 GB, free: 7.773 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.005319, allocations: 4 kB / 0.6246 GB, free: 7.77 MB / 0.5886 GB Notification: Performance of FrontEnd: time 5.91e-07/0.00532, allocations: 0 / 0.6246 GB, free: 7.77 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.005325, allocations: 4 kB / 0.6246 GB, free: 7.766 MB / 0.5886 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.0006312/0.005956, allocations: 0.6678 MB / 0.6253 GB, free: 7.035 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.00599, allocations: 9.469 kB / 0.6253 GB, free: 7.027 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.392e-05/0.006064, allocations: 44.7 kB / 0.6253 GB, free: 6.984 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005399/0.006604, allocations: 329.2 kB / 0.6256 GB, free: 6.641 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.006629, allocations: 24.88 kB / 0.6257 GB, free: 6.617 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.83e-05/0.006687, allocations: 44.36 kB / 0.6257 GB, free: 6.574 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003187/0.007006, allocations: 377.1 kB / 0.6261 GB, free: 6.172 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.007015, allocations: 8.125 kB / 0.6261 GB, free: 6.164 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.007031, allocations: 8.375 kB / 0.6261 GB, free: 6.156 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.007038, allocations: 16.06 kB / 0.6261 GB, free: 6.141 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/0.007196, allocations: 153.9 kB / 0.6262 GB, free: 5.988 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007274/0.007924, allocations: 0.6815 MB / 0.6269 GB, free: 5.277 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.008133, allocations: 206.8 kB / 0.6271 GB, free: 5.066 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001685/0.008302, allocations: 204.6 kB / 0.6273 GB, free: 4.863 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.008312, allocations: 4 kB / 0.6273 GB, free: 4.859 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002291/0.008541, allocations: 348.3 kB / 0.6276 GB, free: 4.473 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=28): time 1.963e-06/0.008543, allocations: 3.984 kB / 0.6276 GB, free: 4.469 MB / 0.5886 GB Notification: Performance of matching and sorting (n=28): time 0.0004477/0.008991, allocations: 439.8 kB / 0.6281 GB, free: 4.035 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/0.009037, allocations: 110.8 kB / 0.6282 GB, free: 3.902 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/0.009227, allocations: 324.2 kB / 0.6285 GB, free: 3.586 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.53e-05/0.009262, allocations: 37.7 kB / 0.6285 GB, free: 3.543 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 9.71e-05/0.009359, allocations: 184.7 kB / 0.6287 GB, free: 3.359 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.606e-05/0.009395, allocations: 63.58 kB / 0.6288 GB, free: 3.297 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.00952, allocations: 142 kB / 0.6289 GB, free: 3.148 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.022e-05/0.00961, allocations: 346.7 kB / 0.6292 GB, free: 2.801 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002653/0.009875, allocations: 335.5 kB / 0.6295 GB, free: 2.449 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003193/0.01019, allocations: 0.4918 MB / 0.63 GB, free: 1.871 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000388/0.01058, allocations: 0.5281 MB / 0.6305 GB, free: 1.273 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.01059, allocations: 7.938 kB / 0.6305 GB, free: 1.266 MB / 0.5886 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0006963/0.01128, allocations: 0.8722 MB / 0.6314 GB, free: 348 kB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 5.622e-05/0.01134, allocations: 122.8 kB / 0.6315 GB, free: 200 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.01135, allocations: 8 kB / 0.6315 GB, free: 192 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.01136, allocations: 4 kB / 0.6315 GB, free: 188 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.01147, allocations: 63.84 kB / 0.6316 GB, free: 124 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.01148, allocations: 4 kB / 0.6316 GB, free: 120 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003009/0.01178, allocations: 128.2 kB / 0.6317 GB, free: 15.99 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.714e-05/0.01184, allocations: 67.92 kB / 0.6318 GB, free: 15.92 MB / 0.6042 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.0001288/0.01196, allocations: 209.3 kB / 0.632 GB, free: 15.71 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.345e-05/0.01199, allocations: 31.77 kB / 0.632 GB, free: 15.68 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003208/0.01231, allocations: 353.1 kB / 0.6323 GB, free: 15.33 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.01232, allocations: 7.984 kB / 0.6323 GB, free: 15.32 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.01232, allocations: 0 / 0.6323 GB, free: 15.32 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.01232, allocations: 0 / 0.6323 GB, free: 15.32 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005033/0.01283, allocations: 0.6672 MB / 0.633 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01283, allocations: 0 / 0.633 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.51e-05/0.01289, allocations: 43.91 kB / 0.633 GB, free: 14.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.01289, allocations: 0 / 0.633 GB, free: 14.57 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.01291, allocations: 11.94 kB / 0.6331 GB, free: 14.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.01291, allocations: 3.938 kB / 0.6331 GB, free: 14.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.01291, allocations: 3.938 kB / 0.6331 GB, free: 14.55 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002781/0.01319, allocations: 436.1 kB / 0.6335 GB, free: 14.11 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.154e-05/0.01321, allocations: 27.75 kB / 0.6335 GB, free: 14.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.01323, allocations: 12 kB / 0.6335 GB, free: 14.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.876e-05/0.0133, allocations: 11.98 kB / 0.6335 GB, free: 14.06 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.79e-05/0.01334, allocations: 27.89 kB / 0.6336 GB, free: 14.03 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.01335, allocations: 12 kB / 0.6336 GB, free: 14.02 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001179/0.01346, allocations: 203.1 kB / 0.6338 GB, free: 13.82 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4e-08/0.01346, allocations: 0 / 0.6338 GB, free: 13.82 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002378/0.0137, allocations: 99.89 kB / 0.6339 GB, free: 13.73 MB / 0.6042 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.0001088/0.01381, allocations: 129.1 kB / 0.634 GB, free: 13.59 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005541/0.01436, allocations: 0.7388 MB / 0.6347 GB, free: 12.78 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01437, allocations: 0 / 0.6347 GB, free: 12.78 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.01448, allocations: 132.4 kB / 0.6348 GB, free: 12.65 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.01477, allocations: 88.36 kB / 0.6349 GB, free: 12.57 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005594/0.01533, allocations: 0.6031 MB / 0.6355 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.855e-05/0.01542, allocations: 174.5 kB / 0.6357 GB, free: 11.75 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.469e-05/0.01547, allocations: 40.5 kB / 0.6357 GB, free: 11.71 MB / 0.6042 GB Notification: Performance of SimCode: time 6.82e-07/0.01547, allocations: 0 / 0.6357 GB, free: 11.71 MB / 0.6042 GB Notification: Performance of Templates: time 0.004287/0.01976, allocations: 5.006 MB / 0.6406 GB, free: 6.746 MB / 0.6042 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.099768398329616] Failed to read output from testmodel.py, exit status != 0: 0.023995461873710155 0.031305354 0.024505539 Calling exit ...