Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01064/0.01064, allocations: 92.88 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001255/0.001255, allocations: 173.3 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.159/2.159, allocations: 205.5 MB / 222.2 MB, free: 13.57 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.672/2.672, allocations: 252.8 MB / 0.511 GB, free: 8.273 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000633/0.0006331, allocations: 9.562 kB / 0.6243 GB, free: 21.23 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2374, allocations: 106.2 MB / 0.7281 GB, free: 8.098 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 1.001/1.238, allocations: 196.9 MB / 0.9204 GB, free: 6.875 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.01704/1.255, allocations: 7.291 MB / 0.9275 GB, free: 1.012 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002131/1.258, allocations: 40.22 kB / 0.9275 GB, free: 0.9922 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003455/1.261, allocations: 0.6702 MB / 0.9282 GB, free: 436 kB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.008743/1.27, allocations: 1.932 MB / 0.9301 GB, free: 14.84 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.007328/1.277, allocations: 1.663 MB / 0.9317 GB, free: 13.65 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00501/1.282, allocations: 1.905 MB / 0.9335 GB, free: 12.4 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002027/1.284, allocations: 0.8318 MB / 0.9344 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005145/1.29, allocations: 1.44 MB / 0.9358 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001766/1.291, allocations: 0.6094 MB / 0.9364 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003263/1.292, allocations: 48.97 kB / 0.9364 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004297/1.296, allocations: 1.063 MB / 0.9374 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0008008/1.297, allocations: 362.2 kB / 0.9378 GB, free: 9.93 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0006719/1.298, allocations: 291.9 kB / 0.9381 GB, free: 9.773 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003769/1.301, allocations: 1.633 MB / 0.9397 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/1.302, allocations: 3.938 kB / 0.9397 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.026e-06/1.302, allocations: 0 / 0.9397 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.545e-05/1.302, allocations: 2.281 kB / 0.9397 GB, free: 8.691 MB / 0.6823 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.004076/1.306, allocations: 1.442 MB / 0.9411 GB, free: 7.59 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/1.306, allocations: 10.47 kB / 0.9411 GB, free: 7.59 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003295/1.306, allocations: 127.6 kB / 0.9412 GB, free: 7.484 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00406/1.31, allocations: 432.3 kB / 0.9416 GB, free: 7.293 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002848/1.313, allocations: 0.9197 MB / 0.9425 GB, free: 6.578 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.033e-05/1.313, allocations: 67.7 kB / 0.9426 GB, free: 6.543 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002241/1.313, allocations: 88.53 kB / 0.9427 GB, free: 6.516 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002783/1.316, allocations: 0.8659 MB / 0.9435 GB, free: 6.02 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.94e-05/1.316, allocations: 2.781 kB / 0.9435 GB, free: 6.02 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001357/1.316, allocations: 35.53 kB / 0.9436 GB, free: 5.992 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-05/1.316, allocations: 32.14 kB / 0.9436 GB, free: 5.988 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002652/1.319, allocations: 0.8223 MB / 0.9444 GB, free: 5.582 MB / 0.6823 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.008195/1.327, allocations: 3.64 MB / 0.9479 GB, free: 2.496 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00238/1.33, allocations: 1.125 MB / 0.949 GB, free: 1.578 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006657/1.33, allocations: 154 kB / 0.9492 GB, free: 1.453 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.349e-05/1.331, allocations: 44.41 kB / 0.9492 GB, free: 1.406 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=60): time 3.126e-06/1.331, allocations: 0 / 0.9492 GB, free: 1.406 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60): time 0.003597/1.334, allocations: 0.9699 MB / 0.9502 GB, free: 0.9453 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/1.334, allocations: 63.38 kB / 0.9502 GB, free: 0.8789 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001693/1.336, allocations: 0.8295 MB / 0.951 GB, free: 408 kB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001521/1.336, allocations: 39.14 kB / 0.9511 GB, free: 368 kB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000539/1.337, allocations: 476.1 kB / 0.9515 GB, free: 15.95 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003173/1.337, allocations: 214.8 kB / 0.9517 GB, free: 15.76 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.531e-05/1.337, allocations: 16.84 kB / 0.9518 GB, free: 15.75 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001475/1.337, allocations: 331 kB / 0.9521 GB, free: 15.42 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008412/1.338, allocations: 240.2 kB / 0.9523 GB, free: 15.31 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/1.339, allocations: 373.4 kB / 0.9527 GB, free: 15.07 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000995/1.34, allocations: 305.4 kB / 0.953 GB, free: 14.91 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/1.34, allocations: 4 kB / 0.953 GB, free: 14.91 MB / 0.698 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002396/1.343, allocations: 0.7407 MB / 0.9537 GB, free: 14.54 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002362/1.343, allocations: 458.7 kB / 0.9541 GB, free: 14.06 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/1.343, allocations: 3 kB / 0.9541 GB, free: 14.06 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/1.343, allocations: 2.906 kB / 0.9541 GB, free: 14.06 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/1.344, allocations: 127.4 kB / 0.9542 GB, free: 14.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/1.344, allocations: 6.5 kB / 0.9542 GB, free: 14.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001747/1.346, allocations: 132 kB / 0.9544 GB, free: 13.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.639e-05/1.346, allocations: 30.06 kB / 0.9544 GB, free: 13.95 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/1.346, allocations: 6.656 kB / 0.9544 GB, free: 13.95 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002001/1.348, allocations: 0.6207 MB / 0.955 GB, free: 13.65 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/1.348, allocations: 0 / 0.955 GB, free: 13.65 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/1.348, allocations: 2.938 kB / 0.955 GB, free: 13.65 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/1.349, allocations: 131.6 kB / 0.9551 GB, free: 13.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/1.349, allocations: 2.562 kB / 0.9551 GB, free: 13.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001732/1.351, allocations: 128.8 kB / 0.9553 GB, free: 13.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.97e-05/1.351, allocations: 22.78 kB / 0.9553 GB, free: 13.54 MB / 0.698 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.0007983/1.352, allocations: 383.7 kB / 0.9557 GB, free: 13.24 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003179/1.352, allocations: 106.6 kB / 0.9558 GB, free: 13.18 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002337/1.355, allocations: 0.7548 MB / 0.9565 GB, free: 12.77 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/1.355, allocations: 9.203 kB / 0.9565 GB, free: 12.77 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/1.355, allocations: 2.781 kB / 0.9565 GB, free: 12.77 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001993/1.357, allocations: 0.9095 MB / 0.9574 GB, free: 12.07 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005915/1.363, allocations: 2.267 MB / 0.9596 GB, free: 10.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/1.363, allocations: 7.938 kB / 0.9596 GB, free: 10.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001331/1.364, allocations: 139.9 kB / 0.9597 GB, free: 10.17 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.911e-05/1.364, allocations: 8 kB / 0.9598 GB, free: 10.16 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.436e-05/1.364, allocations: 19.98 kB / 0.9598 GB, free: 10.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.316e-05/1.364, allocations: 7.938 kB / 0.9598 GB, free: 10.13 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/1.364, allocations: 4.156 kB / 0.9598 GB, free: 10.13 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003643/1.368, allocations: 1.433 MB / 0.9612 GB, free: 8.562 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007933/1.369, allocations: 267.7 kB / 0.9614 GB, free: 8.281 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001959/1.369, allocations: 12 kB / 0.9615 GB, free: 8.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001548/1.37, allocations: 107.7 kB / 0.9616 GB, free: 8.164 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000192/1.371, allocations: 52.28 kB / 0.9616 GB, free: 8.113 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.162e-05/1.371, allocations: 23.98 kB / 0.9616 GB, free: 8.09 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001308/1.372, allocations: 0.5784 MB / 0.9622 GB, free: 7.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.02e-07/1.372, allocations: 4 kB / 0.9622 GB, free: 7.496 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002126/1.374, allocations: 0.526 MB / 0.9627 GB, free: 6.969 MB / 0.698 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.005107/1.379, allocations: 3.02 MB / 0.9657 GB, free: 3.836 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003132/1.382, allocations: 0.9587 MB / 0.9666 GB, free: 2.871 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/1.383, allocations: 4 kB / 0.9666 GB, free: 2.867 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001112/1.384, allocations: 343.1 kB / 0.9669 GB, free: 2.535 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005498/1.389, allocations: 0.6133 MB / 0.9675 GB, free: 1.926 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01709/1.406, allocations: 6.783 MB / 0.9742 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001003/1.407, allocations: 1.151 MB / 0.9753 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001982/1.409, allocations: 296.1 kB / 0.9756 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009428/1.41, allocations: 415.3 kB / 0.976 GB, free: 9 MB / 0.7136 GB Notification: Performance of SimCode: time 1.142e-06/1.41, allocations: 0 / 0.976 GB, free: 9 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0889/1.499, allocations: 28.88 MB / 1.004 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003106/1.5, allocations: 230.8 kB / 1.004 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.744/5.244, allocations: 4 kB / 1.004 GB, free: 12.29 MB / 0.7448 GB