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.0007289/0.0007289, allocations: 76.45 kB / 19.9 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.0007746/0.0007746, 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.8911/0.8911, 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.7253/0.7253, allocations: 154.7 MB / 414.7 MB, free: 0.7656 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.0009428/0.0009428, allocations: 70.61 kB / 0.6195 GB, free: 13.18 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.4651/0.466, allocations: 101.9 MB / 0.7191 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.Resistance): time 0.003434/0.4695, allocations: 3.043 MB / 0.722 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.00169/0.4712, allocations: 1.301 MB / 0.7233 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001417/0.4713, allocations: 8.281 kB / 0.7233 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0008423/0.4721, allocations: 333.9 kB / 0.7236 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0003081/0.4725, allocations: 152.1 kB / 0.7238 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002343/0.4727, allocations: 144.1 kB / 0.7239 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.000303/0.473, allocations: 312.4 kB / 0.7242 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000366/0.4734, allocations: 180 kB / 0.7244 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.4735, allocations: 177 kB / 0.7246 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002555/0.4738, allocations: 137.6 kB / 0.7247 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.839e-05/0.4738, allocations: 18.94 kB / 0.7247 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002082/0.474, allocations: 153.9 kB / 0.7249 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 9.166e-05/0.4741, allocations: 81.38 kB / 0.7249 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 9.674e-05/0.4742, allocations: 93.95 kB / 0.725 GB, free: 20 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003648/0.4746, allocations: 340.5 kB / 0.7254 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.4746, allocations: 5.188 kB / 0.7254 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4746, allocations: 0 / 0.7254 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.084e-06/0.4746, 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.0005626/0.4751, allocations: 450.3 kB / 0.7258 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.4752, allocations: 9.156 kB / 0.7258 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003962/0.4756, allocations: 84.5 kB / 0.7259 GB, free: 19.49 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.4758, allocations: 196.8 kB / 0.7261 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.4758, allocations: 11.22 kB / 0.7261 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.4758, allocations: 16.53 kB / 0.7261 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003376/0.4762, allocations: 383.2 kB / 0.7265 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.4762, allocations: 3.938 kB / 0.7265 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.4762, allocations: 10.91 kB / 0.7265 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.864e-05/0.4762, allocations: 20.14 kB / 0.7265 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002287/0.4765, allocations: 197.3 kB / 0.7267 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007616/0.4772, allocations: 0.9824 MB / 0.7276 GB, free: 18.17 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.4774, allocations: 96.03 kB / 0.7277 GB, free: 18.12 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.862e-05/0.4774, allocations: 33.72 kB / 0.7278 GB, free: 18.1 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.4775, allocations: 5.562 kB / 0.7278 GB, free: 18.09 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.238e-05/0.4775, allocations: 36.94 kB / 0.7278 GB, free: 18.05 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.4775, allocations: 0 / 0.7278 GB, free: 18.05 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003116/0.4778, allocations: 140.8 kB / 0.7279 GB, free: 17.98 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.554e-05/0.4778, allocations: 53.56 kB / 0.728 GB, free: 17.92 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.4779, allocations: 184.3 kB / 0.7282 GB, free: 17.79 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.782e-06/0.4779, allocations: 27.08 kB / 0.7282 GB, free: 17.76 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.331e-05/0.478, allocations: 182.7 kB / 0.7284 GB, free: 17.6 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.437e-05/0.478, allocations: 30.3 kB / 0.7284 GB, free: 17.57 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.644e-05/0.478, allocations: 40.92 kB / 0.7284 GB, free: 17.54 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.218e-05/0.4781, allocations: 325.7 kB / 0.7287 GB, free: 17.22 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.197e-05/0.4781, allocations: 36.05 kB / 0.7288 GB, free: 17.21 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.131e-05/0.4782, allocations: 94.98 kB / 0.7289 GB, free: 17.12 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.4783, allocations: 146.3 kB / 0.729 GB, free: 17 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.4783, allocations: 1.469 kB / 0.729 GB, free: 17 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001957/0.4785, allocations: 181.6 kB / 0.7292 GB, free: 16.91 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.4785, allocations: 6.125 kB / 0.7292 GB, free: 16.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.4785, allocations: 6.922 kB / 0.7292 GB, free: 16.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000119/0.4786, allocations: 34.95 kB / 0.7292 GB, free: 16.88 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.114e-05/0.4787, allocations: 28.16 kB / 0.7293 GB, free: 16.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005244/0.4792, allocations: 1.293 MB / 0.7305 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.582e-05/0.4793, allocations: 17.39 kB / 0.7305 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-06/0.4793, allocations: 13.5 kB / 0.7305 GB, free: 15.6 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 7.801e-05/0.4794, allocations: 149.4 kB / 0.7307 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.034e-05/0.4794, allocations: 18.09 kB / 0.7307 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.31e-05/0.4794, allocations: 15.08 kB / 0.7307 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.4794, allocations: 1.469 kB / 0.7307 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.4794, allocations: 0.7031 kB / 0.7307 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.4794, allocations: 1.406 kB / 0.7307 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002801/0.4797, allocations: 370.4 kB / 0.7311 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4797, allocations: 0 / 0.7311 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.165e-05/0.4797, allocations: 12.22 kB / 0.7311 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.425e-05/0.4798, allocations: 22.98 kB / 0.7311 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.4798, allocations: 1.25 kB / 0.7311 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004226/0.4802, allocations: 1.289 MB / 0.7324 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.4802, allocations: 0 / 0.7324 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.4803, allocations: 220.7 kB / 0.7326 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.865e-05/0.4803, allocations: 23.38 kB / 0.7326 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.167e-06/0.4804, allocations: 5.828 kB / 0.7326 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.062e-05/0.4804, allocations: 3.953 kB / 0.7326 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.31e-05/0.4804, allocations: 5.188 kB / 0.7326 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.4804, allocations: 2.719 kB / 0.7326 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.246e-05/0.4805, allocations: 134.5 kB / 0.7327 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4805, allocations: 0 / 0.7327 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002055/0.4807, allocations: 52.83 kB / 0.7328 GB, free: 13.57 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 6.712e-05/0.4808, allocations: 97.95 kB / 0.7329 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002554/0.481, allocations: 202.3 kB / 0.7331 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.481, allocations: 0 / 0.7331 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.906e-05/0.4811, allocations: 148.1 kB / 0.7332 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002312/0.4814, allocations: 30.42 kB / 0.7333 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004481/0.4818, allocations: 372.7 kB / 0.7336 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/0.4819, allocations: 139.6 kB / 0.7337 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.839e-05/0.482, allocations: 23.08 kB / 0.7338 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.643e-05/0.482, allocations: 16.81 kB / 0.7338 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of SimCode: time 5.71e-07/0.482, allocations: 0 / 0.7338 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of Templates: time 0.003454/0.4854, allocations: 1.659 MB / 0.7354 GB, free: 12.65 MB / 0.6355 GB " [Timeout remaining time 660] 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 cvode -lv LOG_STATS > IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.235699852113612] Failed to read output from testmodel.py, exit status != 0: 0.4909945810213685 0.499249856 0.022859996 Calling exit ...