Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel") translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.338/1.338, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001299/0.001299, allocations: 168 kB / 327.6 MB, free: 2.074 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.479/1.479, allocations: 205.4 MB / 0.5786 GB, free: 20.41 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007153/0.0007156, allocations: 92.03 kB / 0.6832 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003305/0.0003307, allocations: 8.594 kB / 0.7976 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1766, allocations: 106.3 MB / 0.9014 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.004055/0.1807, allocations: 3.984 MB / 0.9053 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002546/0.1833, allocations: 1.851 MB / 0.9071 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003133/0.1836, allocations: 11.94 kB / 0.9072 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002737/0.1839, allocations: 71.42 kB / 0.9072 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0007064/0.1846, allocations: 242.9 kB / 0.9075 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005999/0.1853, allocations: 231.5 kB / 0.9077 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0006612/0.1859, allocations: 0.8413 MB / 0.9085 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004332/0.1864, allocations: 431.4 kB / 0.9089 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000267/0.1866, allocations: 199.2 kB / 0.9091 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004492/0.1871, allocations: 259 kB / 0.9093 GB, free: 55.63 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.846e-05/0.1872, allocations: 20 kB / 0.9094 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004578/0.1876, allocations: 303.4 kB / 0.9097 GB, free: 55.31 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.1878, allocations: 139.5 kB / 0.9098 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001809/0.188, allocations: 224.6 kB / 0.91 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004487/0.1884, allocations: 467.1 kB / 0.9104 GB, free: 54.49 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1884, allocations: 0 / 0.9104 GB, free: 54.49 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1884, allocations: 0 / 0.9104 GB, free: 54.49 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.292e-05/0.1885, allocations: 0 / 0.9104 GB, free: 54.49 MB / 0.6042 GB 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.0009825/0.1894, allocations: 0.6551 MB / 0.9111 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.1895, allocations: 8.031 kB / 0.9111 GB, free: 53.78 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009409/0.1904, allocations: 156.3 kB / 0.9112 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003671/0.1908, allocations: 330.4 kB / 0.9116 GB, free: 53.26 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.1908, allocations: 29.38 kB / 0.9116 GB, free: 53.23 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.659e-05/0.1909, allocations: 28.38 kB / 0.9116 GB, free: 53.21 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006408/0.1916, allocations: 0.5356 MB / 0.9121 GB, free: 52.63 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.1916, allocations: 0 / 0.9121 GB, free: 52.63 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.78e-05/0.1916, allocations: 16 kB / 0.9122 GB, free: 52.62 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.05e-05/0.1917, allocations: 28.64 kB / 0.9122 GB, free: 52.59 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000495/0.1922, allocations: 390.2 kB / 0.9126 GB, free: 52.21 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002261/0.1944, allocations: 2.415 MB / 0.9149 GB, free: 49.57 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005305/0.195, allocations: 276.1 kB / 0.9152 GB, free: 49.29 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/0.1952, allocations: 112.8 kB / 0.9153 GB, free: 49.18 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.1952, allocations: 4 kB / 0.9153 GB, free: 49.18 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.539e-05/0.1952, allocations: 30.56 kB / 0.9153 GB, free: 49.14 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=20): time 1.703e-06/0.1952, allocations: 4 kB / 0.9153 GB, free: 49.13 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23): time 0.002205/0.1974, allocations: 1.127 MB / 0.9164 GB, free: 47.91 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/0.1975, allocations: 55.41 kB / 0.9165 GB, free: 47.84 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002853/0.1978, allocations: 316.3 kB / 0.9168 GB, free: 47.53 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.1978, allocations: 29.7 kB / 0.9168 GB, free: 47.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.1979, allocations: 231.6 kB / 0.917 GB, free: 47.27 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.863e-05/0.198, allocations: 78.84 kB / 0.9171 GB, free: 47.19 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.876e-05/0.198, allocations: 8 kB / 0.9171 GB, free: 47.18 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.913e-05/0.1981, allocations: 334.8 kB / 0.9174 GB, free: 46.84 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.1982, allocations: 104.6 kB / 0.9175 GB, free: 46.74 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001969/0.1984, allocations: 188.4 kB / 0.9177 GB, free: 46.52 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003772/0.1988, allocations: 314.3 kB / 0.918 GB, free: 46.18 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1988, allocations: 4 kB / 0.918 GB, free: 46.17 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007505/0.1996, allocations: 446 kB / 0.9184 GB, free: 45.72 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.1996, allocations: 8 kB / 0.9184 GB, free: 45.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.1996, allocations: 0 / 0.9184 GB, free: 45.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003794/0.2, allocations: 90.5 kB / 0.9185 GB, free: 45.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003405/0.2004, allocations: 71.97 kB / 0.9186 GB, free: 45.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002117/0.2025, allocations: 4.075 MB / 0.9226 GB, free: 41.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002105/0.2027, allocations: 8 kB / 0.9226 GB, free: 41.06 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/0.2028, allocations: 16 kB / 0.9226 GB, free: 41.04 MB / 0.6042 GB 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 (34): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001519/0.2029, allocations: 190.4 kB / 0.9228 GB, free: 40.85 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.061e-05/0.203, allocations: 31.62 kB / 0.9228 GB, free: 40.82 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.714e-05/0.203, allocations: 42.31 kB / 0.9229 GB, free: 40.77 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.2031, allocations: 4 kB / 0.9229 GB, free: 40.77 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.2031, allocations: 144 / 0.9229 GB, free: 40.77 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.2031, allocations: 7.969 kB / 0.9229 GB, free: 40.76 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003408/0.2034, allocations: 397.3 kB / 0.9232 GB, free: 40.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.2034, allocations: 4 kB / 0.9232 GB, free: 40.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001806/0.2036, allocations: 35.98 kB / 0.9233 GB, free: 40.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002657/0.2039, allocations: 90.44 kB / 0.9234 GB, free: 40.19 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.2039, allocations: 4 kB / 0.9234 GB, free: 40.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001935/0.2059, allocations: 4.068 MB / 0.9273 GB, free: 35.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2059, allocations: 0 / 0.9273 GB, free: 35.72 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006584/0.2065, allocations: 0.5592 MB / 0.9279 GB, free: 35.14 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.725e-05/0.2067, allocations: 124.8 kB / 0.928 GB, free: 35 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.484e-05/0.2067, allocations: 11.94 kB / 0.928 GB, free: 34.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/0.2069, allocations: 11.98 kB / 0.928 GB, free: 34.97 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.2069, allocations: 19.98 kB / 0.9281 GB, free: 34.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.207, allocations: 15.98 kB / 0.9281 GB, free: 34.94 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001548/0.2071, allocations: 203.1 kB / 0.9283 GB, free: 34.74 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2071, allocations: 4 kB / 0.9283 GB, free: 34.74 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000409/0.2076, allocations: 92 kB / 0.9284 GB, free: 34.65 MB / 0.6042 GB 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 (18): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,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.0001044/0.2077, allocations: 103.2 kB / 0.9284 GB, free: 34.54 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006779/0.2084, allocations: 0.617 MB / 0.9291 GB, free: 33.88 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.2084, allocations: 0 / 0.9291 GB, free: 33.88 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003725/0.2087, allocations: 476.6 kB / 0.9295 GB, free: 33.38 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004951/0.2093, allocations: 73.7 kB / 0.9296 GB, free: 33.31 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.2103, allocations: 0.9434 MB / 0.9305 GB, free: 32.34 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.2106, allocations: 0.8348 MB / 0.9313 GB, free: 31.47 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.432e-05/0.2107, allocations: 27.44 kB / 0.9313 GB, free: 31.45 MB / 0.6042 GB Notification: Performance of SimCode: time 3.1e-07/0.2107, allocations: 0 / 0.9313 GB, free: 31.45 MB / 0.6042 GB Notification: Performance of Templates: time 0.008047/0.2187, allocations: 8.604 MB / 0.9397 GB, free: 22.85 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)