Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.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.0008536/0.0008536, allocations: 80.44 kB / 19.91 MB, free: 0 / 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.000976/0.000976, allocations: 173.2 kB / 23.19 MB, free: 1.367 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.8922/0.8922, 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 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.7197/0.7197, allocations: 154.7 MB / 414.7 MB, free: 0.7578 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.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel") translateModel(IDEAS.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel") [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.0008952/0.0008952, allocations: 68.47 kB / 0.6195 GB, free: 13.14 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.4559/0.4568, allocations: 102 MB / 0.7191 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.RCModel): time 0.00404/0.4608, allocations: 4.222 MB / 0.7232 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001711/0.4625, allocations: 1.816 MB / 0.725 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001331/0.4627, allocations: 12.59 kB / 0.725 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0008542/0.4635, allocations: 0.6105 MB / 0.7256 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0003519/0.4639, allocations: 262.8 kB / 0.7258 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003425/0.4642, allocations: 256.8 kB / 0.7261 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.000481/0.4647, allocations: 0.6129 MB / 0.7267 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004433/0.4651, allocations: 348.7 kB / 0.727 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002916/0.4654, allocations: 355.8 kB / 0.7274 GB, free: 18.52 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003542/0.4658, allocations: 267.3 kB / 0.7276 GB, free: 18.42 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.677e-05/0.4658, allocations: 40.44 kB / 0.7277 GB, free: 18.41 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002551/0.4661, allocations: 233.7 kB / 0.7279 GB, free: 18.34 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.4662, allocations: 154.3 kB / 0.728 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.4663, allocations: 182.5 kB / 0.7282 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0006054/0.4669, allocations: 0.6548 MB / 0.7288 GB, free: 17.94 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.4669, allocations: 0 / 0.7288 GB, free: 17.94 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.375e-06/0.4669, allocations: 1.719 kB / 0.7288 GB, free: 17.94 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.467, allocations: 0 / 0.7288 GB, free: 17.94 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.00078/0.4677, allocations: 0.6625 MB / 0.7295 GB, free: 17.46 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.4678, allocations: 8.938 kB / 0.7295 GB, free: 17.46 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005486/0.4683, allocations: 147.3 kB / 0.7296 GB, free: 17.43 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003079/0.4686, allocations: 281.5 kB / 0.7299 GB, free: 17.22 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.4686, allocations: 28.81 kB / 0.7299 GB, free: 17.21 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.71e-05/0.4687, allocations: 33.58 kB / 0.73 GB, free: 17.2 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005552/0.4692, allocations: 0.6849 MB / 0.7306 GB, free: 16.74 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.4693, allocations: 1.062 kB / 0.7306 GB, free: 16.74 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.578e-05/0.4693, allocations: 21.02 kB / 0.7307 GB, free: 16.72 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.831e-05/0.4693, allocations: 36.84 kB / 0.7307 GB, free: 16.71 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004257/0.4698, allocations: 388.7 kB / 0.7311 GB, free: 16.58 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001277/0.471, allocations: 1.656 MB / 0.7327 GB, free: 15.33 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003718/0.4714, allocations: 249.2 kB / 0.7329 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.4715, allocations: 98.39 kB / 0.733 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.4715, allocations: 2.75 kB / 0.733 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.574e-05/0.4715, allocations: 32.59 kB / 0.733 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=20): time 1.794e-06/0.4715, allocations: 0 / 0.733 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23): time 0.001343/0.4729, allocations: 0.9044 MB / 0.7339 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.25e-05/0.4729, allocations: 55.53 kB / 0.734 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001968/0.4731, allocations: 275.8 kB / 0.7342 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.4731, allocations: 31.98 kB / 0.7343 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.386e-05/0.4732, allocations: 237 kB / 0.7345 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.93e-05/0.4732, allocations: 85.2 kB / 0.7346 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.53e-05/0.4733, allocations: 70.34 kB / 0.7346 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.296e-05/0.4733, allocations: 337.5 kB / 0.735 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.4735, allocations: 103.6 kB / 0.7351 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.4736, allocations: 199.5 kB / 0.7353 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002641/0.4739, allocations: 320.5 kB / 0.7356 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4739, allocations: 5.031 kB / 0.7356 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004578/0.4743, allocations: 431.9 kB / 0.736 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.4744, allocations: 5.781 kB / 0.736 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.4744, allocations: 8.328 kB / 0.736 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002249/0.4746, allocations: 96.05 kB / 0.7361 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.4747, allocations: 61.02 kB / 0.7361 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001501/0.4762, allocations: 4.003 MB / 0.7401 GB, free: 9.301 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.4763, allocations: 20.58 kB / 0.7401 GB, free: 9.285 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.695e-05/0.4764, allocations: 10.5 kB / 0.7401 GB, free: 9.285 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001161/0.4765, allocations: 185.7 kB / 0.7403 GB, free: 9.133 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.596e-05/0.4765, allocations: 30.88 kB / 0.7403 GB, free: 9.117 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.882e-05/0.4765, allocations: 39.69 kB / 0.7403 GB, free: 9.086 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.4765, allocations: 1.453 kB / 0.7403 GB, free: 9.086 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.4766, allocations: 1.031 kB / 0.7403 GB, free: 9.086 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.677e-05/0.4766, allocations: 49.55 kB / 0.7404 GB, free: 9.059 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.4766, allocations: 6.172 kB / 0.7404 GB, free: 9.055 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.968e-05/0.4767, allocations: 8.109 kB / 0.7404 GB, free: 9.055 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.864e-05/0.4768, allocations: 25.94 kB / 0.7404 GB, free: 9.047 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004782/0.4772, allocations: 437.4 kB / 0.7408 GB, free: 8.82 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003662/0.4776, allocations: 0.5147 MB / 0.7413 GB, free: 8.504 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001071/0.4777, allocations: 95.86 kB / 0.7414 GB, free: 8.473 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001146/0.4778, allocations: 189.2 kB / 0.7416 GB, free: 8.359 MB / 0.6355 GB Notification: Performance of Backend: time 1.4e-07/0.4778, allocations: 96 / 0.7416 GB, free: 8.359 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000866/0.4787, allocations: 0.7205 MB / 0.7423 GB, free: 7.867 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0009447/0.4796, allocations: 1.246 MB / 0.7435 GB, free: 6.938 MB / 0.6355 GB Notification: Performance of Templates: time 0.008211/0.4879, allocations: 5.752 MB / 0.7491 GB, free: 6.293 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.sim & ./IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.191699716029689] Failed to read output from testmodel.py, exit status != 0: 0.4928373110014945 0.5012732200000001 0.032447641 Calling exit ...