Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.0008072/0.0008072, allocations: 72.45 kB / 19.9 MB, free: 16 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.0009709/0.0009709, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.8952/0.8952, allocations: 177.2 MB / 203.6 MB, free: 5.777 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.7027/0.7027, allocations: 154.9 MB / 414.9 MB, free: 0.4961 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.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor") translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009133/0.0009133, allocations: 63.89 kB / 0.6199 GB, free: 12.76 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.3947/0.3956, allocations: 102 MB / 0.7195 GB, free: 23.41 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001794/0.3974, allocations: 1.238 MB / 0.7207 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001521/0.3989, allocations: 1.584 MB / 0.7222 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.399, allocations: 3.281 kB / 0.7222 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001246/0.3991, allocations: 33.23 kB / 0.7223 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 9.343e-05/0.3992, allocations: 76.28 kB / 0.7223 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008106/0.4, allocations: 0.4959 MB / 0.7228 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0004919/0.4005, allocations: 0.6566 MB / 0.7235 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002437/0.4008, allocations: 109 kB / 0.7236 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003132/0.4011, allocations: 374 kB / 0.7239 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000239/0.4013, allocations: 219 kB / 0.7241 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 8.455e-05/0.4014, allocations: 63.75 kB / 0.7242 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.4015, allocations: 77.48 kB / 0.7243 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 8.146e-05/0.4016, allocations: 85.23 kB / 0.7243 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001674/0.4018, allocations: 218.2 kB / 0.7246 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0007411/0.4025, allocations: 0.7898 MB / 0.7253 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.4025, allocations: 5.094 kB / 0.7253 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.114e-06/0.4025, allocations: 0 / 0.7253 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.957e-06/0.4025, allocations: 0 / 0.7253 GB, free: 19.97 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0009006/0.4034, allocations: 0.8767 MB / 0.7262 GB, free: 19.22 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.4035, allocations: 10.53 kB / 0.7262 GB, free: 19.22 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.375e-05/0.4036, allocations: 54.55 kB / 0.7262 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007718/0.4043, allocations: 407.4 kB / 0.7266 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.67e-05/0.4044, allocations: 35.44 kB / 0.7267 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.176e-05/0.4044, allocations: 37.75 kB / 0.7267 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004924/0.4049, allocations: 458.1 kB / 0.7271 GB, free: 18.68 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.4049, allocations: 4.594 kB / 0.7271 GB, free: 18.67 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/0.4049, allocations: 11.97 kB / 0.7272 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.405, allocations: 6.188 kB / 0.7272 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004244/0.4054, allocations: 382.5 kB / 0.7275 GB, free: 18.45 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.4065, allocations: 0.7377 MB / 0.7283 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004641/0.4069, allocations: 479.7 kB / 0.7287 GB, free: 17.77 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003471/0.4073, allocations: 395 kB / 0.7291 GB, free: 17.54 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.4073, allocations: 13.28 kB / 0.7291 GB, free: 17.54 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004188/0.4077, allocations: 455.9 kB / 0.7295 GB, free: 17.26 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=44): time 2.204e-06/0.4077, allocations: 0 / 0.7295 GB, free: 17.26 MB / 0.6355 GB Notification: Performance of matching and sorting (n=44): time 0.001047/0.4088, allocations: 1.102 MB / 0.7306 GB, free: 16.58 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.4088, allocations: 193.2 kB / 0.7308 GB, free: 16.36 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002139/0.409, allocations: 284.1 kB / 0.7311 GB, free: 16.2 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.347e-05/0.4091, allocations: 44.73 kB / 0.7311 GB, free: 16.16 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.741e-05/0.4092, allocations: 174.2 kB / 0.7313 GB, free: 16.02 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.682e-05/0.4092, allocations: 135.4 kB / 0.7314 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001571/0.4094, allocations: 137.9 kB / 0.7315 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.445e-05/0.4094, allocations: 347.3 kB / 0.7319 GB, free: 15.53 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004311/0.4099, allocations: 0.5252 MB / 0.7324 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000464/0.4103, allocations: 0.6113 MB / 0.733 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006466/0.411, allocations: 0.9111 MB / 0.7339 GB, free: 14.01 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.411, allocations: 1.375 kB / 0.7339 GB, free: 14.01 MB / 0.6355 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001102/0.4121, allocations: 1.264 MB / 0.7351 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.826e-05/0.4122, allocations: 258.7 kB / 0.7353 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.4122, allocations: 1.688 kB / 0.7353 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.564e-05/0.4122, allocations: 8.188 kB / 0.7354 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000176/0.4124, allocations: 67.28 kB / 0.7354 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.4124, allocations: 8.984 kB / 0.7354 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004126/0.4128, allocations: 139.5 kB / 0.7356 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.763e-05/0.4129, allocations: 72.52 kB / 0.7356 GB, free: 12.84 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 9 * 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.0001753/0.4131, allocations: 313.7 kB / 0.7359 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.417e-05/0.4131, allocations: 46.5 kB / 0.736 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.953e-05/0.4132, allocations: 38.73 kB / 0.736 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.4132, allocations: 6.969 kB / 0.736 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.4132, allocations: 1.984 kB / 0.736 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.4132, allocations: 1.922 kB / 0.736 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/0.4143, allocations: 1.224 MB / 0.7372 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.4143, allocations: 0 / 0.7372 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001422/0.4144, allocations: 63.47 kB / 0.7373 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/0.4144, allocations: 1.5 kB / 0.7373 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.373e-05/0.4145, allocations: 20.06 kB / 0.7373 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.4145, allocations: 6 kB / 0.7373 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.4145, allocations: 0 / 0.7373 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006917/0.4152, allocations: 0.9022 MB / 0.7382 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.549e-05/0.4152, allocations: 35.23 kB / 0.7382 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.137e-05/0.4152, allocations: 9.281 kB / 0.7382 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.4153, allocations: 26.11 kB / 0.7383 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.667e-05/0.4154, allocations: 36.91 kB / 0.7383 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.634e-05/0.4155, allocations: 54.61 kB / 0.7383 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001403/0.4157, allocations: 196.4 kB / 0.7385 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4157, allocations: 0 / 0.7385 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003426/0.416, allocations: 108.5 kB / 0.7386 GB, free: 10.88 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 5 * 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.0001653/0.4162, allocations: 118.3 kB / 0.7387 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001113/0.4173, allocations: 1.441 MB / 0.7401 GB, free: 9.594 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.4173, allocations: 1.219 kB / 0.7402 GB, free: 9.594 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003784/0.4177, allocations: 0.6247 MB / 0.7408 GB, free: 9.062 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00039/0.418, allocations: 89.05 kB / 0.7408 GB, free: 9.027 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.4191, allocations: 0.9793 MB / 0.7418 GB, free: 8.434 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001521/0.4192, allocations: 184.7 kB / 0.742 GB, free: 8.352 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.119e-05/0.4193, allocations: 43.31 kB / 0.742 GB, free: 8.336 MB / 0.6355 GB Notification: Performance of SimCode: time 1.022e-06/0.4193, allocations: 0 / 0.742 GB, free: 8.336 MB / 0.6355 GB Notification: Performance of Templates: time 0.008431/0.4277, allocations: 5.708 MB / 0.7476 GB, free: 7.766 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.996919819852337] Failed to read output from testmodel.py, exit status != 0: 0.43342157383449376 0.44176023699999994 0.037450075 Calling exit ...