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.386/1.386, allocations: 251.5 MB / 267.4 MB, free: 10.85 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.0009695/0.0009695, allocations: 176.1 kB / 326.5 MB, free: 2.648 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.533/1.533, allocations: 205 MB / 0.5766 GB, free: 20.91 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.0007208/0.0007209, allocations: 97.39 kB / 0.6804 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002936/0.0002937, allocations: 8.031 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1782, allocations: 105.4 MB / 0.8967 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.003763/0.182, allocations: 4.04 MB / 0.9007 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002159/0.1842, allocations: 1.886 MB / 0.9025 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001648/0.1843, allocations: 11.94 kB / 0.9025 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001201/0.1856, allocations: 0.5412 MB / 0.9031 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000437/0.186, allocations: 246.8 kB / 0.9033 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005279/0.1865, allocations: 222.8 kB / 0.9035 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0006328/0.1872, allocations: 0.8491 MB / 0.9044 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003814/0.1876, allocations: 302.9 kB / 0.9046 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001959/0.1878, allocations: 203.1 kB / 0.9048 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003963/0.1882, allocations: 259 kB / 0.9051 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.352e-05/0.1882, allocations: 20 kB / 0.9051 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000478/0.1887, allocations: 307.3 kB / 0.9054 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001234/0.1889, allocations: 139.6 kB / 0.9055 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000162/0.189, allocations: 194.9 kB / 0.9057 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005236/0.1895, allocations: 0.5956 MB / 0.9063 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1896, allocations: 0 / 0.9063 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.825e-06/0.1896, allocations: 0 / 0.9063 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.1896, allocations: 0 / 0.9063 GB, free: 58.33 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.000992/0.1906, allocations: 0.6667 MB / 0.9069 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.1906, allocations: 12.03 kB / 0.907 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009292/0.1916, allocations: 148.3 kB / 0.9071 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003997/0.192, allocations: 330.4 kB / 0.9074 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/0.192, allocations: 25.38 kB / 0.9074 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.759e-05/0.1921, allocations: 32.38 kB / 0.9075 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006367/0.1927, allocations: 0.5356 MB / 0.908 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.1927, allocations: 3.984 kB / 0.908 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.732e-05/0.1928, allocations: 19.94 kB / 0.908 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.134e-05/0.1928, allocations: 28.64 kB / 0.908 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004611/0.1933, allocations: 386.3 kB / 0.9084 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001913/0.1952, allocations: 2.423 MB / 0.9108 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00044/0.1957, allocations: 262.5 kB / 0.911 GB, free: 53.12 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.1958, allocations: 108.8 kB / 0.9111 GB, free: 53.01 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.1959, allocations: 0 / 0.9111 GB, free: 53.01 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.1959, allocations: 42.55 kB / 0.9112 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=20): time 1.392e-06/0.1959, allocations: 4 kB / 0.9112 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23): time 0.001884/0.1978, allocations: 1.128 MB / 0.9123 GB, free: 51.73 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.568e-05/0.1978, allocations: 51.41 kB / 0.9123 GB, free: 51.67 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002557/0.1981, allocations: 304.5 kB / 0.9126 GB, free: 51.37 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.1981, allocations: 33.7 kB / 0.9126 GB, free: 51.33 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.1982, allocations: 227.6 kB / 0.9129 GB, free: 51.11 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.786e-05/0.1983, allocations: 82.84 kB / 0.9129 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.111e-05/0.1983, allocations: 33.7 kB / 0.913 GB, free: 50.98 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.486e-05/0.1984, allocations: 346.7 kB / 0.9133 GB, free: 50.64 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.1985, allocations: 96.61 kB / 0.9134 GB, free: 50.54 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.1987, allocations: 192.4 kB / 0.9136 GB, free: 50.31 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003228/0.199, allocations: 318.3 kB / 0.9139 GB, free: 49.97 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1991, allocations: 0 / 0.9139 GB, free: 49.97 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006077/0.1997, allocations: 446 kB / 0.9143 GB, free: 49.52 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.1997, allocations: 10.5 kB / 0.9143 GB, free: 49.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.1997, allocations: 4 kB / 0.9143 GB, free: 49.51 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003142/0.2, allocations: 90.5 kB / 0.9144 GB, free: 49.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002457/0.2003, allocations: 63.94 kB / 0.9145 GB, free: 49.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002051/0.2023, allocations: 4.076 MB / 0.9185 GB, free: 44.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002027/0.2026, allocations: 11.98 kB / 0.9185 GB, free: 44.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/0.2026, allocations: 12 kB / 0.9185 GB, free: 44.84 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.000164/0.2028, allocations: 190.4 kB / 0.9187 GB, free: 44.65 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.043e-05/0.2028, allocations: 31.62 kB / 0.9187 GB, free: 44.62 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.85e-05/0.2029, allocations: 46.25 kB / 0.9187 GB, free: 44.57 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2029, allocations: 0 / 0.9187 GB, free: 44.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2029, allocations: 0 / 0.9187 GB, free: 44.57 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.127e-05/0.203, allocations: 124.7 kB / 0.9189 GB, free: 44.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.609e-05/0.203, allocations: 4 kB / 0.9189 GB, free: 44.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/0.2032, allocations: 15.98 kB / 0.9189 GB, free: 44.41 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.201e-05/0.2033, allocations: 23.91 kB / 0.9189 GB, free: 44.39 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007086/0.204, allocations: 435.6 kB / 0.9193 GB, free: 43.95 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004175/0.2044, allocations: 0.5131 MB / 0.9198 GB, free: 43.42 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001105/0.2045, allocations: 95.92 kB / 0.9199 GB, free: 43.32 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001419/0.2047, allocations: 215.1 kB / 0.9201 GB, free: 43.12 MB / 0.6042 GB Notification: Performance of Backend: time 6.01e-07/0.2047, allocations: 0 / 0.9201 GB, free: 43.12 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001052/0.2058, allocations: 0.7486 MB / 0.9208 GB, free: 42.32 MB / 0.6042 GB Notification: Performance of SimCode: time 0.001159/0.2069, allocations: 1.378 MB / 0.9222 GB, free: 40.9 MB / 0.6042 GB Notification: Performance of Templates: time 0.008112/0.2151, allocations: 5.382 MB / 0.9274 GB, free: 35.56 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)