Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001088/0.001088, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001351/0.002439, 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.0007424/0.0007424, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001013/0.001756, 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 1.019/1.019, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07927/1.098, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34: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-master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo): time 0.811/0.811, allocations: 155.3 MB / 399.5 MB, free: 15.81 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/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-master/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.2836/1.095, allocations: 49.14 MB / 448.6 MB, free: 5.926 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-master/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_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel") translateModel(IDEAS.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 449.9 MB, free: 4.641 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.854e-05/1.98e-05, allocations: 3.188 kB / 449.9 MB, free: 4.637 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.RCModel): time 0.003606/0.003625, allocations: 3.398 MB / 453.3 MB, free: 1.285 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001789/0.005414, allocations: 1.295 MB / 454.6 MB, free: 0 / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001689/0.005583, allocations: 11.98 kB / 454.6 MB, free: 15.98 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003789/0.005962, allocations: 153 kB / 454.8 MB, free: 15.84 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003325/0.006294, allocations: 283.4 kB / 455.1 MB, free: 15.56 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002932/0.006587, allocations: 201.4 kB / 455.3 MB, free: 15.37 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.000503/0.00709, allocations: 0.6889 MB / 456 MB, free: 14.68 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003182/0.007409, allocations: 336.1 kB / 456.3 MB, free: 14.35 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003004/0.007709, allocations: 391.1 kB / 456.7 MB, free: 13.96 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003427/0.008052, allocations: 272.8 kB / 456.9 MB, free: 13.7 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.171e-05/0.008093, allocations: 36 kB / 457 MB, free: 13.66 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001675/0.008261, allocations: 109.3 kB / 457.1 MB, free: 13.56 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.358e-05/0.008354, allocations: 135.6 kB / 457.2 MB, free: 13.43 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 9.579e-05/0.00845, allocations: 127.8 kB / 457.3 MB, free: 13.3 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003303/0.00878, allocations: 370.8 kB / 457.7 MB, free: 12.94 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.508e-06/0.00879, allocations: 0.6875 kB / 457.7 MB, free: 12.94 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.008791, allocations: 0 / 457.7 MB, free: 12.94 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.008798, allocations: 5 kB / 457.7 MB, free: 12.93 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.0007766/0.009575, allocations: 0.7071 MB / 458.4 MB, free: 12.21 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.009608, allocations: 8.031 kB / 458.4 MB, free: 12.2 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006476/0.01026, allocations: 271.1 kB / 458.7 MB, free: 11.92 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.01053, allocations: 267 kB / 458.9 MB, free: 11.64 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.01054, allocations: 25.36 kB / 459 MB, free: 11.61 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.532e-05/0.01059, allocations: 41 kB / 459 MB, free: 11.57 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003608/0.01095, allocations: 493.8 kB / 459.5 MB, free: 11.02 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.01096, allocations: 4.75 kB / 459.5 MB, free: 11.02 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.017e-05/0.01099, allocations: 17 kB / 459.5 MB, free: 11 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-05/0.01103, allocations: 32.58 kB / 459.5 MB, free: 10.97 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001404/0.01117, allocations: 116.3 kB / 459.6 MB, free: 10.86 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/0.01229, allocations: 1.431 MB / 461.1 MB, free: 9.383 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002448/0.01253, allocations: 153.8 kB / 461.2 MB, free: 9.223 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.823e-05/0.01258, allocations: 39.41 kB / 461.3 MB, free: 9.184 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.01259, allocations: 7.953 kB / 461.3 MB, free: 9.176 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.01262, allocations: 42.48 kB / 461.3 MB, free: 9.125 MB / 442.7 MB Notification: Performance of pre-optimization done (n=20): time 1.152e-06/0.01262, allocations: 0 / 461.3 MB, free: 9.125 MB / 442.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004944/0.01311, allocations: 273.5 kB / 461.6 MB, free: 8.852 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.206e-05/0.01314, allocations: 55.34 kB / 461.6 MB, free: 8.785 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.01328, allocations: 249.6 kB / 461.9 MB, free: 8.531 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.0133, allocations: 33.7 kB / 461.9 MB, free: 8.492 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.602e-05/0.01338, allocations: 228.6 kB / 462.1 MB, free: 8.266 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.571e-05/0.01342, allocations: 69.3 kB / 462.2 MB, free: 8.199 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.855e-05/0.01348, allocations: 61.64 kB / 462.3 MB, free: 8.133 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.022e-05/0.01356, allocations: 338.8 kB / 462.6 MB, free: 7.793 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.74e-05/0.01359, allocations: 28.58 kB / 462.6 MB, free: 7.766 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.391e-05/0.01367, allocations: 118.1 kB / 462.7 MB, free: 7.613 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.01381, allocations: 180.8 kB / 462.9 MB, free: 7.402 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.01381, allocations: 0 / 462.9 MB, free: 7.402 MB / 442.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002382/0.01405, allocations: 225.6 kB / 463.1 MB, free: 7.176 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.01406, allocations: 5.031 kB / 463.1 MB, free: 7.172 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.01406, allocations: 4 kB / 463.1 MB, free: 7.168 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002077/0.01427, allocations: 69.75 kB / 463.2 MB, free: 7.098 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/0.01444, allocations: 81.11 kB / 463.3 MB, free: 7.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001033/0.01547, allocations: 2.421 MB / 465.7 MB, free: 4.414 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.37e-05/0.01557, allocations: 29.66 kB / 465.7 MB, free: 4.387 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.01558, allocations: 8 kB / 465.8 MB, free: 4.379 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 8.183e-05/0.01566, allocations: 133.6 kB / 465.9 MB, free: 4.238 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.035e-05/0.01569, allocations: 19.98 kB / 465.9 MB, free: 4.219 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.369e-05/0.01572, allocations: 38.05 kB / 465.9 MB, free: 4.184 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.01573, allocations: 8.594 kB / 465.9 MB, free: 4.176 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.01573, allocations: 1.594 kB / 465.9 MB, free: 4.176 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.01573, allocations: 6.047 kB / 466 MB, free: 4.172 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/0.0159, allocations: 173.6 kB / 466.1 MB, free: 3.984 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.0159, allocations: 0 / 466.1 MB, free: 3.984 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.01601, allocations: 47.97 kB / 466.2 MB, free: 3.938 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.393e-05/0.01606, allocations: 28.84 kB / 466.2 MB, free: 3.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001476/0.01621, allocations: 64.81 kB / 466.3 MB, free: 3.844 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.01621, allocations: 5.281 kB / 466.3 MB, free: 3.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009563/0.01717, allocations: 2.42 MB / 468.7 MB, free: 1.23 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.01717, allocations: 0 / 468.7 MB, free: 1.23 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002214/0.01739, allocations: 282.9 kB / 469 MB, free: 0.9336 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.01741, allocations: 4 kB / 469 MB, free: 0.9297 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.118e-05/0.01749, allocations: 20.83 kB / 469 MB, free: 0.9102 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.238e-05/0.01751, allocations: 11.97 kB / 469 MB, free: 0.8984 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.325e-06/0.01752, allocations: 8.844 kB / 469 MB, free: 0.8906 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.694e-05/0.01758, allocations: 82.77 kB / 469.1 MB, free: 0.8086 MB / 442.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01758, allocations: 4.844 kB / 469.1 MB, free: 0.8047 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002197/0.0178, allocations: 111.7 kB / 469.2 MB, free: 0.6953 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 7.409e-05/0.01787, allocations: 86.97 kB / 469.3 MB, free: 0.6016 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003655/0.01824, allocations: 365.5 kB / 469.6 MB, free: 224 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/0.01825, allocations: 4 kB / 469.6 MB, free: 220 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001639/0.01841, allocations: 303.4 kB / 469.9 MB, free: 15.89 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/0.01878, allocations: 0.6371 MB / 470.6 MB, free: 15.14 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002553/0.02134, allocations: 0.6259 MB / 471.2 MB, free: 14.48 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.436e-05/0.0214, allocations: 125.5 kB / 471.3 MB, free: 14.34 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 8.586e-05/0.02149, allocations: 34.97 kB / 471.4 MB, free: 14.32 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.02161, allocations: 111.3 kB / 471.5 MB, free: 14.21 MB / 458.7 MB Notification: Performance of SimCode: time 5.41e-07/0.02161, allocations: 4 kB / 471.5 MB, free: 14.21 MB / 458.7 MB Notification: Performance of Templates: time 0.005773/0.02739, allocations: 4.243 MB / 475.7 MB, free: 10.27 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.sim & ./IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.57507389690727]