Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.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.0007547/0.0007547, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001047/0.001802, 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.0007332/0.0007332, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00102/0.001753, 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.9923/0.9923, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08721/1.08, allocations: 53.65 MB / 243.2 MB, free: 15.59 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.8221/0.8221, allocations: 154.6 MB / 398.5 MB, free: 0.5195 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.2866/1.109, allocations: 49.04 MB / 447.6 MB, free: 6.711 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.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel") translateModel(IDEAS.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 448.9 MB, free: 5.441 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.517e-05/1.668e-05, allocations: 2.312 kB / 448.9 MB, free: 5.438 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.RCModel): time 0.00464/0.004657, allocations: 3.38 MB / 452.2 MB, free: 2.109 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002135/0.006792, allocations: 1.306 MB / 453.5 MB, free: 0.8086 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001897/0.006982, allocations: 11.94 kB / 453.6 MB, free: 0.7969 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004922/0.007474, allocations: 155.7 kB / 453.7 MB, free: 0.6445 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004702/0.007944, allocations: 281.9 kB / 454 MB, free: 380 kB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004236/0.008368, allocations: 196.4 kB / 454.2 MB, free: 184 kB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007401/0.009108, allocations: 0.6861 MB / 454.9 MB, free: 15.49 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004386/0.009546, allocations: 333.8 kB / 455.2 MB, free: 15.16 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003688/0.009915, allocations: 395.1 kB / 455.6 MB, free: 14.78 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000379/0.01029, allocations: 267.9 kB / 455.8 MB, free: 14.52 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 5.919e-05/0.01035, allocations: 36.66 kB / 455.9 MB, free: 14.48 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002439/0.0106, allocations: 107.8 kB / 456 MB, free: 14.38 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001472/0.01074, allocations: 140.4 kB / 456.1 MB, free: 14.24 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000165/0.01091, allocations: 127.8 kB / 456.2 MB, free: 14.11 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005017/0.01141, allocations: 371.6 kB / 456.6 MB, free: 13.75 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.666e-05/0.01143, allocations: 0 / 456.6 MB, free: 13.75 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.01143, allocations: 0.625 kB / 456.6 MB, free: 13.75 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.172e-05/0.01145, allocations: 4 kB / 456.6 MB, free: 13.75 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001114/0.01256, allocations: 0.699 MB / 457.3 MB, free: 13.03 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.01261, allocations: 17.08 kB / 457.3 MB, free: 13.01 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009444/0.01355, allocations: 270.8 kB / 457.6 MB, free: 12.73 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003992/0.01395, allocations: 262.8 kB / 457.8 MB, free: 12.45 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.01398, allocations: 22.59 kB / 457.9 MB, free: 12.43 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.086e-05/0.01405, allocations: 49.27 kB / 457.9 MB, free: 12.39 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005482/0.0146, allocations: 489.8 kB / 458.4 MB, free: 11.84 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.01461, allocations: 4.844 kB / 458.4 MB, free: 11.83 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.792e-05/0.01465, allocations: 16.36 kB / 458.4 MB, free: 11.82 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-05/0.01471, allocations: 41.81 kB / 458.5 MB, free: 11.78 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002364/0.01494, allocations: 105.3 kB / 458.6 MB, free: 11.68 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001636/0.01658, allocations: 1.432 MB / 460 MB, free: 10.2 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003364/0.01691, allocations: 164.2 kB / 460.1 MB, free: 10.03 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.181e-05/0.01699, allocations: 45.41 kB / 460.2 MB, free: 9.98 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.017, allocations: 4.625 kB / 460.2 MB, free: 9.977 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.01703, allocations: 34.56 kB / 460.2 MB, free: 9.934 MB / 442.7 MB Notification: Performance of pre-optimization done (n=20): time 1.864e-06/0.01703, allocations: 0.5625 kB / 460.2 MB, free: 9.934 MB / 442.7 MB Notification: Performance of matching and sorting (n=20): time 0.0006961/0.01773, allocations: 265.5 kB / 460.5 MB, free: 9.668 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.01776, allocations: 59.34 kB / 460.5 MB, free: 9.598 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002215/0.01798, allocations: 249.9 kB / 460.8 MB, free: 9.348 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/0.01801, allocations: 33.7 kB / 460.8 MB, free: 9.309 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.01814, allocations: 227.9 kB / 461 MB, free: 9.082 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.957e-05/0.0182, allocations: 65.77 kB / 461.1 MB, free: 9.02 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.174e-05/0.01829, allocations: 61.64 kB / 461.2 MB, free: 8.953 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.01842, allocations: 342.8 kB / 461.5 MB, free: 8.609 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.393e-05/0.01849, allocations: 28.88 kB / 461.5 MB, free: 8.582 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.01861, allocations: 123.2 kB / 461.7 MB, free: 8.426 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002063/0.01882, allocations: 164.3 kB / 461.8 MB, free: 8.23 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.01883, allocations: 8.688 kB / 461.8 MB, free: 8.223 MB / 442.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000383/0.01921, allocations: 216 kB / 462 MB, free: 8.004 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.01923, allocations: 8 kB / 462 MB, free: 7.996 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.01924, allocations: 9.234 kB / 462.1 MB, free: 7.988 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003128/0.01955, allocations: 64.47 kB / 462.1 MB, free: 7.922 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002728/0.01982, allocations: 81.92 kB / 462.2 MB, free: 7.844 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001673/0.02149, allocations: 2.422 MB / 464.6 MB, free: 5.238 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001568/0.02165, allocations: 27.78 kB / 464.6 MB, free: 5.211 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.02167, allocations: 16.83 kB / 464.7 MB, free: 5.195 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001152/0.02179, allocations: 129.6 kB / 464.8 MB, free: 5.059 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.977e-05/0.02184, allocations: 16.95 kB / 464.8 MB, free: 5.043 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.504e-05/0.02189, allocations: 38.11 kB / 464.8 MB, free: 5.008 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.02189, allocations: 3.938 kB / 464.8 MB, free: 5.004 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.0219, allocations: 4.875 kB / 464.9 MB, free: 5 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.0219, allocations: 3.984 kB / 464.9 MB, free: 4.996 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002647/0.02217, allocations: 175.4 kB / 465 MB, free: 4.809 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.02217, allocations: 0 / 465 MB, free: 4.809 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001866/0.02236, allocations: 49.06 kB / 465.1 MB, free: 4.762 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.544e-05/0.02243, allocations: 33.45 kB / 465.1 MB, free: 4.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002364/0.02267, allocations: 72.53 kB / 465.2 MB, free: 4.656 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.02269, allocations: 4 kB / 465.2 MB, free: 4.652 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001507/0.02419, allocations: 2.406 MB / 467.6 MB, free: 2.059 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.02419, allocations: 0 / 467.6 MB, free: 2.059 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003499/0.02454, allocations: 281.8 kB / 467.9 MB, free: 1.762 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.984e-05/0.02457, allocations: 5.188 kB / 467.9 MB, free: 1.758 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.02472, allocations: 19.92 kB / 467.9 MB, free: 1.738 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.844e-05/0.02475, allocations: 18.78 kB / 467.9 MB, free: 1.723 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.02477, allocations: 8 kB / 467.9 MB, free: 1.715 MB / 442.7 MB Notification: Performance of sorting global known variables: time 9.703e-05/0.02487, allocations: 87.73 kB / 468 MB, free: 1.629 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02487, allocations: 0 / 468 MB, free: 1.629 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003829/0.02525, allocations: 107.8 kB / 468.1 MB, free: 1.523 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001046/0.02535, allocations: 82.66 kB / 468.2 MB, free: 1.434 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004374/0.02579, allocations: 358.4 kB / 468.5 MB, free: 1.059 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.492e-05/0.02581, allocations: 8 kB / 468.5 MB, free: 1.051 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002345/0.02604, allocations: 292 kB / 468.8 MB, free: 0.7383 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003806/0.02642, allocations: 99.88 kB / 468.9 MB, free: 0.6445 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004105/0.03053, allocations: 0.6271 MB / 469.6 MB, free: 15.98 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001036/0.03063, allocations: 125.2 kB / 469.7 MB, free: 15.84 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001392/0.03077, allocations: 27.42 kB / 469.7 MB, free: 15.83 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001915/0.03096, allocations: 119.3 kB / 469.8 MB, free: 15.71 MB / 458.7 MB Notification: Performance of SimCode: time 7.82e-07/0.03096, allocations: 0 / 469.8 MB, free: 15.71 MB / 458.7 MB Notification: Performance of Templates: time 0.008274/0.03924, allocations: 4.226 MB / 474 MB, free: 11.77 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.sim & ./IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6328501868993044]