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.00922/0.00922, allocations: 108.5 kB / 15.06 MB, free: 5.562 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.001152/0.001152, allocations: 180.2 kB / 15.95 MB, free: 5.523 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 2.128/2.128, allocations: 194.6 MB / 211.3 MB, free: 11.29 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.292/2.292, allocations: 236.2 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004753/0.0004755, allocations: 12 kB / 0.5869 GB, free: 2.227 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5434/0.5439, allocations: 98.7 MB / 0.6833 GB, free: 16.64 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.004929/0.5488, allocations: 3.683 MB / 0.6869 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003234/0.5521, allocations: 1.715 MB / 0.6886 GB, free: 13 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003687/0.5525, allocations: 10.03 kB / 0.6886 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0002493/0.5528, allocations: 72.31 kB / 0.6887 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0006377/0.5534, allocations: 199.2 kB / 0.6889 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007542/0.5542, allocations: 185.2 kB / 0.689 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0005631/0.5548, allocations: 359.4 kB / 0.6894 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004954/0.5553, allocations: 386.7 kB / 0.6898 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002656/0.5556, allocations: 175.4 kB / 0.6899 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003804/0.556, allocations: 178.6 kB / 0.6901 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 6.68e-05/0.5561, allocations: 20.19 kB / 0.6901 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004037/0.5565, allocations: 124.3 kB / 0.6902 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001437/0.5566, allocations: 120.7 kB / 0.6903 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.5568, allocations: 98.73 kB / 0.6904 GB, free: 12 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0006873/0.5575, allocations: 450.2 kB / 0.6909 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.119e-06/0.5575, allocations: 0 / 0.6909 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.459e-06/0.5575, allocations: 1.031 kB / 0.6909 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.041e-06/0.5575, allocations: 0 / 0.6909 GB, free: 11.91 MB / 0.5261 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.001146/0.5587, allocations: 0.6626 MB / 0.6915 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.5587, allocations: 10.22 kB / 0.6915 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001405/0.5601, allocations: 163.7 kB / 0.6917 GB, free: 11.35 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005397/0.5607, allocations: 324.5 kB / 0.692 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.063e-05/0.5607, allocations: 22.22 kB / 0.692 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.706e-05/0.5608, allocations: 31.22 kB / 0.692 GB, free: 11.06 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.5619, allocations: 0.525 MB / 0.6926 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/0.562, allocations: 9.062 kB / 0.6926 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.09e-05/0.562, allocations: 19.98 kB / 0.6926 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.981e-05/0.5621, allocations: 40.8 kB / 0.6926 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008375/0.563, allocations: 388.5 kB / 0.693 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002984/0.566, allocations: 2.405 MB / 0.6953 GB, free: 8.57 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006588/0.5666, allocations: 267 kB / 0.6956 GB, free: 8.449 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.5667, allocations: 2.344 kB / 0.6956 GB, free: 8.449 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.832e-05/0.5667, allocations: 33.59 kB / 0.6956 GB, free: 8.41 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=20): time 3.469e-06/0.5667, allocations: 4 kB / 0.6956 GB, free: 8.406 MB / 0.5261 GB Notification: Performance of matching and sorting (n=23): time 0.002706/0.5694, allocations: 1.13 MB / 0.6967 GB, free: 7.652 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.532e-05/0.5695, allocations: 54.47 kB / 0.6968 GB, free: 7.59 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004145/0.5699, allocations: 300 kB / 0.6971 GB, free: 7.41 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/0.57, allocations: 31.11 kB / 0.6971 GB, free: 7.375 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.5701, allocations: 232.4 kB / 0.6973 GB, free: 7.184 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.617e-05/0.5702, allocations: 88.47 kB / 0.6974 GB, free: 7.113 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.039e-05/0.5702, allocations: 4.781 kB / 0.6974 GB, free: 7.109 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.977e-05/0.5703, allocations: 338.9 kB / 0.6977 GB, free: 6.785 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002405/0.5706, allocations: 102.9 kB / 0.6978 GB, free: 6.746 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000288/0.5709, allocations: 188 kB / 0.698 GB, free: 6.602 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002902/0.5712, allocations: 132.8 kB / 0.6981 GB, free: 6.547 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.768e-06/0.5712, allocations: 0 / 0.6981 GB, free: 6.547 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001056/0.5723, allocations: 446.5 kB / 0.6986 GB, free: 6.34 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.5723, allocations: 6.156 kB / 0.6986 GB, free: 6.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.5723, allocations: 6.609 kB / 0.6986 GB, free: 6.336 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004765/0.5728, allocations: 95.72 kB / 0.6987 GB, free: 6.297 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003618/0.5732, allocations: 61.91 kB / 0.6987 GB, free: 6.293 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00323/0.5764, allocations: 4.105 MB / 0.7027 GB, free: 2.258 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004002/0.5769, allocations: 8.828 kB / 0.7028 GB, free: 2.254 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.317e-05/0.5769, allocations: 15 kB / 0.7028 GB, free: 2.25 MB / 0.5261 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.0002699/0.5772, allocations: 179.7 kB / 0.7029 GB, free: 2.102 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.584e-05/0.5773, allocations: 35.22 kB / 0.703 GB, free: 2.082 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.742e-05/0.5774, allocations: 42.42 kB / 0.703 GB, free: 2.051 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.212e-06/0.5774, allocations: 3.266 kB / 0.703 GB, free: 2.051 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.5774, allocations: 9.422 kB / 0.703 GB, free: 2.043 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.493e-06/0.5774, allocations: 1.266 kB / 0.703 GB, free: 2.043 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005914/0.578, allocations: 397.5 kB / 0.7034 GB, free: 1.773 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.763e-06/0.578, allocations: 0 / 0.7034 GB, free: 1.773 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002836/0.5783, allocations: 40.34 kB / 0.7034 GB, free: 1.766 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004657/0.5788, allocations: 96.31 kB / 0.7035 GB, free: 1.719 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.469e-05/0.5789, allocations: 5.375 kB / 0.7035 GB, free: 1.715 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003831/0.5827, allocations: 4.104 MB / 0.7075 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.393e-06/0.5828, allocations: 256 / 0.7075 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001218/0.584, allocations: 0.5583 MB / 0.7081 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002106/0.5842, allocations: 120.4 kB / 0.7082 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.372e-05/0.5843, allocations: 13 kB / 0.7082 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002828/0.5846, allocations: 11.59 kB / 0.7082 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.67e-05/0.5847, allocations: 20.06 kB / 0.7082 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.747e-05/0.5847, allocations: 8.25 kB / 0.7083 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003166/0.585, allocations: 204.3 kB / 0.7085 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7.31e-07/0.585, allocations: 0 / 0.7085 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0006641/0.5857, allocations: 95.41 kB / 0.7085 GB, free: 12.87 MB / 0.5417 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.0001602/0.5859, allocations: 115.2 kB / 0.7087 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001129/0.587, allocations: 0.6033 MB / 0.7092 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.276e-06/0.5871, allocations: 4.062 kB / 0.7092 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000711/0.5878, allocations: 474.5 kB / 0.7097 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000552/0.5884, allocations: 72.73 kB / 0.7098 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/0.59, allocations: 0.8487 MB / 0.7106 GB, free: 11.22 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005905/0.5906, allocations: 0.8402 MB / 0.7114 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003236/0.5909, allocations: 65.39 kB / 0.7115 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.069e-05/0.591, allocations: 24.88 kB / 0.7115 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of SimCode: time 1.54e-06/0.591, allocations: 0 / 0.7115 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of Templates: time 0.01232/0.6034, allocations: 4.087 MB / 0.7155 GB, free: 8.41 MB / 0.5417 GB