Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.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.0008165/0.0008165, allocations: 80.45 kB / 19.9 MB, free: 12 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.001247/0.001247, 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.863/0.863, allocations: 177.2 MB / 203.6 MB, free: 5.762 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.7186/0.7186, allocations: 154.7 MB / 414.7 MB, free: 0.7422 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.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance") translateModel(IDEAS.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance") [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.001351/0.001351, allocations: 67.91 kB / 0.6195 GB, free: 13.17 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.4749/0.4763, allocations: 102 MB / 0.7191 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.Resistance): time 0.003326/0.4796, allocations: 3.027 MB / 0.722 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001634/0.4812, allocations: 1.321 MB / 0.7233 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001449/0.4814, allocations: 4.844 kB / 0.7233 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006718/0.482, allocations: 333 kB / 0.7236 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0002973/0.4823, allocations: 153.5 kB / 0.7238 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002977/0.4826, allocations: 138.6 kB / 0.7239 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0003245/0.483, allocations: 309.2 kB / 0.7242 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003332/0.4833, allocations: 174.8 kB / 0.7244 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001815/0.4835, allocations: 185.8 kB / 0.7246 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002804/0.4838, allocations: 137.7 kB / 0.7247 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.57e-05/0.4838, allocations: 18.12 kB / 0.7247 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002639/0.4841, allocations: 153.3 kB / 0.7249 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.4842, allocations: 82.97 kB / 0.7249 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 9.216e-05/0.4843, allocations: 85.84 kB / 0.725 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0004831/0.4847, allocations: 348.7 kB / 0.7254 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4847, allocations: 0 / 0.7254 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4847, allocations: 0 / 0.7254 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.4848, allocations: 1.188 kB / 0.7254 GB, free: 19.9 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007173/0.4855, allocations: 453.8 kB / 0.7258 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/0.4855, allocations: 9.906 kB / 0.7258 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003888/0.4859, allocations: 79.53 kB / 0.7259 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.4861, allocations: 190.3 kB / 0.7261 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.4862, allocations: 12.56 kB / 0.7261 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.4862, allocations: 19.44 kB / 0.7261 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003672/0.4866, allocations: 382.7 kB / 0.7264 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.4866, allocations: 0.6094 kB / 0.7264 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.4866, allocations: 14.98 kB / 0.7265 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.273e-05/0.4866, allocations: 19.48 kB / 0.7265 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002361/0.4869, allocations: 197.9 kB / 0.7267 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008438/0.4877, allocations: 0.9893 MB / 0.7276 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001987/0.4879, allocations: 97.14 kB / 0.7277 GB, free: 18.13 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.685e-05/0.4879, allocations: 30 kB / 0.7278 GB, free: 18.11 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.226e-05/0.488, allocations: 1.312 kB / 0.7278 GB, free: 18.11 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.488, allocations: 31.78 kB / 0.7278 GB, free: 18.07 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.184e-06/0.488, allocations: 1.094 kB / 0.7278 GB, free: 18.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.000393/0.4884, allocations: 151.9 kB / 0.7279 GB, free: 17.99 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.487e-05/0.4884, allocations: 53.52 kB / 0.728 GB, free: 17.93 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001761/0.4886, allocations: 188.8 kB / 0.7282 GB, free: 17.8 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.4886, allocations: 27.11 kB / 0.7282 GB, free: 17.77 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.97e-05/0.4887, allocations: 175.8 kB / 0.7284 GB, free: 17.61 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.786e-05/0.4887, allocations: 25.97 kB / 0.7284 GB, free: 17.59 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.113e-05/0.4887, allocations: 39.08 kB / 0.7284 GB, free: 17.56 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.873e-05/0.4888, allocations: 326.6 kB / 0.7287 GB, free: 17.24 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.264e-05/0.4888, allocations: 36.52 kB / 0.7288 GB, free: 17.23 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.636e-05/0.4889, allocations: 103.8 kB / 0.7289 GB, free: 17.13 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.489, allocations: 142.3 kB / 0.729 GB, free: 17.02 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.489, allocations: 1.125 kB / 0.729 GB, free: 17.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002366/0.4893, allocations: 191 kB / 0.7292 GB, free: 16.91 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.4893, allocations: 6.844 kB / 0.7292 GB, free: 16.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.4893, allocations: 2.094 kB / 0.7292 GB, free: 16.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001582/0.4895, allocations: 21.64 kB / 0.7292 GB, free: 16.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.985e-05/0.4895, allocations: 33.7 kB / 0.7292 GB, free: 16.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006151/0.4902, allocations: 1.3 MB / 0.7305 GB, free: 15.63 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.077e-05/0.4902, allocations: 17.27 kB / 0.7305 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.4902, allocations: 6.766 kB / 0.7305 GB, free: 15.62 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.919e-05/0.4903, allocations: 152.4 kB / 0.7307 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.286e-05/0.4903, allocations: 19.5 kB / 0.7307 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.668e-05/0.4904, allocations: 14.69 kB / 0.7307 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.4904, allocations: 1.25 kB / 0.7307 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.4904, allocations: 0 / 0.7307 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.4904, allocations: 1.906 kB / 0.7307 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003372/0.4907, allocations: 378 kB / 0.7311 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.4907, allocations: 1.797 kB / 0.7311 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.495e-05/0.4907, allocations: 10.97 kB / 0.7311 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.024e-05/0.4908, allocations: 20.03 kB / 0.7311 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.4908, allocations: 4 kB / 0.7311 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004525/0.4913, allocations: 1.285 MB / 0.7324 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4913, allocations: 0.7031 kB / 0.7324 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001453/0.4914, allocations: 215 kB / 0.7326 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.331e-05/0.4914, allocations: 25.11 kB / 0.7326 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.041e-05/0.4914, allocations: 1.641 kB / 0.7326 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.048e-05/0.4915, allocations: 8.156 kB / 0.7326 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.285e-05/0.4915, allocations: 4.266 kB / 0.7326 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.4915, allocations: 1.969 kB / 0.7326 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.039e-05/0.4916, allocations: 135.2 kB / 0.7327 GB, free: 13.6 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.4916, allocations: 4.094 kB / 0.7327 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000228/0.4918, allocations: 52.45 kB / 0.7328 GB, free: 13.58 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.756e-05/0.4919, allocations: 98.47 kB / 0.7329 GB, free: 13.49 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002724/0.4922, allocations: 203.2 kB / 0.7331 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4922, allocations: 0 / 0.7331 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.032e-05/0.4923, allocations: 143.6 kB / 0.7332 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.4925, allocations: 34.98 kB / 0.7333 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004877/0.493, allocations: 366.6 kB / 0.7336 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001171/0.4931, allocations: 140.2 kB / 0.7337 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.421e-05/0.4932, allocations: 23.5 kB / 0.7338 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.964e-05/0.4932, allocations: 22.8 kB / 0.7338 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of SimCode: time 4.51e-07/0.4932, allocations: 0 / 0.7338 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of Templates: time 0.004124/0.4974, allocations: 1.653 MB / 0.7354 GB, free: 12.68 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.sim & ./IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.19608706200961] Failed to read output from testmodel.py, exit status != 0: 0.5049855950055644 0.515137163 0.02830906999999994 Calling exit ...