Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.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.0008243/0.0008243, allocations: 76.45 kB / 19.9 MB, free: 24 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.0008438/0.0008438, allocations: 173.9 kB / 23.19 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.9321/0.9321, allocations: 177.2 MB / 203.6 MB, free: 5.758 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.7132/0.7132, allocations: 154.7 MB / 414.7 MB, free: 0.7539 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.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor") translateModel(IDEAS.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor") [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.0008797/0.0008797, allocations: 75.89 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.4877/0.4886, allocations: 101.9 MB / 0.7191 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Loads.Examples.Resistor): time 0.003767/0.4924, allocations: 3.741 MB / 0.7227 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002032/0.4944, allocations: 1.7 MB / 0.7244 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001735/0.4946, allocations: 10.62 kB / 0.7244 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0008225/0.4954, allocations: 0.4903 MB / 0.7249 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.000405/0.4958, allocations: 225.4 kB / 0.7251 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004099/0.4962, allocations: 212.2 kB / 0.7253 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0004656/0.4967, allocations: 475.8 kB / 0.7258 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004635/0.4972, allocations: 290.3 kB / 0.726 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002629/0.4974, allocations: 287.4 kB / 0.7263 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003503/0.4978, allocations: 203.5 kB / 0.7265 GB, free: 19.08 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.116e-05/0.4978, allocations: 31.44 kB / 0.7265 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003674/0.4982, allocations: 230.3 kB / 0.7267 GB, free: 19 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001299/0.4983, allocations: 132.1 kB / 0.7269 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.4984, allocations: 142.5 kB / 0.727 GB, free: 18.87 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000533/0.499, allocations: 0.5037 MB / 0.7275 GB, free: 18.69 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.499, allocations: 0.5625 kB / 0.7275 GB, free: 18.69 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.165e-06/0.499, allocations: 1.188 kB / 0.7275 GB, free: 18.69 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.797e-06/0.499, allocations: 4 kB / 0.7275 GB, free: 18.69 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0007384/0.4997, allocations: 0.5654 MB / 0.7281 GB, free: 18.25 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.4998, allocations: 10.3 kB / 0.7281 GB, free: 18.25 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005778/0.5003, allocations: 140.8 kB / 0.7282 GB, free: 18.22 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002777/0.5006, allocations: 230.7 kB / 0.7284 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.5006, allocations: 25.33 kB / 0.7284 GB, free: 18.03 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.161e-05/0.5007, allocations: 26.53 kB / 0.7285 GB, free: 18.02 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000523/0.5012, allocations: 0.5787 MB / 0.729 GB, free: 17.62 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.5012, allocations: 1.156 kB / 0.729 GB, free: 17.62 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.766e-05/0.5012, allocations: 12.62 kB / 0.7291 GB, free: 17.62 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.376e-05/0.5013, allocations: 34.45 kB / 0.7291 GB, free: 17.61 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003775/0.5017, allocations: 321.1 kB / 0.7294 GB, free: 17.5 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.5029, allocations: 1.524 MB / 0.7309 GB, free: 16.29 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002887/0.5032, allocations: 167.6 kB / 0.731 GB, free: 16.21 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001732/0.5034, allocations: 98.95 kB / 0.7311 GB, free: 16.18 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.5034, allocations: 2.688 kB / 0.7311 GB, free: 16.18 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/0.5034, allocations: 33.3 kB / 0.7312 GB, free: 16.14 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 2.375e-06/0.5034, allocations: 0 / 0.7312 GB, free: 16.14 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.0004472/0.5039, allocations: 220.6 kB / 0.7314 GB, free: 16.04 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.845e-05/0.5039, allocations: 52.5 kB / 0.7314 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001845/0.5041, allocations: 234.7 kB / 0.7317 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.5041, allocations: 25.7 kB / 0.7317 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.102e-05/0.5042, allocations: 216.3 kB / 0.7319 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/0.5042, allocations: 49.25 kB / 0.7319 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.349e-05/0.5043, allocations: 50.94 kB / 0.732 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.817e-05/0.5043, allocations: 334.8 kB / 0.7323 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.524e-05/0.5044, allocations: 54.06 kB / 0.7323 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.5045, allocations: 147.1 kB / 0.7325 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002052/0.5047, allocations: 226.2 kB / 0.7327 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.5047, allocations: 0 / 0.7327 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003543/0.5051, allocations: 266.2 kB / 0.733 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.5051, allocations: 6.25 kB / 0.733 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.5051, allocations: 6.688 kB / 0.733 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002003/0.5053, allocations: 24.16 kB / 0.733 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.5054, allocations: 54.78 kB / 0.733 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006728/0.5061, allocations: 1.294 MB / 0.7343 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.5062, allocations: 23.53 kB / 0.7343 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.5062, allocations: 12.5 kB / 0.7343 GB, free: 13.46 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * 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 0.0001281/0.5064, allocations: 168.1 kB / 0.7345 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.146e-05/0.5064, allocations: 22.88 kB / 0.7345 GB, free: 13.31 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.616e-05/0.5064, allocations: 24.2 kB / 0.7346 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.5064, allocations: 2.562 kB / 0.7346 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.5064, allocations: 3.938 kB / 0.7346 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.5064, allocations: 2.547 kB / 0.7346 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005711/0.507, allocations: 0.556 MB / 0.7351 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.507, allocations: 10.47 kB / 0.7351 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.12e-05/0.5071, allocations: 20.7 kB / 0.7351 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.158e-05/0.5071, allocations: 25.16 kB / 0.7352 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.5071, allocations: 11.11 kB / 0.7352 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004796/0.5076, allocations: 1.287 MB / 0.7364 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.5076, allocations: 5.812 kB / 0.7364 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002262/0.5079, allocations: 316.5 kB / 0.7367 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.834e-05/0.5079, allocations: 28.25 kB / 0.7368 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.5079, allocations: 8.109 kB / 0.7368 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.059e-05/0.508, allocations: 8.266 kB / 0.7368 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.157e-05/0.508, allocations: 18.64 kB / 0.7368 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.508, allocations: 9.438 kB / 0.7368 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.56e-05/0.5081, allocations: 162 kB / 0.737 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.5081, allocations: 5.125 kB / 0.737 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003098/0.5084, allocations: 84.73 kB / 0.737 GB, free: 11.19 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * Single equations (assignments): 13 * 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 9.021e-05/0.5085, allocations: 99.22 kB / 0.7371 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000381/0.5089, allocations: 274.9 kB / 0.7374 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.5089, allocations: 1.375 kB / 0.7374 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.509, allocations: 182.5 kB / 0.7376 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/0.5094, allocations: 53.98 kB / 0.7376 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007818/0.5102, allocations: 0.548 MB / 0.7382 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001701/0.5103, allocations: 182.1 kB / 0.7383 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001099/0.5104, allocations: 37.27 kB / 0.7384 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.605e-05/0.5105, allocations: 20.11 kB / 0.7384 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of SimCode: time 1.052e-06/0.5105, allocations: 4 kB / 0.7384 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of Templates: time 0.005009/0.5155, allocations: 2.441 MB / 0.7408 GB, free: 10.04 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.sim & ./IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.239750277949497] Failed to read output from testmodel.py, exit status != 0: 0.5210667790379375 0.532363889 0.031409759 Calling exit ...