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.0008802/0.0008802, allocations: 81.17 kB / 19.87 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.0009228/0.0009228, allocations: 169 kB / 23.27 MB, free: 1.223 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.014/1.014, allocations: 177.1 MB / 203.7 MB, free: 5.523 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-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 0.7521/0.7521, allocations: 154.9 MB / 415.1 MB, free: 272 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 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 2.264e-06/2.264e-06, allocations: 0 / 0.5211 GB, free: 1.527 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.771e-05/2.998e-05, allocations: 4.281 kB / 0.5211 GB, free: 1.523 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.001799/0.001829, allocations: 1.089 MB / 0.5222 GB, free: 468 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00168/0.003509, allocations: 1.565 MB / 0.5237 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.003616, allocations: 5.812 kB / 0.5237 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001222/0.003738, allocations: 31.61 kB / 0.5238 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001085/0.003847, allocations: 75.31 kB / 0.5238 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008715/0.004718, allocations: 480.6 kB / 0.5243 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0005538/0.005272, allocations: 0.5932 MB / 0.5249 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002059/0.005478, allocations: 96.98 kB / 0.525 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003646/0.005843, allocations: 359.3 kB / 0.5253 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002085/0.006051, allocations: 157.8 kB / 0.5254 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.789e-05/0.006109, allocations: 49.34 kB / 0.5255 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.00621, allocations: 56 kB / 0.5255 GB, free: 13 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.048e-05/0.00628, allocations: 71.73 kB / 0.5256 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001243/0.006405, allocations: 155.6 kB / 0.5258 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003879/0.006792, allocations: 383.9 kB / 0.5261 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.006797, allocations: 4 kB / 0.5261 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.52e-07/0.006798, allocations: 0 / 0.5261 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.006803, allocations: 2.875 kB / 0.5261 GB, free: 12.4 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.0007002/0.007503, allocations: 0.7676 MB / 0.5269 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.007544, allocations: 12.02 kB / 0.5269 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.14e-05/0.007635, allocations: 64.7 kB / 0.527 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/0.007933, allocations: 279.4 kB / 0.5272 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.659e-05/0.007969, allocations: 24.88 kB / 0.5273 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.79e-05/0.008017, allocations: 40.94 kB / 0.5273 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000256/0.008273, allocations: 302.4 kB / 0.5276 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.008283, allocations: 192 / 0.5276 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.008301, allocations: 13.25 kB / 0.5276 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.008311, allocations: 4.375 kB / 0.5276 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.598e-05/0.008387, allocations: 68.91 kB / 0.5277 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008/0.009187, allocations: 0.6736 MB / 0.5283 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/0.00933, allocations: 123.7 kB / 0.5284 GB, free: 9.891 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.735e-05/0.009387, allocations: 59.64 kB / 0.5285 GB, free: 9.828 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.296e-06/0.009395, allocations: 5.406 kB / 0.5285 GB, free: 9.824 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000209/0.009604, allocations: 306.8 kB / 0.5288 GB, free: 9.473 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=28): time 1.152e-06/0.009606, allocations: 0 / 0.5288 GB, free: 9.473 MB / 0.4948 GB Notification: Performance of matching and sorting (n=28): time 0.0003288/0.009934, allocations: 280.2 kB / 0.5291 GB, free: 9.195 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.00998, allocations: 119.4 kB / 0.5292 GB, free: 9.055 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000202/0.01018, allocations: 365.8 kB / 0.5295 GB, free: 8.684 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.328e-05/0.01023, allocations: 42.98 kB / 0.5296 GB, free: 8.637 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.01034, allocations: 227.4 kB / 0.5298 GB, free: 8.41 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.59e-05/0.01037, allocations: 63.56 kB / 0.5298 GB, free: 8.348 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/0.01051, allocations: 156.9 kB / 0.53 GB, free: 8.184 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.01064, allocations: 0.5195 MB / 0.5305 GB, free: 7.652 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.01083, allocations: 235.6 kB / 0.5307 GB, free: 7.398 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002439/0.01107, allocations: 455.8 kB / 0.5312 GB, free: 6.852 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003094/0.01138, allocations: 438.8 kB / 0.5316 GB, free: 6.34 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.01139, allocations: 4 kB / 0.5316 GB, free: 6.336 MB / 0.4948 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0006782/0.01207, allocations: 0.722 MB / 0.5323 GB, free: 5.562 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.877e-05/0.01214, allocations: 138.8 kB / 0.5324 GB, free: 5.402 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.01215, allocations: 4.5 kB / 0.5324 GB, free: 5.398 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.01217, allocations: 4.5 kB / 0.5324 GB, free: 5.395 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.0123, allocations: 61.69 kB / 0.5325 GB, free: 5.336 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.0123, allocations: 4 kB / 0.5325 GB, free: 5.332 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003044/0.01261, allocations: 102.1 kB / 0.5326 GB, free: 5.234 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-05/0.0127, allocations: 71.8 kB / 0.5327 GB, free: 5.164 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,extIndInt.u[1],extIndInt4.u[1],extIndInt3.u[1],extIndInt2.u[1],extIndInt1.u[1],extIndInt4.u[4],extIndInt3.u[4],extIndInt2.u[4],extIndInt1.u[4],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],extIndInt.u[4],conInt2.y,conInt3.y,conInt.y) * 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.0002125/0.01291, allocations: 218.8 kB / 0.5329 GB, free: 4.945 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.428e-05/0.01296, allocations: 47.75 kB / 0.5329 GB, free: 4.898 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003181/0.01328, allocations: 245.6 kB / 0.5331 GB, free: 4.656 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.01329, allocations: 11.94 kB / 0.5332 GB, free: 4.645 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.01329, allocations: 0 / 0.5332 GB, free: 4.645 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.0133, allocations: 4.922 kB / 0.5332 GB, free: 4.641 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005344/0.01384, allocations: 0.5621 MB / 0.5337 GB, free: 4.047 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.01384, allocations: 0 / 0.5337 GB, free: 4.047 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.941e-05/0.01392, allocations: 35.98 kB / 0.5337 GB, free: 4.012 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.01392, allocations: 0 / 0.5337 GB, free: 4.012 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.01393, allocations: 5.281 kB / 0.5337 GB, free: 4.008 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.01394, allocations: 3.938 kB / 0.5338 GB, free: 4.004 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.01394, allocations: 0 / 0.5338 GB, free: 4.004 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002792/0.01422, allocations: 390.4 kB / 0.5341 GB, free: 3.602 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.703e-05/0.01426, allocations: 36.39 kB / 0.5342 GB, free: 3.566 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.01428, allocations: 4.844 kB / 0.5342 GB, free: 3.562 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.14e-05/0.01435, allocations: 8 kB / 0.5342 GB, free: 3.555 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.74e-05/0.0144, allocations: 23.95 kB / 0.5342 GB, free: 3.531 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.01441, allocations: 17.11 kB / 0.5342 GB, free: 3.516 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001139/0.01453, allocations: 210.9 kB / 0.5344 GB, free: 3.316 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01453, allocations: 0 / 0.5344 GB, free: 3.316 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003148/0.01484, allocations: 101.3 kB / 0.5345 GB, free: 3.219 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.0001611/0.015, allocations: 126.4 kB / 0.5346 GB, free: 3.09 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004578/0.01546, allocations: 0.6316 MB / 0.5352 GB, free: 2.383 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.01546, allocations: 0 / 0.5352 GB, free: 2.383 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.965e-05/0.01554, allocations: 100.4 kB / 0.5353 GB, free: 2.281 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/0.01586, allocations: 88.83 kB / 0.5354 GB, free: 2.199 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005497/0.01641, allocations: 0.5028 MB / 0.5359 GB, free: 1.66 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.415e-05/0.01647, allocations: 94 kB / 0.536 GB, free: 1.551 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 8.998e-05/0.01656, allocations: 42.39 kB / 0.536 GB, free: 1.516 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002456/0.0168, allocations: 202.1 kB / 0.5362 GB, free: 1.316 MB / 0.4948 GB Notification: Performance of SimCode: time 9.42e-07/0.0168, allocations: 0 / 0.5362 GB, free: 1.316 MB / 0.4948 GB Notification: Performance of Templates: time 0.008088/0.02489, allocations: 6.301 MB / 0.5424 GB, free: 11.32 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.599538162816316]