Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01058/0.01058, allocations: 221.3 kB / 15.17 MB, free: 5.996 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001105/0.001105, allocations: 179 kB / 16.06 MB, free: 5.867 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.379/3.379, allocations: 389 MB / 405.9 MB, free: 67.65 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.078/4.078, allocations: 472.3 MB / 0.9018 GB, free: 13.42 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004819/0.0004821, allocations: 16 kB / 1.008 GB, free: 0.8594 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4778/0.4783, allocations: 98.72 MB / 1.104 GB, free: 183.9 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.004122/0.4825, allocations: 3.814 MB / 1.108 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.002376/0.4849, allocations: 1.721 MB / 1.109 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001668/0.485, allocations: 11.94 kB / 1.109 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001752/0.4852, allocations: 66.2 kB / 1.11 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0005059/0.4858, allocations: 217 kB / 1.11 GB, free: 178 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005174/0.4863, allocations: 185.2 kB / 1.11 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0005889/0.4869, allocations: 0.6923 MB / 1.111 GB, free: 177.2 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004103/0.4873, allocations: 380.7 kB / 1.111 GB, free: 176.8 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001983/0.4875, allocations: 192.1 kB / 1.111 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003815/0.4879, allocations: 253.2 kB / 1.111 GB, free: 176.4 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 5.435e-05/0.488, allocations: 20 kB / 1.111 GB, free: 176.3 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002769/0.4883, allocations: 131.7 kB / 1.112 GB, free: 176.2 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.4884, allocations: 123.7 kB / 1.112 GB, free: 176.1 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 8.067e-05/0.4885, allocations: 104.9 kB / 1.112 GB, free: 176 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.000422/0.4889, allocations: 452.1 kB / 1.112 GB, free: 175.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.962e-06/0.489, allocations: 0 / 1.112 GB, free: 175.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.578e-06/0.489, allocations: 0 / 1.112 GB, free: 175.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.277e-05/0.489, allocations: 0.5625 kB / 1.112 GB, free: 175.5 MB / 0.6823 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.0009635/0.49, allocations: 0.6652 MB / 1.113 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.49, allocations: 12.03 kB / 1.113 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001233/0.4913, allocations: 158.7 kB / 1.113 GB, free: 174.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004103/0.4917, allocations: 325.3 kB / 1.113 GB, free: 174.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.4917, allocations: 25.75 kB / 1.113 GB, free: 174.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.982e-05/0.4918, allocations: 36.41 kB / 1.113 GB, free: 174.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008195/0.4926, allocations: 0.5236 MB / 1.114 GB, free: 173.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.4927, allocations: 2.5 kB / 1.114 GB, free: 173.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.039e-05/0.4927, allocations: 20 kB / 1.114 GB, free: 173.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-05/0.4928, allocations: 28.59 kB / 1.114 GB, free: 173.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006801/0.4935, allocations: 390.3 kB / 1.114 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002414/0.4959, allocations: 2.405 MB / 1.117 GB, free: 170.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005639/0.4965, allocations: 277.4 kB / 1.117 GB, free: 170.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/0.4967, allocations: 109.7 kB / 1.117 GB, free: 170.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.4967, allocations: 0 / 1.117 GB, free: 170.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.4968, allocations: 38.56 kB / 1.117 GB, free: 170.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=20): time 2.093e-06/0.4968, allocations: 0 / 1.117 GB, free: 170.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=23): time 0.002299/0.4991, allocations: 1.123 MB / 1.118 GB, free: 169 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.276e-05/0.4991, allocations: 55.41 kB / 1.118 GB, free: 168.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003132/0.4994, allocations: 292.5 kB / 1.118 GB, free: 168.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.4995, allocations: 33.7 kB / 1.118 GB, free: 168.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.4996, allocations: 238.3 kB / 1.119 GB, free: 168.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.055e-05/0.4997, allocations: 86.75 kB / 1.119 GB, free: 168.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.804e-05/0.4997, allocations: 8.594 kB / 1.119 GB, free: 168.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.913e-05/0.4998, allocations: 338.8 kB / 1.119 GB, free: 167.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/0.5, allocations: 104.6 kB / 1.119 GB, free: 167.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002316/0.5002, allocations: 182.9 kB / 1.119 GB, free: 167.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002442/0.5005, allocations: 143.3 kB / 1.12 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.68e-06/0.5005, allocations: 0 / 1.12 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008554/0.5014, allocations: 439.3 kB / 1.12 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.5014, allocations: 5.031 kB / 1.12 GB, free: 167 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.776e-06/0.5014, allocations: 4 kB / 1.12 GB, free: 167 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003974/0.5018, allocations: 93.06 kB / 1.12 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000316/0.5022, allocations: 66.69 kB / 1.12 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002709/0.5049, allocations: 4.065 MB / 1.124 GB, free: 162.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002572/0.5052, allocations: 16.92 kB / 1.124 GB, free: 162.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.824e-05/0.5052, allocations: 15.62 kB / 1.124 GB, free: 162.4 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001992/0.5054, allocations: 181.6 kB / 1.124 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.31e-05/0.5055, allocations: 31.62 kB / 1.124 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.731e-05/0.5056, allocations: 42.31 kB / 1.124 GB, free: 162.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.106e-06/0.5056, allocations: 4 kB / 1.124 GB, free: 162.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.269e-06/0.5056, allocations: 3.781 kB / 1.124 GB, free: 162.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.244e-06/0.5056, allocations: 0 / 1.124 GB, free: 162.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004567/0.5061, allocations: 410 kB / 1.125 GB, free: 161.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/0.5061, allocations: 0 / 1.125 GB, free: 161.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002272/0.5063, allocations: 35.97 kB / 1.125 GB, free: 161.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003609/0.5067, allocations: 98.75 kB / 1.125 GB, free: 161.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.5068, allocations: 4.844 kB / 1.125 GB, free: 161.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002586/0.5094, allocations: 4.062 MB / 1.129 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.5094, allocations: 0.875 kB / 1.129 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000878/0.5103, allocations: 0.5529 MB / 1.129 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.5104, allocations: 128.7 kB / 1.13 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.917e-05/0.5105, allocations: 4 kB / 1.13 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002554/0.5107, allocations: 15.5 kB / 1.13 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.402e-05/0.5108, allocations: 23.84 kB / 1.13 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.989e-05/0.5109, allocations: 8 kB / 1.13 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002146/0.5111, allocations: 213 kB / 1.13 GB, free: 156.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.56e-07/0.5111, allocations: 0 / 1.13 GB, free: 156.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000561/0.5117, allocations: 96 kB / 1.13 GB, free: 156.1 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001047/0.5118, allocations: 107.1 kB / 1.13 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0008424/0.5126, allocations: 0.6078 MB / 1.131 GB, free: 155.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.279e-06/0.5127, allocations: 0 / 1.131 GB, free: 155.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005353/0.5132, allocations: 479.1 kB / 1.131 GB, free: 154.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006146/0.5138, allocations: 68.08 kB / 1.131 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.5151, allocations: 0.8563 MB / 1.132 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.5154, allocations: 0.8521 MB / 1.133 GB, free: 153 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002573/0.5157, allocations: 54.67 kB / 1.133 GB, free: 153 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.903e-05/0.5157, allocations: 23.44 kB / 1.133 GB, free: 153 MB / 0.6823 GB Notification: Performance of SimCode: time 1.262e-06/0.5157, allocations: 0 / 1.133 GB, free: 153 MB / 0.6823 GB Notification: Performance of Templates: time 0.00981/0.5256, allocations: 4.087 MB / 1.137 GB, free: 149.1 MB / 0.6823 GB