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.0007671/0.0007671, allocations: 84.44 kB / 19.91 MB, free: 4 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.001033/0.001033, allocations: 169.6 kB / 23.19 MB, free: 1.375 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.9337/0.9337, 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.774/0.774, 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.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.0009398/0.0009398, allocations: 68.08 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.481/0.4819, allocations: 102 MB / 0.7191 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.Resistance): time 0.003751/0.4856, allocations: 3.025 MB / 0.7221 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001936/0.4876, allocations: 1.317 MB / 0.7233 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001457/0.4877, allocations: 8.562 kB / 0.7234 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.000739/0.4885, allocations: 333.2 kB / 0.7237 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0003467/0.4888, allocations: 148.8 kB / 0.7238 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003619/0.4892, allocations: 139 kB / 0.7239 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0003706/0.4895, allocations: 308.4 kB / 0.7242 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004049/0.49, allocations: 184.9 kB / 0.7244 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002243/0.4902, allocations: 180.1 kB / 0.7246 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003107/0.4905, allocations: 134 kB / 0.7247 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.128e-05/0.4905, allocations: 18.47 kB / 0.7247 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000272/0.4908, allocations: 150.5 kB / 0.7249 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 9.472e-05/0.4909, allocations: 86.05 kB / 0.725 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 8.841e-05/0.491, allocations: 94.44 kB / 0.725 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0004818/0.4915, allocations: 356.7 kB / 0.7254 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.4915, allocations: 7.938 kB / 0.7254 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4915, allocations: 0 / 0.7254 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.116e-06/0.4915, allocations: 0 / 0.7254 GB, free: 19.88 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.0007488/0.4922, allocations: 453.9 kB / 0.7258 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.4923, allocations: 9.812 kB / 0.7258 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003905/0.4927, allocations: 75.7 kB / 0.7259 GB, free: 19.49 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.4929, allocations: 189.7 kB / 0.7261 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.4929, allocations: 16.64 kB / 0.7261 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.557e-05/0.4929, allocations: 20.59 kB / 0.7261 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000385/0.4933, allocations: 382 kB / 0.7265 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.4933, allocations: 1.188 kB / 0.7265 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.05e-05/0.4934, allocations: 10.16 kB / 0.7265 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.77e-05/0.4934, allocations: 25.5 kB / 0.7265 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002459/0.4936, allocations: 196.6 kB / 0.7267 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009371/0.4946, allocations: 0.9857 MB / 0.7277 GB, free: 18.16 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002551/0.4948, allocations: 95.97 kB / 0.7278 GB, free: 18.11 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.619e-05/0.4949, allocations: 30 kB / 0.7278 GB, free: 18.09 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.125e-05/0.4949, allocations: 1.75 kB / 0.7278 GB, free: 18.09 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.4949, allocations: 31.75 kB / 0.7278 GB, free: 18.05 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.915e-06/0.4949, allocations: 5.25 kB / 0.7278 GB, free: 18.05 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0004568/0.4954, allocations: 152.4 kB / 0.728 GB, free: 17.97 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.825e-05/0.4954, allocations: 52.62 kB / 0.728 GB, free: 17.91 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.4956, allocations: 184.5 kB / 0.7282 GB, free: 17.78 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.4956, allocations: 31.81 kB / 0.7282 GB, free: 17.74 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.155e-05/0.4957, allocations: 175.4 kB / 0.7284 GB, free: 17.59 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.4957, allocations: 22.27 kB / 0.7284 GB, free: 17.57 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.477e-05/0.4957, allocations: 39.75 kB / 0.7285 GB, free: 17.54 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.287e-05/0.4958, allocations: 326 kB / 0.7288 GB, free: 17.22 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.959e-05/0.4958, allocations: 39.34 kB / 0.7288 GB, free: 17.21 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.532e-05/0.4959, allocations: 103.2 kB / 0.7289 GB, free: 17.11 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.4961, allocations: 142.8 kB / 0.729 GB, free: 16.99 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.4961, allocations: 4 kB / 0.729 GB, free: 16.99 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002863/0.4964, allocations: 182.7 kB / 0.7292 GB, free: 16.89 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.4964, allocations: 6.172 kB / 0.7292 GB, free: 16.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.4964, allocations: 3.125 kB / 0.7292 GB, free: 16.89 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001896/0.4966, allocations: 26.77 kB / 0.7293 GB, free: 16.88 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.071e-05/0.4967, allocations: 32.28 kB / 0.7293 GB, free: 16.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000784/0.4975, allocations: 1.296 MB / 0.7306 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.613e-05/0.4976, allocations: 21.39 kB / 0.7306 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.4976, allocations: 6.266 kB / 0.7306 GB, free: 15.59 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 0.0001151/0.4977, allocations: 148.3 kB / 0.7307 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.577e-05/0.4977, allocations: 22.41 kB / 0.7307 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.32e-05/0.4977, allocations: 19.45 kB / 0.7308 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.4977, allocations: 4.594 kB / 0.7308 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.4977, allocations: 0.5156 kB / 0.7308 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.152e-05/0.4978, allocations: 17.08 kB / 0.7308 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.4978, allocations: 5.672 kB / 0.7308 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.991e-05/0.4979, allocations: 3.734 kB / 0.7308 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.648e-05/0.4979, allocations: 5.453 kB / 0.7308 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001608/0.498, allocations: 186.3 kB / 0.731 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001431/0.4982, allocations: 295.3 kB / 0.7313 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.939e-05/0.4982, allocations: 24.77 kB / 0.7313 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.395e-05/0.4983, allocations: 135.5 kB / 0.7314 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of Backend: time 5.01e-07/0.4983, allocations: 0 / 0.7314 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007414/0.499, allocations: 362.3 kB / 0.7318 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of SimCode: time 0.000739/0.4998, allocations: 0.8306 MB / 0.7326 GB, free: 14 MB / 0.6355 GB Notification: Performance of Templates: time 0.005973/0.5058, allocations: 2.51 MB / 0.735 GB, free: 13.7 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 -lv LOG_STATS > IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.2871461301110685] Failed to read output from testmodel.py, exit status != 0: 0.5120327160693705 0.52226346 0.028668125000000003 Calling exit ...