Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001554/0.001554, allocations: 80.12 kB / 19.18 MB, free: 2.516 MB / 14.72 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.00149/0.00149, allocations: 165 kB / 22.45 MB, free: 5.371 MB / 14.72 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.415/1.415, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.167/1.167, allocations: 154.7 MB / 413.9 MB, free: 5.125 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 3.938 kB / 0.6187 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.624e-05/2.809e-05, allocations: 2.281 kB / 0.6187 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002635/0.002664, allocations: 1.229 MB / 0.6199 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002787/0.00545, allocations: 1.57 MB / 0.6215 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001728/0.005623, allocations: 7.938 kB / 0.6215 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001815/0.005805, allocations: 31.55 kB / 0.6215 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001875/0.005992, allocations: 87.36 kB / 0.6216 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001399/0.007391, allocations: 0.4922 MB / 0.6221 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000724/0.008115, allocations: 0.656 MB / 0.6227 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002896/0.008404, allocations: 109.3 kB / 0.6228 GB, free: 392 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004339/0.008838, allocations: 371.4 kB / 0.6232 GB, free: 20 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002923/0.00913, allocations: 198.2 kB / 0.6234 GB, free: 15.82 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.995e-05/0.00923, allocations: 68 kB / 0.6234 GB, free: 15.76 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000144/0.009374, allocations: 71.98 kB / 0.6235 GB, free: 15.69 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.009487, allocations: 75.75 kB / 0.6236 GB, free: 15.61 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000242/0.009729, allocations: 195.5 kB / 0.6238 GB, free: 15.42 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008439/0.01057, allocations: 0.7558 MB / 0.6245 GB, free: 14.66 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.01058, allocations: 0 / 0.6245 GB, free: 14.66 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.432e-06/0.01058, allocations: 0 / 0.6245 GB, free: 14.66 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.147e-05/0.01059, allocations: 0 / 0.6245 GB, free: 14.66 MB / 0.545 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.001421/0.01201, allocations: 0.8866 MB / 0.6254 GB, free: 13.68 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.635e-05/0.01207, allocations: 12.03 kB / 0.6254 GB, free: 13.67 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/0.0122, allocations: 56.66 kB / 0.6254 GB, free: 13.62 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001255/0.01345, allocations: 412.7 kB / 0.6258 GB, free: 13.19 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.492e-05/0.0135, allocations: 28.88 kB / 0.6258 GB, free: 13.16 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.372e-05/0.01358, allocations: 36.38 kB / 0.6259 GB, free: 13.13 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007497/0.01433, allocations: 453 kB / 0.6263 GB, free: 12.65 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.01435, allocations: 4.172 kB / 0.6263 GB, free: 12.65 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.084e-05/0.01438, allocations: 12.38 kB / 0.6263 GB, free: 12.64 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.01439, allocations: 16.12 kB / 0.6263 GB, free: 12.62 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007001/0.01509, allocations: 390.2 kB / 0.6267 GB, free: 12.21 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001543/0.01663, allocations: 0.7322 MB / 0.6274 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007376/0.01737, allocations: 479.7 kB / 0.6279 GB, free: 10.94 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000579/0.01795, allocations: 398 kB / 0.6283 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.01797, allocations: 4 kB / 0.6283 GB, free: 10.51 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006799/0.01865, allocations: 451.6 kB / 0.6287 GB, free: 10.03 MB / 0.545 GB Notification: Performance of pre-optimization done (n=44): time 2.585e-06/0.01866, allocations: 4 kB / 0.6287 GB, free: 10.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=44): time 0.001891/0.02055, allocations: 1.099 MB / 0.6298 GB, free: 8.828 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001267/0.02067, allocations: 195.9 kB / 0.63 GB, free: 8.594 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003122/0.02099, allocations: 284.5 kB / 0.6302 GB, free: 8.309 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.547e-05/0.02105, allocations: 41.7 kB / 0.6303 GB, free: 8.262 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000154/0.02121, allocations: 172.8 kB / 0.6304 GB, free: 8.09 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.02133, allocations: 138.9 kB / 0.6306 GB, free: 7.953 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002267/0.02155, allocations: 134.1 kB / 0.6307 GB, free: 7.816 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.02172, allocations: 346.8 kB / 0.631 GB, free: 7.469 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007938/0.02252, allocations: 0.5235 MB / 0.6315 GB, free: 6.891 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008382/0.02335, allocations: 0.6142 MB / 0.6321 GB, free: 6.188 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001294/0.02465, allocations: 0.9099 MB / 0.633 GB, free: 5.164 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.02465, allocations: 4 kB / 0.633 GB, free: 5.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001875/0.02653, allocations: 1.261 MB / 0.6343 GB, free: 3.781 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001803/0.02671, allocations: 263.2 kB / 0.6345 GB, free: 3.469 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.02672, allocations: 4 kB / 0.6345 GB, free: 3.465 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.02674, allocations: 4 kB / 0.6345 GB, free: 3.461 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002775/0.02702, allocations: 71.83 kB / 0.6346 GB, free: 3.391 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.02703, allocations: 8.25 kB / 0.6346 GB, free: 3.383 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000696/0.02772, allocations: 139.6 kB / 0.6347 GB, free: 3.246 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/0.02785, allocations: 67.92 kB / 0.6348 GB, free: 3.18 MB / 0.545 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.0003102/0.02816, allocations: 318.8 kB / 0.6351 GB, free: 2.828 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.478e-05/0.02822, allocations: 39.77 kB / 0.6351 GB, free: 2.789 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.707e-05/0.02832, allocations: 43.36 kB / 0.6352 GB, free: 2.742 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.02832, allocations: 4 kB / 0.6352 GB, free: 2.738 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.02833, allocations: 0 / 0.6352 GB, free: 2.738 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.02834, allocations: 0 / 0.6352 GB, free: 2.738 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001848/0.03019, allocations: 1.222 MB / 0.6364 GB, free: 1.418 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.03019, allocations: 0 / 0.6364 GB, free: 1.418 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002441/0.03043, allocations: 63.89 kB / 0.6364 GB, free: 1.355 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.03044, allocations: 4 kB / 0.6364 GB, free: 1.352 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.356e-05/0.03047, allocations: 19.98 kB / 0.6365 GB, free: 1.332 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.261e-06/0.03048, allocations: 4 kB / 0.6365 GB, free: 1.328 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.03048, allocations: 0 / 0.6365 GB, free: 1.328 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001291/0.03177, allocations: 0.8996 MB / 0.6374 GB, free: 360 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.932e-05/0.03182, allocations: 43.62 kB / 0.6374 GB, free: 316 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.67e-05/0.03187, allocations: 8 kB / 0.6374 GB, free: 308 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002147/0.03208, allocations: 23.97 kB / 0.6374 GB, free: 284 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.0322, allocations: 35.94 kB / 0.6375 GB, free: 248 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.148e-05/0.03227, allocations: 47.94 kB / 0.6375 GB, free: 200 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001932/0.03246, allocations: 195 kB / 0.6377 GB, free: 4 kB / 0.545 GB Notification: Performance of sort global known variables: time 7.1e-08/0.03246, allocations: 0 / 0.6377 GB, free: 4 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004189/0.03288, allocations: 115.9 kB / 0.6378 GB, free: 15.89 MB / 0.5606 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.0001848/0.03306, allocations: 111.4 kB / 0.6379 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001796/0.03486, allocations: 1.446 MB / 0.6393 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.03486, allocations: 4 kB / 0.6393 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007423/0.0356, allocations: 0.6183 MB / 0.6399 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005262/0.03613, allocations: 95.17 kB / 0.64 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.03754, allocations: 0.9333 MB / 0.6409 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001877/0.03773, allocations: 184.3 kB / 0.6411 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002267/0.03795, allocations: 91.2 kB / 0.6412 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.592e-05/0.03803, allocations: 40.48 kB / 0.6412 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of SimCode: time 4.6e-07/0.03803, allocations: 0 / 0.6412 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of Templates: time 0.01289/0.05092, allocations: 7.053 MB / 0.6481 GB, free: 5.117 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.809874651953578] Failed to read output from testmodel.py, exit status != 0: 0.05953632853925228 0.07438183400000001 0.060602729 Calling exit ...