Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.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.BaseClasses.Validation.PlugFlowCore,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_FixedResistances_BaseClasses_Validation_PlugFlowCore",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.01253/0.01254, allocations: 221.5 kB / 15.17 MB, free: 5.922 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.001194/0.001194, allocations: 179 kB / 16.06 MB, free: 5.828 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.604/3.604, allocations: 389.1 MB / 405.9 MB, free: 6.684 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.464/4.464, allocations: 472.3 MB / 0.9017 GB, free: 10.75 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006687/0.000669, allocations: 8 kB / 1.008 GB, free: 6.621 MB / 0.6511 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2064, allocations: 98.72 MB / 1.104 GB, free: 3.742 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore): time 0.04893/0.2553, allocations: 30.5 MB / 1.134 GB, free: 5.152 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.01732/0.2727, allocations: 9.012 MB / 1.143 GB, free: 12.12 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001225/0.274, allocations: 23.81 kB / 1.143 GB, free: 12.1 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.00163/0.2757, allocations: 298.1 kB / 1.143 GB, free: 11.8 MB / 0.7917 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.005615/0.2813, allocations: 1.329 MB / 1.144 GB, free: 10.47 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.003469/0.2848, allocations: 0.7206 MB / 1.145 GB, free: 9.746 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.004314/0.2892, allocations: 2.345 MB / 1.147 GB, free: 7.395 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001373/0.2906, allocations: 498.4 kB / 1.148 GB, free: 6.891 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002516/0.2932, allocations: 0.7698 MB / 1.149 GB, free: 6.117 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00161/0.2948, allocations: 0.5718 MB / 1.149 GB, free: 5.543 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.000248/0.2951, allocations: 32 kB / 1.149 GB, free: 5.512 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003382/0.2985, allocations: 0.8534 MB / 1.15 GB, free: 4.656 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0003651/0.2989, allocations: 127.4 kB / 1.15 GB, free: 4.531 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0004562/0.2994, allocations: 181.3 kB / 1.15 GB, free: 4.348 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.002637/0.302, allocations: 1.048 MB / 1.151 GB, free: 3.297 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.3021, allocations: 0 / 1.151 GB, free: 3.297 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.645e-06/0.3021, allocations: 0 / 1.151 GB, free: 3.297 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.656e-05/0.3022, allocations: 0 / 1.151 GB, free: 3.297 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.003339/0.3055, allocations: 1.09 MB / 1.152 GB, free: 2.156 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/0.3056, allocations: 12.03 kB / 1.152 GB, free: 2.145 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002258/0.3058, allocations: 86.52 kB / 1.152 GB, free: 2.051 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002581/0.3061, allocations: 90.92 kB / 1.153 GB, free: 1.961 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001826/0.3079, allocations: 0.6173 MB / 1.153 GB, free: 1.305 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.286e-05/0.308, allocations: 37 kB / 1.153 GB, free: 1.27 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/0.3082, allocations: 52 kB / 1.153 GB, free: 1.219 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001313/0.3095, allocations: 430.3 kB / 1.154 GB, free: 0.7891 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.754e-05/0.3095, allocations: 0 / 1.154 GB, free: 0.7891 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.752e-05/0.3096, allocations: 20 kB / 1.154 GB, free: 0.7695 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.843e-05/0.3097, allocations: 15.94 kB / 1.154 GB, free: 0.7539 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001234/0.3109, allocations: 375.8 kB / 1.154 GB, free: 396 kB / 0.7917 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.5347/0.8456, allocations: 2.772 MB / 1.157 GB, free: 258.2 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.8467, allocations: 357.5 kB / 1.157 GB, free: 258.2 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004331/0.8472, allocations: 150.6 kB / 1.157 GB, free: 258.2 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001391/0.8486, allocations: 1.431 MB / 1.159 GB, free: 256.6 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.8487, allocations: 38.88 kB / 1.159 GB, free: 256.5 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=33): time 3.376e-06/0.8487, allocations: 0 / 1.159 GB, free: 256.5 MB / 0.7917 GB Notification: Performance of matching and sorting (n=33): time 0.001727/0.8504, allocations: 486.7 kB / 1.159 GB, free: 256.5 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.8505, allocations: 59.8 kB / 1.159 GB, free: 256.4 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001496/0.852, allocations: 0.7334 MB / 1.16 GB, free: 256.3 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 8.945e-05/0.8521, allocations: 34.77 kB / 1.16 GB, free: 256.2 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003116/0.8524, allocations: 346.4 kB / 1.16 GB, free: 256.1 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.8526, allocations: 119.2 kB / 1.16 GB, free: 256.1 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/0.8526, allocations: 7.438 kB / 1.16 GB, free: 256.1 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 7.179e-05/0.8527, allocations: 320.2 kB / 1.161 GB, free: 255.8 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000472/0.8532, allocations: 133.8 kB / 1.161 GB, free: 255.8 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005415/0.8538, allocations: 197.2 kB / 1.161 GB, free: 255.7 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005106/0.8543, allocations: 156.4 kB / 1.161 GB, free: 255.7 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.8543, allocations: 1.844 kB / 1.161 GB, free: 255.7 MB / 0.7917 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001445/0.8558, allocations: 468.1 kB / 1.162 GB, free: 255.6 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 8.38e-05/0.8559, allocations: 139.1 kB / 1.162 GB, free: 255.5 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.859e-05/0.8559, allocations: 3.469 kB / 1.162 GB, free: 255.5 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.538e-05/0.856, allocations: 3.5 kB / 1.162 GB, free: 255.5 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008856/0.8569, allocations: 112.4 kB / 1.162 GB, free: 255.5 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003708/0.8572, allocations: 0.5903 MB / 1.162 GB, free: 254.9 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009538/0.8582, allocations: 68.33 kB / 1.162 GB, free: 254.9 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.8583, allocations: 31.83 kB / 1.162 GB, free: 254.9 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.8584, allocations: 4.281 kB / 1.162 GB, free: 254.9 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001218/0.8596, allocations: 369.2 kB / 1.163 GB, free: 254.8 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.959e-05/0.8597, allocations: 10.06 kB / 1.163 GB, free: 254.8 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.8597, allocations: 3.344 kB / 1.163 GB, free: 254.8 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006584/0.8604, allocations: 92.47 kB / 1.163 GB, free: 254.8 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.8604, allocations: 9.281 kB / 1.163 GB, free: 254.8 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009098/0.8613, allocations: 61.97 kB / 1.163 GB, free: 254.8 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.623e-05/0.8614, allocations: 22.84 kB / 1.163 GB, free: 254.8 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (46): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004239/0.8619, allocations: 268.5 kB / 1.163 GB, free: 254.6 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001901/0.8621, allocations: 78.83 kB / 1.163 GB, free: 254.6 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002293/0.8644, allocations: 0.8022 MB / 1.164 GB, free: 254.5 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-05/0.8644, allocations: 10.06 kB / 1.164 GB, free: 254.5 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.8645, allocations: 5.906 kB / 1.164 GB, free: 254.5 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.8645, allocations: 3.188 kB / 1.164 GB, free: 254.5 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003448/0.8679, allocations: 1.404 MB / 1.166 GB, free: 254.2 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-05/0.868, allocations: 4.969 kB / 1.166 GB, free: 254.2 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006902/0.8687, allocations: 84.78 kB / 1.166 GB, free: 254.1 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.698e-06/0.8687, allocations: 1.906 kB / 1.166 GB, free: 254.1 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.694e-05/0.8688, allocations: 16.12 kB / 1.166 GB, free: 254.1 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003055/0.8691, allocations: 0.5926 MB / 1.166 GB, free: 253.6 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.8692, allocations: 0 / 1.166 GB, free: 253.6 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002561/0.8717, allocations: 0.9661 MB / 1.167 GB, free: 253.4 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005856/0.8724, allocations: 245.2 kB / 1.167 GB, free: 253.2 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002323/0.8726, allocations: 13.28 kB / 1.167 GB, free: 253.2 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007619/0.8734, allocations: 31.17 kB / 1.167 GB, free: 253.2 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000144/0.8736, allocations: 39.44 kB / 1.167 GB, free: 253.2 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.841e-05/0.8736, allocations: 19.09 kB / 1.167 GB, free: 253.2 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001293/0.8749, allocations: 0.5223 MB / 1.168 GB, free: 253.1 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.523e-06/0.875, allocations: 0 / 1.168 GB, free: 253.1 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001812/0.8768, allocations: 458.3 kB / 1.168 GB, free: 253.1 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (pip.del.x,pip.timDel.x,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 (50): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003746/0.8806, allocations: 1.86 MB / 1.17 GB, free: 252.2 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.002365/0.883, allocations: 0.725 MB / 1.171 GB, free: 251.9 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.883, allocations: 0.5625 kB / 1.171 GB, free: 251.9 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0009391/0.884, allocations: 337.6 kB / 1.171 GB, free: 251.7 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003394/0.8874, allocations: 379.7 kB / 1.172 GB, free: 251.6 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01129/0.8987, allocations: 4.493 MB / 1.176 GB, free: 249.5 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005085/0.8993, allocations: 0.9513 MB / 1.177 GB, free: 248.8 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0012/0.9005, allocations: 215.2 kB / 1.177 GB, free: 248.8 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005732/0.9011, allocations: 305.5 kB / 1.177 GB, free: 248.6 MB / 0.7917 GB Notification: Performance of SimCode: time 9.32e-07/0.9011, allocations: 0 / 1.177 GB, free: 248.6 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09093/0.9921, allocations: 26.25 MB / 1.203 GB, free: 244.2 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001859/0.9923, allocations: 282.7 kB / 1.203 GB, free: 243.9 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.651/4.644, allocations: 0 / 1.203 GB, free: 243.9 MB / 0.7917 GB