Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.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.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe",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.01272/0.01273, allocations: 222.2 kB / 15.17 MB, free: 5.992 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.001161/0.001161, allocations: 182.9 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.843/3.843, allocations: 389.1 MB / 405.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.259/4.259, allocations: 472.3 MB / 0.9017 GB, free: 3.656 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005062/0.0005064, allocations: 12 kB / 1.008 GB, free: 10.18 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7462/0.7467, allocations: 98.7 MB / 1.104 GB, free: 212.8 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.06214/0.8089, allocations: 40.75 MB / 1.144 GB, free: 184.3 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.02284/0.8318, allocations: 12.02 MB / 1.156 GB, free: 175.8 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002362/0.8343, allocations: 37.22 kB / 1.156 GB, free: 175.8 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.002875/0.8372, allocations: 470 kB / 1.156 GB, free: 175.6 MB / 0.7292 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.009442/0.8467, allocations: 1.901 MB / 1.158 GB, free: 174.5 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.005917/0.8526, allocations: 1.105 MB / 1.159 GB, free: 174 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.007631/0.8603, allocations: 3.696 MB / 1.163 GB, free: 172.5 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002297/0.8627, allocations: 0.748 MB / 1.163 GB, free: 172.2 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003827/0.8665, allocations: 1.05 MB / 1.164 GB, free: 171.8 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002777/0.8694, allocations: 0.8416 MB / 1.165 GB, free: 171.4 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0003779/0.8698, allocations: 48.03 kB / 1.165 GB, free: 171.4 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004591/0.8744, allocations: 0.9528 MB / 1.166 GB, free: 171.1 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0005906/0.875, allocations: 196.9 kB / 1.166 GB, free: 171 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0007782/0.8758, allocations: 275.8 kB / 1.167 GB, free: 170.8 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.004031/0.8799, allocations: 1.682 MB / 1.168 GB, free: 169.7 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.8799, allocations: 4 kB / 1.168 GB, free: 169.7 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.723e-06/0.8799, allocations: 1.031 kB / 1.168 GB, free: 169.7 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.145e-05/0.88, allocations: 0 / 1.168 GB, free: 169.7 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.004891/0.8849, allocations: 1.442 MB / 1.17 GB, free: 168.6 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.885, allocations: 10 kB / 1.17 GB, free: 168.6 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003341/0.8853, allocations: 117 kB / 1.17 GB, free: 168.5 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005352/0.8859, allocations: 134.8 kB / 1.17 GB, free: 168.4 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004207/0.8901, allocations: 1.169 MB / 1.171 GB, free: 167.5 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.055e-05/0.8902, allocations: 54.03 kB / 1.171 GB, free: 167.5 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001853/0.8904, allocations: 70.59 kB / 1.171 GB, free: 167.5 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002081/0.8925, allocations: 0.7468 MB / 1.172 GB, free: 167 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.963e-05/0.8926, allocations: 1.062 kB / 1.172 GB, free: 167 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.93e-05/0.8927, allocations: 29.81 kB / 1.172 GB, free: 167 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.386e-05/0.8928, allocations: 18.06 kB / 1.172 GB, free: 167 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001779/0.8945, allocations: 0.5715 MB / 1.173 GB, free: 166.7 MB / 0.7292 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.007871/0.9024, allocations: 3.993 MB / 1.176 GB, free: 163.2 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001491/0.904, allocations: 450.6 kB / 1.177 GB, free: 162.9 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008087/0.9048, allocations: 209 kB / 1.177 GB, free: 162.8 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002243/0.9071, allocations: 1.524 MB / 1.179 GB, free: 161.1 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.866e-05/0.9072, allocations: 37 kB / 1.179 GB, free: 161 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=44): time 4.87e-06/0.9072, allocations: 0 / 1.179 GB, free: 161 MB / 0.7292 GB Notification: Performance of matching and sorting (n=44): time 0.003439/0.9107, allocations: 0.656 MB / 1.179 GB, free: 160.6 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.9108, allocations: 58.5 kB / 1.179 GB, free: 160.5 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003074/0.9139, allocations: 1.002 MB / 1.18 GB, free: 159.5 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002033/0.9142, allocations: 37.7 kB / 1.18 GB, free: 159.5 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006805/0.9149, allocations: 492.6 kB / 1.181 GB, free: 159 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003587/0.9152, allocations: 153.7 kB / 1.181 GB, free: 158.8 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.849e-05/0.9153, allocations: 12 kB / 1.181 GB, free: 158.8 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.9155, allocations: 326.7 kB / 1.181 GB, free: 158.5 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00083/0.9163, allocations: 178.4 kB / 1.181 GB, free: 158.3 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009808/0.9173, allocations: 325.2 kB / 1.182 GB, free: 158 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009773/0.9183, allocations: 234.5 kB / 1.182 GB, free: 157.8 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.178e-06/0.9184, allocations: 0 / 1.182 GB, free: 157.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002852/0.9212, allocations: 0.6522 MB / 1.183 GB, free: 157.1 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001545/0.9214, allocations: 193.9 kB / 1.183 GB, free: 156.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.97e-05/0.9215, allocations: 4.969 kB / 1.183 GB, free: 156.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.863e-05/0.9215, allocations: 11.94 kB / 1.183 GB, free: 156.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/0.9228, allocations: 129.6 kB / 1.183 GB, free: 156.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-05/0.9228, allocations: 4 kB / 1.183 GB, free: 156.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001993/0.9248, allocations: 94.39 kB / 1.183 GB, free: 156.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001946/0.9251, allocations: 31.98 kB / 1.183 GB, free: 156.6 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.9251, allocations: 8.156 kB / 1.183 GB, free: 156.6 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00227/0.9274, allocations: 0.5267 MB / 1.184 GB, free: 156.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.92e-05/0.9275, allocations: 10.5 kB / 1.184 GB, free: 156.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.9275, allocations: 6.344 kB / 1.184 GB, free: 156.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/0.9288, allocations: 121.2 kB / 1.184 GB, free: 156 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.05e-05/0.9288, allocations: 15.88 kB / 1.184 GB, free: 155.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00204/0.9309, allocations: 90.81 kB / 1.184 GB, free: 155.9 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002229/0.9312, allocations: 32.58 kB / 1.184 GB, free: 155.8 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009784/0.9322, allocations: 350.5 kB / 1.184 GB, free: 155.5 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005132/0.9327, allocations: 98.78 kB / 1.184 GB, free: 155.4 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003637/0.9363, allocations: 0.9621 MB / 1.185 GB, free: 154.4 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.693e-05/0.9364, allocations: 8.484 kB / 1.185 GB, free: 154.4 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.24e-05/0.9365, allocations: 8.516 kB / 1.185 GB, free: 154.4 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002235/0.9387, allocations: 0.8283 MB / 1.186 GB, free: 153.5 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00767/0.9464, allocations: 1.952 MB / 1.188 GB, free: 151.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.393e-05/0.9466, allocations: 7.953 kB / 1.188 GB, free: 151.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001199/0.9478, allocations: 91.89 kB / 1.188 GB, free: 151.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.93e-05/0.9478, allocations: 4 kB / 1.188 GB, free: 151.4 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001543/0.948, allocations: 20.55 kB / 1.188 GB, free: 151.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.359e-05/0.9481, allocations: 8.719 kB / 1.188 GB, free: 151.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.9481, allocations: 0 / 1.188 GB, free: 151.4 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003131/0.9512, allocations: 1.174 MB / 1.189 GB, free: 150.2 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001028/0.9523, allocations: 307.3 kB / 1.19 GB, free: 149.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003835/0.9527, allocations: 12 kB / 1.19 GB, free: 149.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/0.9539, allocations: 52.11 kB / 1.19 GB, free: 149.8 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001693/0.9541, allocations: 49.03 kB / 1.19 GB, free: 149.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.843e-05/0.9542, allocations: 27.98 kB / 1.19 GB, free: 149.7 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001589/0.9558, allocations: 0.7087 MB / 1.19 GB, free: 149 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.41e-07/0.9559, allocations: 3.938 kB / 1.19 GB, free: 149 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002506/0.9584, allocations: 0.5978 MB / 1.191 GB, free: 148.4 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 5 (pip.cor.del.x,pip.cor.timDel.x,pip.vol.dynBal.U,senTemOut.T,senTemIn.T) * 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 (60): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00402/0.9624, allocations: 2.124 MB / 1.193 GB, free: 146.3 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002237/0.9647, allocations: 0.9243 MB / 1.194 GB, free: 145.4 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.269e-06/0.9647, allocations: 0 / 1.194 GB, free: 145.4 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000794/0.9655, allocations: 393 kB / 1.194 GB, free: 145 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004895/0.9705, allocations: 0.5767 MB / 1.195 GB, free: 144.5 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01735/0.9879, allocations: 6.465 MB / 1.201 GB, free: 137.7 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005712/0.9885, allocations: 1.077 MB / 1.202 GB, free: 136.6 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001683/0.9902, allocations: 281.8 kB / 1.202 GB, free: 136.4 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007921/0.991, allocations: 451.2 kB / 1.203 GB, free: 136 MB / 0.7292 GB Notification: Performance of SimCode: time 1.052e-06/0.991, allocations: 0 / 1.203 GB, free: 136 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09131/1.082, allocations: 35.41 MB / 1.237 GB, free: 101.9 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002392/1.083, allocations: 232.9 kB / 1.238 GB, free: 101.7 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.804/4.887, allocations: 0 / 1.238 GB, free: 101.7 MB / 0.7292 GB