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: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01137/0.01138, allocations: 106.5 kB / 15.06 MB, free: 6.027 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.00131/0.00131, allocations: 183.1 kB / 15.95 MB, free: 5.953 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.1/2.1, allocations: 194.5 MB / 211.3 MB, free: 11.05 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.517/2.517, allocations: 236.2 MB / 492.6 MB, free: 11.31 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004851/0.0004853, allocations: 12 kB / 0.587 GB, free: 2.066 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7462/0.7467, allocations: 98.73 MB / 0.6834 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.02692/0.7737, allocations: 17.3 MB / 0.7003 GB, free: 4.695 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.00991/0.7837, allocations: 4.591 MB / 0.7048 GB, free: 1.477 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001112/0.7848, allocations: 21.44 kB / 0.7048 GB, free: 1.465 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001437/0.7863, allocations: 301 kB / 0.7051 GB, free: 1.219 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.003768/0.7901, allocations: 0.8027 MB / 0.7059 GB, free: 0.5547 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0039/0.794, allocations: 0.7856 MB / 0.7067 GB, free: 4 kB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.003019/0.7971, allocations: 1.049 MB / 0.7077 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001103/0.7982, allocations: 399.5 kB / 0.7081 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001732/0.8, allocations: 0.5228 MB / 0.7086 GB, free: 14.74 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009395/0.801, allocations: 332.2 kB / 0.7089 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0001444/0.8011, allocations: 22.56 kB / 0.7089 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002759/0.8039, allocations: 0.8221 MB / 0.7097 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0003222/0.8043, allocations: 109.8 kB / 0.7098 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0003487/0.8046, allocations: 141.8 kB / 0.71 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.002325/0.807, allocations: 0.7693 MB / 0.7107 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.807, allocations: 0 / 0.7107 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.825e-06/0.807, allocations: 0 / 0.7107 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.174e-05/0.8071, allocations: 0 / 0.7107 GB, free: 13.52 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.002971/0.8101, allocations: 0.9046 MB / 0.7116 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.8101, allocations: 9.719 kB / 0.7116 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001853/0.8103, allocations: 79.91 kB / 0.7117 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001695/0.812, allocations: 202 kB / 0.7119 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001564/0.8136, allocations: 0.4958 MB / 0.7124 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008236/0.8145, allocations: 100.1 kB / 0.7125 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002162/0.8147, allocations: 38.69 kB / 0.7125 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002105/0.8169, allocations: 488.4 kB / 0.713 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.699e-05/0.8169, allocations: 0 / 0.713 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-05/0.817, allocations: 20.38 kB / 0.713 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.287e-05/0.8171, allocations: 9.188 kB / 0.713 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001971/0.8191, allocations: 418.9 kB / 0.7134 GB, free: 11.61 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.005513/0.8246, allocations: 2.293 MB / 0.7156 GB, free: 9.523 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001988/0.8266, allocations: 382.1 kB / 0.716 GB, free: 9.352 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004056/0.8271, allocations: 337 kB / 0.7163 GB, free: 8.965 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001234/0.8283, allocations: 290.8 kB / 0.7166 GB, free: 8.77 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=31): time 3.757e-06/0.8284, allocations: 0 / 0.7166 GB, free: 8.77 MB / 0.5417 GB Notification: Performance of matching and sorting (n=31): time 0.003951/0.8323, allocations: 0.8836 MB / 0.7175 GB, free: 8.211 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.517e-05/0.8325, allocations: 89.25 kB / 0.7175 GB, free: 8.109 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.8335, allocations: 0.494 MB / 0.718 GB, free: 7.812 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001189/0.8337, allocations: 32.89 kB / 0.718 GB, free: 7.777 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003317/0.834, allocations: 289.2 kB / 0.7183 GB, free: 7.523 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001554/0.8342, allocations: 103.8 kB / 0.7184 GB, free: 7.434 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.213e-05/0.8342, allocations: 5.312 kB / 0.7184 GB, free: 7.43 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001857/0.8344, allocations: 363.3 kB / 0.7188 GB, free: 7.078 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008214/0.8353, allocations: 167.5 kB / 0.7189 GB, free: 7.008 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009221/0.8362, allocations: 270.1 kB / 0.7192 GB, free: 6.82 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009048/0.8371, allocations: 217.3 kB / 0.7194 GB, free: 6.707 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.8372, allocations: 0 / 0.7194 GB, free: 6.707 MB / 0.5417 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.002577/0.8398, allocations: 0.59 MB / 0.72 GB, free: 6.391 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003471/0.8401, allocations: 0.648 MB / 0.7206 GB, free: 5.699 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.8402, allocations: 1.438 kB / 0.7206 GB, free: 5.699 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005498/0.8407, allocations: 74.53 kB / 0.7207 GB, free: 5.66 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007202/0.8415, allocations: 82 kB / 0.7208 GB, free: 5.637 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006956/0.8422, allocations: 0.5962 MB / 0.7213 GB, free: 5.066 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/0.8432, allocations: 82.36 kB / 0.7214 GB, free: 5.023 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.182e-05/0.8433, allocations: 20.27 kB / 0.7214 GB, free: 5.016 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.8434, allocations: 4.188 kB / 0.7214 GB, free: 5.016 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002157/0.8455, allocations: 0.5221 MB / 0.722 GB, free: 4.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.8456, allocations: 1.531 kB / 0.722 GB, free: 4.75 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002676/0.8458, allocations: 46.48 kB / 0.722 GB, free: 4.727 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006747/0.8465, allocations: 87.41 kB / 0.7221 GB, free: 4.699 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002222/0.8488, allocations: 1.643 MB / 0.7237 GB, free: 3.074 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/0.8499, allocations: 78.12 kB / 0.7238 GB, free: 3.035 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.551e-05/0.85, allocations: 15.28 kB / 0.7238 GB, free: 3.031 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.0005273/0.8505, allocations: 299.2 kB / 0.7241 GB, free: 2.762 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/0.8507, allocations: 59.91 kB / 0.7241 GB, free: 2.73 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002376/0.853, allocations: 0.5999 MB / 0.7247 GB, free: 2.387 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.721e-05/0.8531, allocations: 2.844 kB / 0.7247 GB, free: 2.387 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.8532, allocations: 5.453 kB / 0.7247 GB, free: 2.383 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002111/0.8553, allocations: 0.7572 MB / 0.7255 GB, free: 1.797 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003717/0.859, allocations: 1.218 MB / 0.7266 GB, free: 0.9297 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.8591, allocations: 0 / 0.7266 GB, free: 0.9297 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006145/0.8597, allocations: 70.25 kB / 0.7267 GB, free: 0.9062 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002092/0.8599, allocations: 42.67 kB / 0.7267 GB, free: 0.8828 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.241e-05/0.86, allocations: 11.86 kB / 0.7268 GB, free: 0.875 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005201/0.8605, allocations: 0.5728 MB / 0.7273 GB, free: 320 kB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.8605, allocations: 3.984 kB / 0.7273 GB, free: 316 kB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003338/0.8639, allocations: 0.9251 MB / 0.7282 GB, free: 15.35 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005085/0.8644, allocations: 180.3 kB / 0.7284 GB, free: 15.15 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/0.8646, allocations: 12 kB / 0.7284 GB, free: 15.14 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/0.8656, allocations: 67.95 kB / 0.7285 GB, free: 15.07 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.084e-05/0.8657, allocations: 15.97 kB / 0.7285 GB, free: 15.06 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.894e-05/0.8658, allocations: 19.98 kB / 0.7285 GB, free: 15.04 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0006548/0.8665, allocations: 350.8 kB / 0.7288 GB, free: 14.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.1e-07/0.8665, allocations: 0 / 0.7288 GB, free: 14.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00171/0.8682, allocations: 339.5 kB / 0.7292 GB, free: 14.37 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.004304/0.8725, allocations: 1.732 MB / 0.7309 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.003456/0.876, allocations: 0.9831 MB / 0.7318 GB, free: 11.58 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.411e-06/0.8761, allocations: 0 / 0.7318 GB, free: 11.58 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001106/0.8772, allocations: 319.3 kB / 0.7321 GB, free: 11.26 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002312/0.8795, allocations: 238 kB / 0.7324 GB, free: 11.02 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01028/0.8898, allocations: 4.341 MB / 0.7366 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005842/0.8904, allocations: 0.89 MB / 0.7375 GB, free: 5.672 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009476/0.8914, allocations: 116.3 kB / 0.7376 GB, free: 5.559 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004248/0.8919, allocations: 195.4 kB / 0.7378 GB, free: 5.367 MB / 0.5573 GB Notification: Performance of SimCode: time 1.072e-06/0.8919, allocations: 4 kB / 0.7378 GB, free: 5.363 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07367/0.9655, allocations: 15.93 MB / 0.7533 GB, free: 5.68 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004124/0.966, allocations: 265.3 kB / 0.7536 GB, free: 5.324 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.501/4.467, allocations: 0 / 0.7536 GB, free: 5.324 MB / 0.573 GB