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.001296/0.001296, allocations: 78.41 kB / 19.18 MB, free: 2.531 MB / 14.72 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.001395/0.001395, allocations: 169.5 kB / 22.46 MB, free: 5.363 MB / 14.72 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 1.421/1.421, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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 1.182/1.182, allocations: 154.6 MB / 413.8 MB, free: 5.219 MB / 382.1 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 178] 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: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.6186 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.835e-05/3.039e-05, allocations: 4.812 kB / 0.6186 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.Resistance): time 0.005172/0.005202, allocations: 3.032 MB / 0.6215 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002426/0.007628, allocations: 1.313 MB / 0.6228 GB, free: 224 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001732/0.007801, allocations: 7.938 kB / 0.6228 GB, free: 216 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001158/0.008959, allocations: 330.7 kB / 0.6231 GB, free: 15.89 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004369/0.009396, allocations: 147 kB / 0.6233 GB, free: 15.74 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004233/0.00982, allocations: 150.4 kB / 0.6234 GB, free: 15.6 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004739/0.01029, allocations: 310.9 kB / 0.6237 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004314/0.01072, allocations: 176.7 kB / 0.6239 GB, free: 15.12 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002971/0.01102, allocations: 179.5 kB / 0.624 GB, free: 14.94 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000353/0.01137, allocations: 123.7 kB / 0.6242 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.912e-05/0.01142, allocations: 20 kB / 0.6242 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003269/0.01175, allocations: 155.5 kB / 0.6243 GB, free: 14.65 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.01186, allocations: 83.73 kB / 0.6244 GB, free: 14.57 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00014/0.012, allocations: 83.77 kB / 0.6245 GB, free: 14.48 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005737/0.01258, allocations: 346.9 kB / 0.6248 GB, free: 14.14 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.01258, allocations: 0 / 0.6248 GB, free: 14.14 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.283e-06/0.01258, allocations: 0 / 0.6248 GB, free: 14.14 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.01259, allocations: 4 kB / 0.6248 GB, free: 14.14 MB / 0.545 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.0009931/0.01359, allocations: 453.5 kB / 0.6253 GB, free: 13.66 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.01363, allocations: 8.031 kB / 0.6253 GB, free: 13.66 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006634/0.01429, allocations: 80.72 kB / 0.6253 GB, free: 13.58 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003504/0.01464, allocations: 181.5 kB / 0.6255 GB, free: 13.38 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/0.01467, allocations: 24.67 kB / 0.6255 GB, free: 13.35 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.743e-05/0.0147, allocations: 20.31 kB / 0.6256 GB, free: 13.33 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005429/0.01525, allocations: 373.4 kB / 0.6259 GB, free: 12.93 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.01526, allocations: 192 / 0.6259 GB, free: 12.93 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.313e-05/0.01529, allocations: 12.36 kB / 0.6259 GB, free: 12.92 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.184e-05/0.01533, allocations: 24.25 kB / 0.6259 GB, free: 12.89 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003439/0.01568, allocations: 193 kB / 0.6261 GB, free: 12.71 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001445/0.01712, allocations: 0.9889 MB / 0.6271 GB, free: 11.66 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002455/0.01737, allocations: 90.61 kB / 0.6272 GB, free: 11.56 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.129e-05/0.01743, allocations: 28.84 kB / 0.6272 GB, free: 11.53 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.956e-06/0.01744, allocations: 0 / 0.6272 GB, free: 11.53 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.01747, allocations: 42.5 kB / 0.6273 GB, free: 11.48 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 9.71e-07/0.01747, allocations: 0 / 0.6273 GB, free: 11.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0004936/0.01797, allocations: 150.5 kB / 0.6274 GB, free: 11.32 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.01801, allocations: 55.41 kB / 0.6274 GB, free: 11.26 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001966/0.01821, allocations: 186.9 kB / 0.6276 GB, free: 11.07 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.01823, allocations: 29.7 kB / 0.6277 GB, free: 11.03 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.01834, allocations: 168 kB / 0.6278 GB, free: 10.86 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.767e-05/0.01837, allocations: 27.78 kB / 0.6278 GB, free: 10.84 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.127e-05/0.01843, allocations: 33.67 kB / 0.6279 GB, free: 10.8 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.01857, allocations: 322.8 kB / 0.6282 GB, free: 10.47 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.097e-05/0.01864, allocations: 39.97 kB / 0.6282 GB, free: 10.43 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.01875, allocations: 96.52 kB / 0.6283 GB, free: 10.31 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001939/0.01894, allocations: 156.4 kB / 0.6285 GB, free: 10.12 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01895, allocations: 0 / 0.6285 GB, free: 10.12 MB / 0.545 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003285/0.01927, allocations: 190.1 kB / 0.6286 GB, free: 9.93 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.01929, allocations: 8 kB / 0.6286 GB, free: 9.922 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.0193, allocations: 4 kB / 0.6287 GB, free: 9.918 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001788/0.01948, allocations: 24.84 kB / 0.6287 GB, free: 9.891 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.0196, allocations: 27.92 kB / 0.6287 GB, free: 9.863 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001171/0.02077, allocations: 1.288 MB / 0.63 GB, free: 8.473 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.02089, allocations: 19.92 kB / 0.63 GB, free: 8.453 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.0209, allocations: 7.938 kB / 0.63 GB, free: 8.445 MB / 0.545 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.0001513/0.02105, allocations: 156.6 kB / 0.6301 GB, free: 8.285 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.108e-05/0.02109, allocations: 15.91 kB / 0.6302 GB, free: 8.27 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.031e-05/0.02112, allocations: 17.5 kB / 0.6302 GB, free: 8.254 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.02113, allocations: 3.938 kB / 0.6302 GB, free: 8.25 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.02113, allocations: 4.125 kB / 0.6302 GB, free: 8.246 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.02113, allocations: 3.984 kB / 0.6302 GB, free: 8.242 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004806/0.02161, allocations: 370.9 kB / 0.6305 GB, free: 7.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.02162, allocations: 0 / 0.6305 GB, free: 7.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.787e-05/0.02167, allocations: 12.05 kB / 0.6305 GB, free: 7.828 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.959e-05/0.02175, allocations: 24.84 kB / 0.6306 GB, free: 7.801 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.824e-06/0.02176, allocations: 0 / 0.6306 GB, free: 7.801 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001017/0.02278, allocations: 1.28 MB / 0.6318 GB, free: 6.414 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.02278, allocations: 0 / 0.6318 GB, free: 6.414 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002332/0.02301, allocations: 208.2 kB / 0.632 GB, free: 6.191 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.905e-05/0.02306, allocations: 23.89 kB / 0.632 GB, free: 6.168 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.02308, allocations: 0 / 0.632 GB, free: 6.168 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.02319, allocations: 7.938 kB / 0.632 GB, free: 6.16 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.25e-05/0.02321, allocations: 7.984 kB / 0.6321 GB, free: 6.152 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.02322, allocations: 4 kB / 0.6321 GB, free: 6.148 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001229/0.02334, allocations: 139.3 kB / 0.6322 GB, free: 6.012 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.02334, allocations: 0 / 0.6322 GB, free: 6.012 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003335/0.02367, allocations: 51.89 kB / 0.6322 GB, free: 5.961 MB / 0.545 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 0.0001136/0.02379, allocations: 95.25 kB / 0.6323 GB, free: 5.855 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003839/0.02417, allocations: 211 kB / 0.6325 GB, free: 5.637 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.02417, allocations: 0 / 0.6325 GB, free: 5.637 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000163/0.02434, allocations: 146.7 kB / 0.6327 GB, free: 5.48 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.02469, allocations: 34.64 kB / 0.6327 GB, free: 5.453 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006248/0.02531, allocations: 350.2 kB / 0.633 GB, free: 5.086 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001369/0.02545, allocations: 131.9 kB / 0.6332 GB, free: 4.941 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000101/0.02555, allocations: 29.45 kB / 0.6332 GB, free: 4.91 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.353e-05/0.02558, allocations: 16.5 kB / 0.6332 GB, free: 4.895 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.02558, allocations: 0 / 0.6332 GB, free: 4.895 MB / 0.545 GB Notification: Performance of Templates: time 0.004979/0.03056, allocations: 1.648 MB / 0.6348 GB, free: 3.309 MB / 0.545 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 -lv LOG_STATS > IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.637533884495497] Failed to read output from testmodel.py, exit status != 0: 0.039409179240465164 0.053825317000000004 0.038191874 Calling exit ...