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.0007592/0.0007592, allocations: 76.45 kB / 19.91 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.0008515/0.0008515, allocations: 166.3 kB / 23.18 MB, free: 1.387 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.8647/0.8647, allocations: 177.2 MB / 203.6 MB, free: 5.773 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7049/0.7049, allocations: 154.7 MB / 414.7 MB, free: 0.7383 MB / 378.7 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 179] 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: 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.0009295/0.0009295, allocations: 67.89 kB / 0.6195 GB, free: 13.11 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.3904/0.3913, allocations: 102 MB / 0.7191 GB, free: 23.59 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001675/0.393, allocations: 1.23 MB / 0.7203 GB, free: 22.8 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001388/0.3944, allocations: 1.573 MB / 0.7219 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/0.3945, allocations: 11.62 kB / 0.7219 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001237/0.3946, allocations: 28.78 kB / 0.7219 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.3947, allocations: 79.12 kB / 0.722 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009328/0.3956, allocations: 0.496 MB / 0.7225 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.00056/0.3962, allocations: 0.6521 MB / 0.7231 GB, free: 21 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002358/0.3964, allocations: 118 kB / 0.7232 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003142/0.3967, allocations: 375.7 kB / 0.7236 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002256/0.397, allocations: 211.7 kB / 0.7238 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 7.735e-05/0.397, allocations: 64.78 kB / 0.7238 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.3972, allocations: 81.16 kB / 0.7239 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 7.467e-05/0.3972, allocations: 85.56 kB / 0.724 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001711/0.3974, allocations: 217.8 kB / 0.7242 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0006616/0.3981, allocations: 0.7858 MB / 0.725 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.3981, allocations: 3.938 kB / 0.725 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3981, allocations: 1.406 kB / 0.725 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.162e-05/0.3981, allocations: 4.797 kB / 0.725 GB, free: 20.15 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.000947/0.399, allocations: 0.8752 MB / 0.7258 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.3991, allocations: 9.031 kB / 0.7258 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.3992, allocations: 54.67 kB / 0.7259 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007836/0.4, allocations: 403.4 kB / 0.7263 GB, free: 19.15 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.131e-05/0.4, allocations: 28 kB / 0.7263 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.646e-05/0.4, allocations: 40.09 kB / 0.7263 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000483/0.4005, allocations: 459 kB / 0.7268 GB, free: 18.87 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.4005, allocations: 11.92 kB / 0.7268 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/0.4006, allocations: 12.94 kB / 0.7268 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.4006, allocations: 5.031 kB / 0.7268 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000439/0.401, allocations: 385.1 kB / 0.7272 GB, free: 18.64 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001134/0.4021, allocations: 0.7255 MB / 0.7279 GB, free: 18.23 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004792/0.4026, allocations: 481.6 kB / 0.7283 GB, free: 17.97 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003377/0.403, allocations: 396.6 kB / 0.7287 GB, free: 17.73 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.403, allocations: 7.406 kB / 0.7287 GB, free: 17.73 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004172/0.4034, allocations: 457.2 kB / 0.7292 GB, free: 17.46 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=44): time 2.495e-06/0.4034, allocations: 1.094 kB / 0.7292 GB, free: 17.46 MB / 0.6355 GB Notification: Performance of matching and sorting (n=44): time 0.00104/0.4044, allocations: 1.097 MB / 0.7302 GB, free: 16.78 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.4045, allocations: 209.2 kB / 0.7304 GB, free: 16.54 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001982/0.4047, allocations: 282.8 kB / 0.7307 GB, free: 16.39 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.363e-05/0.4047, allocations: 44.47 kB / 0.7307 GB, free: 16.35 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.558e-05/0.4048, allocations: 165.9 kB / 0.7309 GB, free: 16.21 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.833e-05/0.4049, allocations: 136.9 kB / 0.731 GB, free: 16.11 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/0.405, allocations: 137.1 kB / 0.7312 GB, free: 16.05 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.097e-05/0.4051, allocations: 347.5 kB / 0.7315 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000444/0.4055, allocations: 0.522 MB / 0.732 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004593/0.406, allocations: 0.6109 MB / 0.7326 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006471/0.4066, allocations: 0.9113 MB / 0.7335 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.4066, allocations: 0 / 0.7335 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001039/0.4077, allocations: 1.274 MB / 0.7347 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.915e-05/0.4077, allocations: 256.9 kB / 0.735 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.4077, allocations: 2.938 kB / 0.735 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.4078, allocations: 4.625 kB / 0.735 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/0.4079, allocations: 72.11 kB / 0.7351 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.587e-06/0.4079, allocations: 4.75 kB / 0.7351 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004196/0.4084, allocations: 142.5 kB / 0.7352 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-05/0.4085, allocations: 77.25 kB / 0.7353 GB, free: 13.02 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.0001575/0.4086, allocations: 307.1 kB / 0.7356 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.242e-05/0.4086, allocations: 46.95 kB / 0.7356 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.225e-05/0.4087, allocations: 41.8 kB / 0.7356 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.4087, allocations: 4.156 kB / 0.7357 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.4087, allocations: 0.875 kB / 0.7357 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.4087, allocations: 6.203 kB / 0.7357 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/0.4098, allocations: 1.219 MB / 0.7368 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.4098, allocations: 5.094 kB / 0.7369 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/0.41, allocations: 62.11 kB / 0.7369 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.41, allocations: 1.156 kB / 0.7369 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.41, allocations: 17.67 kB / 0.7369 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.41, allocations: 1.031 kB / 0.7369 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.41, allocations: 0 / 0.7369 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006879/0.4107, allocations: 0.9064 MB / 0.7378 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.093e-05/0.4107, allocations: 38.44 kB / 0.7379 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.984e-05/0.4107, allocations: 9.391 kB / 0.7379 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.4109, allocations: 26.09 kB / 0.7379 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.797e-05/0.411, allocations: 36.59 kB / 0.7379 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-05/0.411, allocations: 48.16 kB / 0.738 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001307/0.4111, allocations: 195 kB / 0.7382 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.4111, allocations: 4 kB / 0.7382 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003312/0.4115, allocations: 113.2 kB / 0.7383 GB, free: 11.07 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.0001302/0.4116, allocations: 111.6 kB / 0.7384 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0009636/0.4126, allocations: 1.442 MB / 0.7398 GB, free: 9.789 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.4126, allocations: 0 / 0.7398 GB, free: 9.789 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000361/0.4129, allocations: 0.62 MB / 0.7404 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003792/0.4133, allocations: 87.28 kB / 0.7405 GB, free: 9.227 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009842/0.4143, allocations: 0.9757 MB / 0.7414 GB, free: 8.641 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000145/0.4144, allocations: 193.1 kB / 0.7416 GB, free: 8.547 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.126e-05/0.4145, allocations: 39.62 kB / 0.7416 GB, free: 8.535 MB / 0.6355 GB Notification: Performance of SimCode: time 1.152e-06/0.4145, allocations: 0 / 0.7416 GB, free: 8.535 MB / 0.6355 GB Notification: Performance of Templates: time 0.008274/0.4228, allocations: 5.701 MB / 0.7472 GB, free: 7.961 MB / 0.6355 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.904586913064122] Failed to read output from testmodel.py, exit status != 0: 0.42845690809190273 0.43617136 0.036498186 Calling exit ...