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.FlowJunction.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.FlowJunction,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_FixedResistances_Examples_FlowJunction",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.01215/0.01216, allocations: 107.5 kB / 15.06 MB, free: 5.555 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.001187/0.001187, allocations: 181.8 kB / 15.95 MB, free: 5.52 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.002/2.002, allocations: 194.6 MB / 211.3 MB, free: 11.03 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.361/2.361, allocations: 236.2 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004797/0.0004799, allocations: 8 kB / 0.587 GB, free: 2.098 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7007/0.7012, allocations: 98.71 MB / 0.6834 GB, free: 16.73 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.3633/1.065, allocations: 196.4 MB / 0.8752 GB, free: 9.531 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02276/1.087, allocations: 7.292 MB / 0.8823 GB, free: 2.23 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002011/1.089, allocations: 43.69 kB / 0.8824 GB, free: 2.188 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.004223/1.094, allocations: 0.6688 MB / 0.883 GB, free: 1.516 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01066/1.104, allocations: 1.928 MB / 0.8849 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.009662/1.114, allocations: 1.664 MB / 0.8865 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.006583/1.121, allocations: 1.944 MB / 0.8884 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002832/1.124, allocations: 0.8396 MB / 0.8893 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006713/1.13, allocations: 1.456 MB / 0.8907 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002321/1.133, allocations: 0.6264 MB / 0.8913 GB, free: 9.016 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0004262/1.133, allocations: 48 kB / 0.8913 GB, free: 8.969 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005492/1.139, allocations: 1.057 MB / 0.8924 GB, free: 7.91 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0008767/1.14, allocations: 358.9 kB / 0.8927 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0007007/1.14, allocations: 293.1 kB / 0.893 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.004196/1.145, allocations: 1.638 MB / 0.8946 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/1.145, allocations: 0 / 0.8946 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.365e-06/1.145, allocations: 0 / 0.8946 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.507e-05/1.145, allocations: 3.938 kB / 0.8946 GB, free: 5.621 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.004581/1.149, allocations: 1.433 MB / 0.896 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/1.149, allocations: 12.03 kB / 0.896 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004651/1.15, allocations: 134.9 kB / 0.8961 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004368/1.154, allocations: 430 kB / 0.8965 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00302/1.157, allocations: 0.9295 MB / 0.8975 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/1.157, allocations: 66 kB / 0.8975 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002488/1.158, allocations: 88 kB / 0.8976 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002854/1.161, allocations: 0.8701 MB / 0.8985 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.083e-05/1.161, allocations: 0 / 0.8985 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001461/1.161, allocations: 36 kB / 0.8985 GB, free: 1.527 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.276e-05/1.161, allocations: 30 kB / 0.8985 GB, free: 1.5 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003029/1.164, allocations: 0.8315 MB / 0.8993 GB, free: 0.6641 MB / 0.7136 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.008862/1.173, allocations: 3.643 MB / 0.9029 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002708/1.176, allocations: 1.145 MB / 0.904 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007272/1.176, allocations: 153.6 kB / 0.9041 GB, free: 11.31 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.532e-05/1.177, allocations: 35.12 kB / 0.9042 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=60): time 3.406e-06/1.177, allocations: 4 kB / 0.9042 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of matching and sorting (n=60): time 0.003852/1.18, allocations: 0.9818 MB / 0.9051 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/1.18, allocations: 59.92 kB / 0.9052 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001841/1.182, allocations: 0.8282 MB / 0.906 GB, free: 9.355 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001711/1.183, allocations: 41.64 kB / 0.9061 GB, free: 9.309 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005652/1.183, allocations: 484.2 kB / 0.9065 GB, free: 8.828 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003484/1.183, allocations: 212.8 kB / 0.9067 GB, free: 8.617 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.783e-05/1.184, allocations: 20 kB / 0.9067 GB, free: 8.598 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001582/1.184, allocations: 326 kB / 0.907 GB, free: 8.273 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009659/1.185, allocations: 253 kB / 0.9073 GB, free: 8.023 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001105/1.186, allocations: 372.2 kB / 0.9076 GB, free: 7.625 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/1.187, allocations: 302.1 kB / 0.9079 GB, free: 7.332 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/1.187, allocations: 4 kB / 0.9079 GB, free: 7.328 MB / 0.7292 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002514/1.189, allocations: 0.7359 MB / 0.9087 GB, free: 6.582 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002367/1.19, allocations: 455.3 kB / 0.9091 GB, free: 6.105 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/1.19, allocations: 0 / 0.9091 GB, free: 6.105 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.41e-05/1.19, allocations: 4 kB / 0.9091 GB, free: 6.102 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/1.191, allocations: 135.8 kB / 0.9092 GB, free: 5.969 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.762e-05/1.191, allocations: 4 kB / 0.9092 GB, free: 5.965 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001796/1.193, allocations: 123.4 kB / 0.9093 GB, free: 5.844 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001307/1.193, allocations: 27.94 kB / 0.9094 GB, free: 5.816 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/1.193, allocations: 8 kB / 0.9094 GB, free: 5.809 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002101/1.195, allocations: 0.6183 MB / 0.91 GB, free: 5.188 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/1.195, allocations: 3.938 kB / 0.91 GB, free: 5.184 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/1.195, allocations: 4 kB / 0.91 GB, free: 5.18 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/1.196, allocations: 131.8 kB / 0.9101 GB, free: 5.051 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/1.196, allocations: 4 kB / 0.9101 GB, free: 5.047 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001768/1.198, allocations: 134 kB / 0.9102 GB, free: 4.918 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.981e-05/1.198, allocations: 20 kB / 0.9103 GB, free: 4.898 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (69): * Single equations (assignments): 69 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008268/1.199, allocations: 380.9 kB / 0.9106 GB, free: 4.516 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003396/1.199, allocations: 110.7 kB / 0.9107 GB, free: 4.406 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002492/1.202, allocations: 0.747 MB / 0.9115 GB, free: 3.656 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-05/1.202, allocations: 8 kB / 0.9115 GB, free: 3.648 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/1.202, allocations: 3.938 kB / 0.9115 GB, free: 3.645 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002102/1.204, allocations: 0.9267 MB / 0.9124 GB, free: 2.629 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006559/1.211, allocations: 2.252 MB / 0.9146 GB, free: 248 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.391e-05/1.211, allocations: 8 kB / 0.9146 GB, free: 240 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001425/1.212, allocations: 139.8 kB / 0.9147 GB, free: 100 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.022e-05/1.212, allocations: 8 kB / 0.9147 GB, free: 92 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/1.212, allocations: 19.95 kB / 0.9147 GB, free: 72 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.044e-05/1.212, allocations: 4 kB / 0.9147 GB, free: 68 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/1.212, allocations: 8.219 kB / 0.9148 GB, free: 60 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5454/1.758, allocations: 1.426 MB / 0.9161 GB, free: 216.1 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007819/1.759, allocations: 263.5 kB / 0.9164 GB, free: 216 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000214/1.759, allocations: 16.28 kB / 0.9164 GB, free: 216 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001629/1.761, allocations: 107.5 kB / 0.9165 GB, free: 216 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002233/1.761, allocations: 48.48 kB / 0.9166 GB, free: 216 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.224e-05/1.761, allocations: 23.48 kB / 0.9166 GB, free: 216 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.00157/1.763, allocations: 0.5829 MB / 0.9172 GB, free: 215.7 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.51e-07/1.763, allocations: 0 / 0.9172 GB, free: 215.7 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002418/1.765, allocations: 0.53 MB / 0.9177 GB, free: 215.7 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.U,spl.vol.dynBal.m,spl.vol.dynBal.mXi[1],senTem1.T,senTem2.T,senTem3.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): 60 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004801/1.77, allocations: 3.004 MB / 0.9206 GB, free: 213.4 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003329/1.773, allocations: 0.9555 MB / 0.9215 GB, free: 213.1 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.271e-05/1.773, allocations: 5.781 kB / 0.9215 GB, free: 213.1 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001214/1.774, allocations: 350.1 kB / 0.9219 GB, free: 213 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005537/1.78, allocations: 0.6136 MB / 0.9225 GB, free: 212.9 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01721/1.797, allocations: 6.813 MB / 0.9291 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009856/1.798, allocations: 1.147 MB / 0.9303 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002156/1.801, allocations: 287.5 kB / 0.9305 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009029/1.801, allocations: 422 kB / 0.9309 GB, free: 207.9 MB / 0.7292 GB Notification: Performance of SimCode: time 9.21e-07/1.801, allocations: 3.391 kB / 0.9309 GB, free: 207.9 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09401/1.895, allocations: 29.06 MB / 0.9593 GB, free: 193.7 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002752/1.896, allocations: 231.6 kB / 0.9595 GB, free: 193.5 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.806/5.702, allocations: 3.938 kB / 0.9595 GB, free: 193.5 MB / 0.7292 GB