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.001104/0.001104, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001664/0.001664, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.029/1.029, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.7741/0.7741, allocations: 154.9 MB / 415.9 MB, free: 248 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.334e-06/2.334e-06, allocations: 0 / 0.5219 GB, free: 1.559 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.385e-05/2.618e-05, allocations: 4.828 kB / 0.5219 GB, free: 1.555 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.00172/0.001746, allocations: 1.098 MB / 0.523 GB, free: 496 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00182/0.003567, allocations: 1.562 MB / 0.5245 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.701e-05/0.003654, allocations: 4.625 kB / 0.5245 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001298/0.003783, allocations: 31.61 kB / 0.5245 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 9.486e-05/0.003878, allocations: 76.06 kB / 0.5246 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007255/0.004604, allocations: 476.2 kB / 0.525 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004347/0.005038, allocations: 0.601 MB / 0.5256 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002161/0.005255, allocations: 102.8 kB / 0.5257 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003042/0.005559, allocations: 351.4 kB / 0.5261 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002191/0.005778, allocations: 157.3 kB / 0.5262 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.724e-05/0.005845, allocations: 48 kB / 0.5263 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.00596, allocations: 59.94 kB / 0.5263 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.88e-05/0.006049, allocations: 68.5 kB / 0.5264 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001422/0.006191, allocations: 151.7 kB / 0.5265 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004202/0.006612, allocations: 388.2 kB / 0.5269 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.006615, allocations: 3.938 kB / 0.5269 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.773e-06/0.006617, allocations: 0 / 0.5269 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.006623, allocations: 0 / 0.5269 GB, free: 12.43 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.000742/0.007365, allocations: 0.769 MB / 0.5277 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.007403, allocations: 19.95 kB / 0.5277 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.719e-05/0.00749, allocations: 66.45 kB / 0.5277 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/0.007766, allocations: 271.5 kB / 0.528 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.893e-05/0.007795, allocations: 24.88 kB / 0.528 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.511e-05/0.00784, allocations: 36.38 kB / 0.5281 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002556/0.008096, allocations: 305.8 kB / 0.5283 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.008105, allocations: 2.375 kB / 0.5283 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.925e-05/0.008124, allocations: 12.38 kB / 0.5284 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.008132, allocations: 4.375 kB / 0.5284 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.953e-05/0.008222, allocations: 75.31 kB / 0.5284 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000768/0.00899, allocations: 0.6663 MB / 0.5291 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.009148, allocations: 116.8 kB / 0.5292 GB, free: 9.926 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.652e-05/0.009214, allocations: 67.62 kB / 0.5293 GB, free: 9.855 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.445e-06/0.009223, allocations: 4 kB / 0.5293 GB, free: 9.852 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002387/0.009462, allocations: 307.6 kB / 0.5296 GB, free: 9.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=28): time 1.463e-06/0.009463, allocations: 0 / 0.5296 GB, free: 9.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=28): time 0.0003757/0.009839, allocations: 281.1 kB / 0.5298 GB, free: 9.223 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.926e-05/0.009898, allocations: 110.8 kB / 0.5299 GB, free: 9.09 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002331/0.01013, allocations: 365.8 kB / 0.5303 GB, free: 8.719 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.155e-05/0.01017, allocations: 42.7 kB / 0.5303 GB, free: 8.672 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004136/0.01059, allocations: 235.4 kB / 0.5305 GB, free: 8.438 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.53e-05/0.01062, allocations: 55.56 kB / 0.5306 GB, free: 8.383 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001368/0.01076, allocations: 162.8 kB / 0.5308 GB, free: 8.215 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.01088, allocations: 0.5156 MB / 0.5313 GB, free: 7.688 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000171/0.01105, allocations: 239.6 kB / 0.5315 GB, free: 7.43 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002455/0.0113, allocations: 448.8 kB / 0.5319 GB, free: 6.887 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002883/0.01159, allocations: 443.1 kB / 0.5323 GB, free: 6.371 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.01159, allocations: 1.5 kB / 0.5323 GB, free: 6.371 MB / 0.4948 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0005833/0.01217, allocations: 0.7267 MB / 0.533 GB, free: 5.594 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.008e-05/0.01224, allocations: 138.7 kB / 0.5332 GB, free: 5.434 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.01225, allocations: 4 kB / 0.5332 GB, free: 5.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.01226, allocations: 4 kB / 0.5332 GB, free: 5.426 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.01239, allocations: 63.91 kB / 0.5332 GB, free: 5.363 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.01239, allocations: 6.438 kB / 0.5333 GB, free: 5.359 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002641/0.01265, allocations: 103.7 kB / 0.5334 GB, free: 5.258 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.569e-05/0.01272, allocations: 65.45 kB / 0.5334 GB, free: 5.195 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.0001358/0.01286, allocations: 213.7 kB / 0.5336 GB, free: 4.98 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.669e-05/0.01289, allocations: 50.19 kB / 0.5337 GB, free: 4.934 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002656/0.01316, allocations: 252.5 kB / 0.5339 GB, free: 4.684 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.01316, allocations: 4 kB / 0.5339 GB, free: 4.68 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.01316, allocations: 0 / 0.5339 GB, free: 4.68 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.01317, allocations: 0 / 0.5339 GB, free: 4.68 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004391/0.01361, allocations: 0.5629 MB / 0.5345 GB, free: 4.086 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.01361, allocations: 3.984 kB / 0.5345 GB, free: 4.082 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.104e-05/0.01368, allocations: 35.92 kB / 0.5345 GB, free: 4.047 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.01368, allocations: 3.938 kB / 0.5345 GB, free: 4.043 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.01369, allocations: 8 kB / 0.5345 GB, free: 4.035 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.0137, allocations: 1.406 kB / 0.5345 GB, free: 4.035 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.0137, allocations: 4 kB / 0.5345 GB, free: 4.031 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002344/0.01393, allocations: 390.4 kB / 0.5349 GB, free: 3.629 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.426e-05/0.01396, allocations: 33.02 kB / 0.5349 GB, free: 3.598 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.01398, allocations: 8 kB / 0.5349 GB, free: 3.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.996e-05/0.01405, allocations: 8 kB / 0.5349 GB, free: 3.582 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.526e-05/0.01408, allocations: 23.95 kB / 0.535 GB, free: 3.559 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.0141, allocations: 8.656 kB / 0.535 GB, free: 3.551 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.435e-05/0.01419, allocations: 218.9 kB / 0.5352 GB, free: 3.344 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01419, allocations: 0.625 kB / 0.5352 GB, free: 3.344 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002577/0.01445, allocations: 97.42 kB / 0.5353 GB, free: 3.25 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.0001383/0.01459, allocations: 126.2 kB / 0.5354 GB, free: 3.121 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004437/0.01503, allocations: 0.6319 MB / 0.536 GB, free: 2.414 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.01503, allocations: 0 / 0.536 GB, free: 2.414 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.053e-05/0.01511, allocations: 99.47 kB / 0.5361 GB, free: 2.312 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.01543, allocations: 92.06 kB / 0.5362 GB, free: 2.227 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005209/0.01595, allocations: 0.5007 MB / 0.5367 GB, free: 1.691 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.753e-05/0.01601, allocations: 94 kB / 0.5368 GB, free: 1.582 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 8.071e-05/0.01609, allocations: 46.48 kB / 0.5368 GB, free: 1.543 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002488/0.01634, allocations: 198.9 kB / 0.537 GB, free: 1.348 MB / 0.4948 GB Notification: Performance of SimCode: time 6.01e-07/0.01634, allocations: 0 / 0.537 GB, free: 1.348 MB / 0.4948 GB Notification: Performance of Templates: time 0.008209/0.02455, allocations: 6.436 MB / 0.5433 GB, free: 11.2 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.9342950019054115]