Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.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.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01551/0.01551, allocations: 109.3 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.001833/0.001832, allocations: 181.6 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.072/2.072, allocations: 194.6 MB / 211.3 MB, free: 11 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.448/2.448, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004854/0.0004856, allocations: 12 kB / 0.5869 GB, free: 2.176 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.598/0.5985, allocations: 98.7 MB / 0.6833 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.02108/0.6196, allocations: 17.3 MB / 0.7002 GB, free: 4.633 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.008148/0.6278, allocations: 4.59 MB / 0.7047 GB, free: 1.426 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008876/0.6287, allocations: 20.66 kB / 0.7047 GB, free: 1.414 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0009846/0.6297, allocations: 305.8 kB / 0.705 GB, free: 1.207 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.002698/0.6325, allocations: 0.8064 MB / 0.7058 GB, free: 0.5391 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.003176/0.6356, allocations: 0.7863 MB / 0.7066 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.002502/0.6382, allocations: 1.048 MB / 0.7076 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008873/0.6391, allocations: 403.3 kB / 0.708 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001344/0.6405, allocations: 0.5224 MB / 0.7085 GB, free: 14.72 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006725/0.6412, allocations: 327.8 kB / 0.7088 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 9.532e-05/0.6413, allocations: 26.72 kB / 0.7088 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002276/0.6436, allocations: 0.8269 MB / 0.7096 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.000219/0.6438, allocations: 110.2 kB / 0.7097 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0003024/0.6441, allocations: 144.2 kB / 0.7099 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.001735/0.6459, allocations: 0.7667 MB / 0.7106 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.223e-06/0.6459, allocations: 0 / 0.7106 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.364e-06/0.6459, allocations: 0 / 0.7106 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.093e-05/0.6459, allocations: 1.031 kB / 0.7106 GB, free: 13.5 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001942/0.6479, allocations: 0.9079 MB / 0.7115 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.6479, allocations: 9.688 kB / 0.7115 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.649, allocations: 194.5 kB / 0.7117 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001183/0.6503, allocations: 0.5002 MB / 0.7122 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004115/0.6507, allocations: 99.73 kB / 0.7123 GB, free: 12.17 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.784e-05/0.6508, allocations: 37.41 kB / 0.7123 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/0.6521, allocations: 492.4 kB / 0.7128 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.6522, allocations: 1 kB / 0.7128 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-05/0.6523, allocations: 19.94 kB / 0.7128 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.181e-05/0.6523, allocations: 9.938 kB / 0.7128 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001407/0.6537, allocations: 417.6 kB / 0.7132 GB, free: 11.66 MB / 0.5417 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004467/0.6582, allocations: 2.29 MB / 0.7155 GB, free: 9.574 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001389/0.6596, allocations: 380.1 kB / 0.7158 GB, free: 9.402 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003902/0.6601, allocations: 344.8 kB / 0.7162 GB, free: 9.008 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008302/0.6609, allocations: 291.7 kB / 0.7164 GB, free: 8.812 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=31): time 3.518e-06/0.6609, allocations: 0 / 0.7164 GB, free: 8.812 MB / 0.5417 GB Notification: Performance of matching and sorting (n=31): time 0.002942/0.6639, allocations: 0.8836 MB / 0.7173 GB, free: 8.254 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.918e-05/0.664, allocations: 81.7 kB / 0.7174 GB, free: 8.16 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008449/0.6648, allocations: 0.4947 MB / 0.7179 GB, free: 7.863 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 7.15e-05/0.6649, allocations: 36.75 kB / 0.7179 GB, free: 7.824 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003059/0.6652, allocations: 287.5 kB / 0.7182 GB, free: 7.57 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/0.6654, allocations: 100.4 kB / 0.7183 GB, free: 7.484 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.847e-05/0.6654, allocations: 5.156 kB / 0.7183 GB, free: 7.48 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002161/0.6657, allocations: 360.2 kB / 0.7186 GB, free: 7.133 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006062/0.6663, allocations: 180.1 kB / 0.7188 GB, free: 7.051 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000685/0.667, allocations: 257.7 kB / 0.719 GB, free: 6.875 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006716/0.6677, allocations: 224.9 kB / 0.7192 GB, free: 6.754 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.64e-06/0.6677, allocations: 0 / 0.7192 GB, free: 6.754 MB / 0.5417 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001969/0.6697, allocations: 0.5813 MB / 0.7198 GB, free: 6.445 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.000403/0.6701, allocations: 0.6611 MB / 0.7205 GB, free: 5.742 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.355e-06/0.6701, allocations: 1.438 kB / 0.7205 GB, free: 5.742 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004196/0.6706, allocations: 71.5 kB / 0.7205 GB, free: 5.707 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004871/0.6711, allocations: 86.28 kB / 0.7206 GB, free: 5.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007018/0.6718, allocations: 0.5875 MB / 0.7212 GB, free: 5.117 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007691/0.6726, allocations: 86.81 kB / 0.7213 GB, free: 5.07 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.448e-05/0.6726, allocations: 16.09 kB / 0.7213 GB, free: 5.066 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.6727, allocations: 4.625 kB / 0.7213 GB, free: 5.066 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00164/0.6743, allocations: 0.5181 MB / 0.7218 GB, free: 4.805 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.592e-06/0.6744, allocations: 1.281 kB / 0.7218 GB, free: 4.805 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002123/0.6746, allocations: 50.92 kB / 0.7218 GB, free: 4.777 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004642/0.6751, allocations: 78.64 kB / 0.7219 GB, free: 4.758 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002212/0.6773, allocations: 1.64 MB / 0.7235 GB, free: 3.137 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007486/0.6781, allocations: 77.77 kB / 0.7236 GB, free: 3.098 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.199e-05/0.6781, allocations: 20.27 kB / 0.7236 GB, free: 3.09 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0004803/0.6786, allocations: 293.1 kB / 0.7239 GB, free: 2.828 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.6788, allocations: 59.86 kB / 0.7239 GB, free: 2.797 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001877/0.6807, allocations: 0.6151 MB / 0.7245 GB, free: 2.438 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.6807, allocations: 3.156 kB / 0.7245 GB, free: 2.438 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.02e-06/0.6807, allocations: 1.125 kB / 0.7245 GB, free: 2.438 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001679/0.6824, allocations: 0.7616 MB / 0.7253 GB, free: 1.848 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003115/0.6855, allocations: 1.213 MB / 0.7265 GB, free: 0.9844 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.901e-06/0.6856, allocations: 1.312 kB / 0.7265 GB, free: 0.9844 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004494/0.686, allocations: 64.91 kB / 0.7265 GB, free: 0.9648 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002008/0.6862, allocations: 47.11 kB / 0.7266 GB, free: 0.9375 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.396e-05/0.6863, allocations: 21.38 kB / 0.7266 GB, free: 0.9219 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005492/0.6869, allocations: 0.573 MB / 0.7272 GB, free: 372 kB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.6869, allocations: 192 / 0.7272 GB, free: 372 kB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002605/0.6895, allocations: 0.9126 MB / 0.7281 GB, free: 15.48 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004106/0.69, allocations: 184.2 kB / 0.7282 GB, free: 15.28 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.6901, allocations: 16 kB / 0.7282 GB, free: 15.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007306/0.6908, allocations: 67.89 kB / 0.7283 GB, free: 15.2 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.194e-05/0.6909, allocations: 15.98 kB / 0.7283 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.587e-05/0.691, allocations: 11.98 kB / 0.7283 GB, free: 15.17 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0006089/0.6916, allocations: 362.8 kB / 0.7287 GB, free: 14.82 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8.01e-07/0.6916, allocations: 0 / 0.7287 GB, free: 14.82 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001501/0.6931, allocations: 339.5 kB / 0.729 GB, free: 14.49 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dyn.U) * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008194/0.694, allocations: 314.7 kB / 0.7293 GB, free: 14.18 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002881/0.6969, allocations: 0.9907 MB / 0.7303 GB, free: 13.15 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.764e-06/0.6969, allocations: 0 / 0.7303 GB, free: 13.15 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.000869/0.6978, allocations: 319.3 kB / 0.7306 GB, free: 12.83 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001573/0.6994, allocations: 240.1 kB / 0.7308 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002905/0.7023, allocations: 1.299 MB / 0.7321 GB, free: 11.26 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006561/0.703, allocations: 0.894 MB / 0.733 GB, free: 10.34 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007702/0.7038, allocations: 116.3 kB / 0.7331 GB, free: 10.22 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001661/0.704, allocations: 43.42 kB / 0.7331 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of SimCode: time 1.576e-06/0.704, allocations: 0 / 0.7331 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of Templates: time 0.02851/0.7325, allocations: 10.59 MB / 0.7434 GB, free: 15.72 MB / 0.573 GB