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.0009234/0.0009234, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00135/0.002273, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0009544/0.0009544, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001285/0.00224, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9491/0.9491, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09103/1.04, allocations: 53.68 MB / 243.4 MB, free: 15.5 MB / 250.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-545:108: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-545:116: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.7779/0.7779, allocations: 154.6 MB / 398.8 MB, free: 376 kB / 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2645/1.042, allocations: 49.04 MB / 447.8 MB, free: 6.598 MB / 426.7 MB " [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: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 449.1 MB, free: 5.309 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.344e-05/2.542e-05, allocations: 4 kB / 449.1 MB, free: 5.305 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.Resistance): time 0.004298/0.004324, allocations: 2.629 MB / 451.8 MB, free: 2.719 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00181/0.006133, allocations: 1.026 MB / 452.8 MB, free: 1.703 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.006275, allocations: 8.703 kB / 452.8 MB, free: 1.695 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004834/0.006759, allocations: 110.6 kB / 452.9 MB, free: 1.59 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004147/0.007174, allocations: 161.4 kB / 453.1 MB, free: 1.438 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003693/0.007543, allocations: 113.5 kB / 453.2 MB, free: 1.328 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.000565/0.008108, allocations: 346.6 kB / 453.5 MB, free: 0.9883 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003773/0.008485, allocations: 182 kB / 453.7 MB, free: 0.8086 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003377/0.008823, allocations: 192.4 kB / 453.9 MB, free: 0.6211 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000487/0.00931, allocations: 139.6 kB / 454 MB, free: 496 kB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.697e-05/0.009357, allocations: 21.28 kB / 454 MB, free: 476 kB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000332/0.009689, allocations: 95.78 kB / 454.1 MB, free: 380 kB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.009792, allocations: 71.78 kB / 454.2 MB, free: 308 kB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 9.011e-05/0.009883, allocations: 68.56 kB / 454.3 MB, free: 240 kB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003956/0.01028, allocations: 211.3 kB / 454.5 MB, free: 28 kB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.57e-05/0.01029, allocations: 1.062 kB / 454.5 MB, free: 28 kB / 426.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.0103, allocations: 0 / 454.5 MB, free: 28 kB / 426.7 MB Notification: Performance of Transformations before backend: time 1.93e-05/0.01031, allocations: 0 / 454.5 MB, free: 28 kB / 426.7 MB 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.0008265/0.01114, allocations: 471.4 kB / 454.9 MB, free: 15.54 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.01118, allocations: 8.031 kB / 454.9 MB, free: 15.54 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006507/0.01183, allocations: 182.9 kB / 455.1 MB, free: 15.34 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002823/0.01211, allocations: 178.6 kB / 455.3 MB, free: 15.14 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.01214, allocations: 13.98 kB / 455.3 MB, free: 15.13 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/0.01217, allocations: 25.81 kB / 455.3 MB, free: 15.11 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003271/0.0125, allocations: 272.2 kB / 455.6 MB, free: 14.8 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.01251, allocations: 2.016 kB / 455.6 MB, free: 14.8 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.343e-05/0.01254, allocations: 8.375 kB / 455.6 MB, free: 14.79 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.971e-05/0.01258, allocations: 21.8 kB / 455.6 MB, free: 14.77 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/0.0127, allocations: 60.97 kB / 455.7 MB, free: 14.71 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.01372, allocations: 0.9056 MB / 456.6 MB, free: 13.76 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001606/0.01388, allocations: 54.67 kB / 456.6 MB, free: 13.7 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.863e-05/0.01391, allocations: 21.89 kB / 456.7 MB, free: 13.68 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.165e-06/0.01392, allocations: 4 kB / 456.7 MB, free: 13.68 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.01395, allocations: 34.56 kB / 456.7 MB, free: 13.63 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.803e-06/0.01395, allocations: 0 / 456.7 MB, free: 13.63 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002927/0.01424, allocations: 94.77 kB / 456.8 MB, free: 13.53 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/0.01427, allocations: 51.41 kB / 456.8 MB, free: 13.47 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.01441, allocations: 180.1 kB / 457 MB, free: 13.28 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.01442, allocations: 25.7 kB / 457 MB, free: 13.25 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.033e-05/0.01451, allocations: 177.1 kB / 457.2 MB, free: 13.07 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.786e-05/0.01453, allocations: 19.8 kB / 457.2 MB, free: 13.05 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.363e-05/0.01458, allocations: 33.69 kB / 457.3 MB, free: 13.01 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.587e-05/0.01468, allocations: 327.5 kB / 457.6 MB, free: 12.68 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.528e-05/0.01471, allocations: 12 kB / 457.6 MB, free: 12.67 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.088e-05/0.01478, allocations: 77.8 kB / 457.7 MB, free: 12.57 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.0149, allocations: 110.4 kB / 457.8 MB, free: 12.43 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.01491, allocations: 4.938 kB / 457.8 MB, free: 12.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002109/0.01512, allocations: 131.9 kB / 457.9 MB, free: 12.29 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.01513, allocations: 4.906 kB / 457.9 MB, free: 12.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.01514, allocations: 4 kB / 457.9 MB, free: 12.28 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001873/0.01533, allocations: 35.08 kB / 458 MB, free: 12.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.939e-05/0.01542, allocations: 31.98 kB / 458 MB, free: 12.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008035/0.01623, allocations: 1.193 MB / 459.2 MB, free: 10.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.949e-05/0.01633, allocations: 29.52 kB / 459.2 MB, free: 10.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.01634, allocations: 4 kB / 459.2 MB, free: 10.89 MB / 442.7 MB 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.937e-05/0.01643, allocations: 128.5 kB / 459.3 MB, free: 10.76 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.265e-05/0.01646, allocations: 9.688 kB / 459.4 MB, free: 10.75 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.252e-05/0.01648, allocations: 19.23 kB / 459.4 MB, free: 10.73 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.01648, allocations: 4 kB / 459.4 MB, free: 10.73 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.01649, allocations: 0 / 459.4 MB, free: 10.73 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.01649, allocations: 3.938 kB / 459.4 MB, free: 10.73 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003055/0.0168, allocations: 251.6 kB / 459.6 MB, free: 10.45 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.0168, allocations: 0.875 kB / 459.6 MB, free: 10.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.541e-05/0.01684, allocations: 11.98 kB / 459.6 MB, free: 10.44 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.99e-05/0.01687, allocations: 17.31 kB / 459.7 MB, free: 10.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001131/0.01698, allocations: 33.42 kB / 459.7 MB, free: 10.39 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.01699, allocations: 0.5938 kB / 459.7 MB, free: 10.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000676/0.01766, allocations: 1.187 MB / 460.9 MB, free: 9.109 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.01766, allocations: 0 / 460.9 MB, free: 9.109 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/0.01781, allocations: 176.2 kB / 461.1 MB, free: 8.918 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.01782, allocations: 0 / 461.1 MB, free: 8.918 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.289e-05/0.01791, allocations: 9.859 kB / 461.1 MB, free: 8.91 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.605e-05/0.01793, allocations: 8 kB / 461.1 MB, free: 8.902 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.01794, allocations: 0 / 461.1 MB, free: 8.902 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.93e-05/0.018, allocations: 54.42 kB / 461.1 MB, free: 8.848 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.018, allocations: 2.031 kB / 461.1 MB, free: 8.848 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003108/0.01831, allocations: 55.83 kB / 461.2 MB, free: 8.793 MB / 442.7 MB 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.0001098/0.01842, allocations: 84.41 kB / 461.3 MB, free: 8.699 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002566/0.01867, allocations: 179.2 kB / 461.4 MB, free: 8.512 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/0.01868, allocations: 0 / 461.4 MB, free: 8.512 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.01878, allocations: 148.7 kB / 461.6 MB, free: 8.352 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.01915, allocations: 269.1 kB / 461.8 MB, free: 8.043 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002461/0.02161, allocations: 369 kB / 462.2 MB, free: 7.66 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.984e-05/0.02168, allocations: 88.53 kB / 462.3 MB, free: 7.555 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 6.619e-05/0.02175, allocations: 13.14 kB / 462.3 MB, free: 7.547 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.991e-05/0.02185, allocations: 76.05 kB / 462.4 MB, free: 7.473 MB / 442.7 MB Notification: Performance of SimCode: time 6.71e-07/0.02185, allocations: 0 / 462.4 MB, free: 7.473 MB / 442.7 MB Notification: Performance of Templates: time 0.004882/0.02673, allocations: 1.772 MB / 464.1 MB, free: 5.836 MB / 442.7 MB " [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=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.506833610124886]