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.0006708/0.0006708, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008805/0.001551, allocations: 435.8 kB / 10.33 MB, free: 368 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.0006964/0.0006964, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008837/0.00158, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9657/0.9657, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08866/1.054, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.8199/0.8199, allocations: 154.6 MB / 398.5 MB, free: 0.5273 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2769/1.097, allocations: 49.05 MB / 447.6 MB, free: 6.688 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.162e-06/1.162e-06, allocations: 0 / 448.9 MB, free: 5.434 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.042e-05/1.158e-05, allocations: 3.859 kB / 448.9 MB, free: 5.43 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.Resistance): time 0.002936/0.002948, allocations: 2.623 MB / 451.5 MB, free: 2.848 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001311/0.004258, allocations: 1.017 MB / 452.5 MB, free: 1.844 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.194e-05/0.00435, allocations: 7.938 kB / 452.5 MB, free: 1.836 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002913/0.004642, allocations: 119.5 kB / 452.6 MB, free: 1.723 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002118/0.004853, allocations: 162.1 kB / 452.8 MB, free: 1.566 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001706/0.005024, allocations: 111.6 kB / 452.9 MB, free: 1.457 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002769/0.005301, allocations: 352.7 kB / 453.2 MB, free: 1.113 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000216/0.005517, allocations: 178 kB / 453.4 MB, free: 0.9414 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/0.005674, allocations: 195.6 kB / 453.6 MB, free: 0.75 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002286/0.005903, allocations: 147.5 kB / 453.7 MB, free: 0.6055 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.295e-05/0.005926, allocations: 16 kB / 453.8 MB, free: 0.5898 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.006062, allocations: 92.69 kB / 453.8 MB, free: 0.5 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 6.005e-05/0.006122, allocations: 71.78 kB / 453.9 MB, free: 440 kB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 6.104e-05/0.006183, allocations: 69.03 kB / 454 MB, free: 372 kB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002357/0.006419, allocations: 211.3 kB / 454.2 MB, free: 160 kB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.308e-05/0.006432, allocations: 0 / 454.2 MB, free: 160 kB / 426.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.006433, allocations: 0.7188 kB / 454.2 MB, free: 160 kB / 426.7 MB Notification: Performance of Transformations before backend: time 1.326e-05/0.006446, allocations: 0 / 454.2 MB, free: 160 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.0005013/0.006948, allocations: 468.2 kB / 454.6 MB, free: 15.68 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.458e-05/0.006972, allocations: 8.031 kB / 454.7 MB, free: 15.67 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000353/0.007325, allocations: 190.5 kB / 454.8 MB, free: 15.46 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.007494, allocations: 171 kB / 455 MB, free: 15.27 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.007506, allocations: 16.75 kB / 455 MB, free: 15.26 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.873e-05/0.007535, allocations: 18.42 kB / 455 MB, free: 15.24 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002391/0.007774, allocations: 280.5 kB / 455.3 MB, free: 14.93 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.007783, allocations: 0.8125 kB / 455.3 MB, free: 14.93 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.007798, allocations: 13.34 kB / 455.3 MB, free: 14.91 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.281e-05/0.007821, allocations: 16 kB / 455.3 MB, free: 14.9 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.783e-05/0.007898, allocations: 64.66 kB / 455.4 MB, free: 14.84 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006545/0.008553, allocations: 0.9036 MB / 456.3 MB, free: 13.89 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.008662, allocations: 59.08 kB / 456.4 MB, free: 13.82 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.829e-05/0.00868, allocations: 8.859 kB / 456.4 MB, free: 13.81 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.711e-06/0.008686, allocations: 4 kB / 456.4 MB, free: 13.8 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.008707, allocations: 42.48 kB / 456.4 MB, free: 13.75 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.703e-06/0.008709, allocations: 1.781 kB / 456.4 MB, free: 13.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.000191/0.0089, allocations: 91.48 kB / 456.5 MB, free: 13.66 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/0.008925, allocations: 55.41 kB / 456.6 MB, free: 13.59 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.985e-05/0.009015, allocations: 176.3 kB / 456.7 MB, free: 13.41 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.009025, allocations: 29.7 kB / 456.8 MB, free: 13.37 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.982e-05/0.009085, allocations: 167.9 kB / 456.9 MB, free: 13.2 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.663e-05/0.009102, allocations: 28.69 kB / 457 MB, free: 13.18 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.082e-05/0.009143, allocations: 29.7 kB / 457 MB, free: 13.14 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.337e-05/0.009216, allocations: 327.7 kB / 457.3 MB, free: 12.81 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.626e-05/0.009232, allocations: 15.98 kB / 457.3 MB, free: 12.8 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.324e-05/0.009276, allocations: 72.52 kB / 457.4 MB, free: 12.7 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.118e-05/0.009357, allocations: 114.6 kB / 457.5 MB, free: 12.55 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.009358, allocations: 0.625 kB / 457.5 MB, free: 12.55 MB / 442.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001209/0.009479, allocations: 132 kB / 457.6 MB, free: 12.42 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.009489, allocations: 5.781 kB / 457.6 MB, free: 12.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.009496, allocations: 4.078 kB / 457.7 MB, free: 12.41 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001126/0.009608, allocations: 29.58 kB / 457.7 MB, free: 12.38 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.14e-05/0.00967, allocations: 32.97 kB / 457.7 MB, free: 12.35 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007856/0.01046, allocations: 1.203 MB / 458.9 MB, free: 11.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.514e-05/0.01051, allocations: 15.88 kB / 458.9 MB, free: 11.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.942e-06/0.01052, allocations: 4 kB / 458.9 MB, free: 11.03 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 5.992e-05/0.01058, allocations: 132.5 kB / 459.1 MB, free: 10.89 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.819e-05/0.01059, allocations: 13.48 kB / 459.1 MB, free: 10.88 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.349e-05/0.01061, allocations: 14.22 kB / 459.1 MB, free: 10.87 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.81e-07/0.01061, allocations: 0 / 459.1 MB, free: 10.87 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.01061, allocations: 0 / 459.1 MB, free: 10.87 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.01061, allocations: 9.844 kB / 459.1 MB, free: 10.86 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/0.01081, allocations: 259.5 kB / 459.4 MB, free: 10.58 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01081, allocations: 0 / 459.4 MB, free: 10.58 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.906e-05/0.01083, allocations: 8 kB / 459.4 MB, free: 10.57 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.897e-05/0.01085, allocations: 15.84 kB / 459.4 MB, free: 10.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.532e-05/0.01092, allocations: 32.75 kB / 459.4 MB, free: 10.52 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.677e-06/0.01093, allocations: 0 / 459.4 MB, free: 10.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004442/0.01137, allocations: 1.191 MB / 460.6 MB, free: 9.238 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01137, allocations: 4 kB / 460.6 MB, free: 9.234 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.204e-05/0.01146, allocations: 179.1 kB / 460.8 MB, free: 9.039 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.716e-06/0.01147, allocations: 0.875 kB / 460.8 MB, free: 9.039 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.909e-05/0.01152, allocations: 8 kB / 460.8 MB, free: 9.031 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.094e-05/0.01153, allocations: 5.172 kB / 460.8 MB, free: 9.027 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.01154, allocations: 4 kB / 460.8 MB, free: 9.023 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.387e-05/0.01157, allocations: 53.84 kB / 460.8 MB, free: 8.969 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01157, allocations: 0.75 kB / 460.8 MB, free: 8.969 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001649/0.01173, allocations: 51.89 kB / 460.9 MB, free: 8.918 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 5.515e-05/0.01179, allocations: 78.39 kB / 461 MB, free: 8.832 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001586/0.01195, allocations: 185.2 kB / 461.2 MB, free: 8.637 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.01195, allocations: 4 kB / 461.2 MB, free: 8.633 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 7.703e-05/0.01203, allocations: 132.5 kB / 461.3 MB, free: 8.488 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000163/0.01219, allocations: 40.5 kB / 461.3 MB, free: 8.449 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001501/0.0137, allocations: 371.8 kB / 461.7 MB, free: 8.062 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.96e-05/0.01374, allocations: 83.97 kB / 461.8 MB, free: 7.961 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 4.672e-05/0.01379, allocations: 19.55 kB / 461.8 MB, free: 7.949 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.085e-05/0.01386, allocations: 79.34 kB / 461.9 MB, free: 7.871 MB / 442.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01386, allocations: 0 / 461.9 MB, free: 7.871 MB / 442.7 MB Notification: Performance of Templates: time 0.003122/0.01698, allocations: 1.86 MB / 463.7 MB, free: 6.156 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.479476078413427]