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.001051/0.001051, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.001674/0.001674, allocations: 177 kB / 23.36 MB, free: 1.125 MB / 18.57 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.011/1.011, allocations: 177.2 MB / 203.8 MB, free: 5.441 MB / 186.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.7783/0.7783, allocations: 154.6 MB / 414.8 MB, free: 0.5312 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. " [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.492e-06/1.492e-06, allocations: 0 / 480 MB, free: 6.973 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.391e-05/2.54e-05, allocations: 2.312 kB / 480 MB, free: 6.969 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.RCModel): time 0.004835/0.004861, allocations: 3.278 MB / 483.3 MB, free: 3.734 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002315/0.007176, allocations: 1.276 MB / 484.5 MB, free: 2.461 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001861/0.007362, allocations: 14.97 kB / 484.5 MB, free: 2.449 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005479/0.00791, allocations: 127.2 kB / 484.7 MB, free: 2.324 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004787/0.008388, allocations: 243.2 kB / 484.9 MB, free: 2.086 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004332/0.008821, allocations: 210.2 kB / 485.1 MB, free: 1.883 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006913/0.009513, allocations: 0.6344 MB / 485.7 MB, free: 1.246 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004644/0.009977, allocations: 348.9 kB / 486.1 MB, free: 0.9102 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004052/0.01038, allocations: 351.2 kB / 486.4 MB, free: 0.5664 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000432/0.01081, allocations: 232.6 kB / 486.7 MB, free: 348 kB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 6.074e-05/0.01088, allocations: 36 kB / 486.7 MB, free: 312 kB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002254/0.0111, allocations: 108.5 kB / 486.8 MB, free: 204 kB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000163/0.01126, allocations: 167.5 kB / 487 MB, free: 36 kB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001809/0.01144, allocations: 156.8 kB / 487.1 MB, free: 15.88 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005041/0.01195, allocations: 398.7 kB / 487.5 MB, free: 15.49 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.01195, allocations: 0 / 487.5 MB, free: 15.49 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.01195, allocations: 4.75 kB / 487.5 MB, free: 15.49 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.01196, allocations: 0 / 487.5 MB, free: 15.49 MB / 458.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.0009518/0.01291, allocations: 0.6153 MB / 488.1 MB, free: 14.85 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.01296, allocations: 9.344 kB / 488.1 MB, free: 14.84 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009361/0.01389, allocations: 202.4 kB / 488.3 MB, free: 14.64 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003849/0.01428, allocations: 249.7 kB / 488.6 MB, free: 14.38 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.732e-05/0.01431, allocations: 30.06 kB / 488.6 MB, free: 14.35 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.886e-05/0.01437, allocations: 36.36 kB / 488.6 MB, free: 14.32 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005431/0.01492, allocations: 498.7 kB / 489.1 MB, free: 13.76 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.01493, allocations: 192 / 489.1 MB, free: 13.76 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.825e-05/0.01497, allocations: 16.95 kB / 489.1 MB, free: 13.74 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.829e-05/0.01503, allocations: 40.52 kB / 489.2 MB, free: 13.7 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000221/0.01525, allocations: 118.6 kB / 489.3 MB, free: 13.59 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001725/0.01697, allocations: 1.428 MB / 490.7 MB, free: 12.11 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003543/0.01733, allocations: 166.7 kB / 490.9 MB, free: 11.95 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.204e-05/0.0174, allocations: 42.06 kB / 490.9 MB, free: 11.9 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.01741, allocations: 4 kB / 490.9 MB, free: 11.9 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.01744, allocations: 34.56 kB / 491 MB, free: 11.86 MB / 458.7 MB Notification: Performance of pre-optimization done (n=20): time 2.825e-06/0.01744, allocations: 1.156 kB / 491 MB, free: 11.86 MB / 458.7 MB Notification: Performance of matching and sorting (n=20): time 0.0007277/0.01817, allocations: 269.5 kB / 491.2 MB, free: 11.59 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.01821, allocations: 68.22 kB / 491.3 MB, free: 11.51 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002105/0.01842, allocations: 248.9 kB / 491.5 MB, free: 11.26 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.01844, allocations: 31.11 kB / 491.6 MB, free: 11.22 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.01856, allocations: 228.7 kB / 491.8 MB, free: 11 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.333e-05/0.01861, allocations: 67.42 kB / 491.9 MB, free: 10.93 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.866e-05/0.0187, allocations: 57.64 kB / 491.9 MB, free: 10.87 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.01881, allocations: 339.4 kB / 492.2 MB, free: 10.53 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.103e-05/0.01888, allocations: 27.98 kB / 492.3 MB, free: 10.5 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.01899, allocations: 115.4 kB / 492.4 MB, free: 10.35 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002046/0.0192, allocations: 172.9 kB / 492.6 MB, free: 10.15 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.0192, allocations: 4 kB / 492.6 MB, free: 10.14 MB / 458.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000377/0.01958, allocations: 214.1 kB / 492.8 MB, free: 9.93 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.01959, allocations: 8 kB / 492.8 MB, free: 9.922 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.0196, allocations: 4 kB / 492.8 MB, free: 9.918 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003138/0.01992, allocations: 71.39 kB / 492.9 MB, free: 9.848 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002171/0.02013, allocations: 63.91 kB / 492.9 MB, free: 9.785 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001612/0.02175, allocations: 2.419 MB / 495.3 MB, free: 7.18 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001688/0.02191, allocations: 27.78 kB / 495.4 MB, free: 7.152 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.02193, allocations: 8 kB / 495.4 MB, free: 7.145 MB / 458.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.0001229/0.02206, allocations: 129.9 kB / 495.5 MB, free: 7.008 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.472e-05/0.02211, allocations: 25.16 kB / 495.5 MB, free: 6.984 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.877e-05/0.02216, allocations: 34.11 kB / 495.6 MB, free: 6.949 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.02216, allocations: 7.938 kB / 495.6 MB, free: 6.941 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.02217, allocations: 8.625 kB / 495.6 MB, free: 6.934 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.02218, allocations: 0 / 495.6 MB, free: 6.934 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002726/0.02245, allocations: 171.2 kB / 495.7 MB, free: 6.75 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.676e-06/0.02245, allocations: 1.031 kB / 495.7 MB, free: 6.75 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.0226, allocations: 43.91 kB / 495.8 MB, free: 6.707 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002537/0.02286, allocations: 71.45 kB / 495.8 MB, free: 6.637 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.02287, allocations: 4 kB / 495.9 MB, free: 6.633 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001478/0.02435, allocations: 2.413 MB / 498.3 MB, free: 4.035 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.02435, allocations: 0 / 498.3 MB, free: 4.035 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003692/0.02472, allocations: 286.3 kB / 498.5 MB, free: 3.734 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.125e-05/0.0248, allocations: 39.73 kB / 498.6 MB, free: 3.695 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.83e-05/0.02483, allocations: 0 / 498.6 MB, free: 3.695 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.02497, allocations: 16.94 kB / 498.6 MB, free: 3.68 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.775e-05/0.02501, allocations: 12.62 kB / 498.6 MB, free: 3.668 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.02503, allocations: 8 kB / 498.6 MB, free: 3.66 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001021/0.02513, allocations: 87.84 kB / 498.7 MB, free: 3.574 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02513, allocations: 0 / 498.7 MB, free: 3.574 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004447/0.02557, allocations: 107.8 kB / 498.8 MB, free: 3.469 MB / 458.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.0001277/0.0257, allocations: 90.27 kB / 498.9 MB, free: 3.371 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004498/0.02615, allocations: 366.1 kB / 499.3 MB, free: 2.988 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.999e-06/0.02616, allocations: 4 kB / 499.3 MB, free: 2.984 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002455/0.02641, allocations: 293.2 kB / 499.5 MB, free: 2.672 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.02678, allocations: 64.52 kB / 499.6 MB, free: 2.613 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.02803, allocations: 0.6432 MB / 0.4885 GB, free: 1.965 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000107/0.02814, allocations: 131.6 kB / 0.4887 GB, free: 1.82 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000132/0.02827, allocations: 26.56 kB / 0.4887 GB, free: 1.801 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00019/0.02846, allocations: 111.3 kB / 0.4888 GB, free: 1.691 MB / 458.7 MB Notification: Performance of SimCode: time 7.92e-07/0.02846, allocations: 1.75 kB / 0.4888 GB, free: 1.691 MB / 458.7 MB Notification: Performance of Templates: time 0.006444/0.0349, allocations: 4.064 MB / 0.4928 GB, free: 13.9 MB / 474.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.6772123742848635]