Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.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.Examples.FlowSystem.Simplified5,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Examples_FlowSystem_Simplified5",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.01325/0.01325, allocations: 220.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.001302/0.001302, allocations: 180.3 kB / 16.06 MB, free: 5.871 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.804/3.804, allocations: 389 MB / 405.9 MB, free: 13.34 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.28/4.28, allocations: 472.3 MB / 0.9018 GB, free: 3.492 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004949/0.0004952, allocations: 12 kB / 1.008 GB, free: 10.15 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6739/0.6745, allocations: 98.72 MB / 1.104 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified5): time 1.016/1.69, allocations: 325.8 MB / 1.422 GB, free: 62.7 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.1357/1.826, allocations: 71.88 MB / 1.493 GB, free: 54.93 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01696/1.843, allocations: 384.2 kB / 1.493 GB, free: 54.93 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0204/1.864, allocations: 4.448 MB / 1.497 GB, free: 52.02 MB / 0.7605 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. Notification: Performance of NFTyping.typeBindings: time 0.05465/1.918, allocations: 13.53 MB / 1.51 GB, free: 43.72 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.04409/1.962, allocations: 11.21 MB / 1.521 GB, free: 37.82 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.04428/2.007, allocations: 32.48 MB / 1.553 GB, free: 8.125 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02625/2.033, allocations: 13.4 MB / 1.566 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0314/2.064, allocations: 11.33 MB / 1.577 GB, free: 0.793 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03356/2.098, allocations: 12.49 MB / 1.589 GB, free: 5.25 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.006958/2.105, allocations: 0.9688 MB / 1.59 GB, free: 4.281 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01931/2.124, allocations: 3.283 MB / 1.594 GB, free: 1.074 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.009273/2.134, allocations: 4.006 MB / 1.598 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.008606/2.142, allocations: 2.631 MB / 1.6 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.03356/2.176, allocations: 17.46 MB / 1.617 GB, free: 9.91 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/2.176, allocations: 4 kB / 1.617 GB, free: 9.906 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.535e-06/2.176, allocations: 0 / 1.617 GB, free: 9.906 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0006585/2.177, allocations: 0 / 1.617 GB, free: 9.906 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1489 * Number of variables: 1489 Notification: Performance of Generate backend data structure: time 0.07159/2.248, allocations: 17.09 MB / 1.634 GB, free: 8.84 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/2.248, allocations: 12.03 kB / 1.634 GB, free: 8.828 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004157/2.253, allocations: 0.7728 MB / 1.635 GB, free: 8.047 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01763/2.27, allocations: 2.364 MB / 1.637 GB, free: 5.664 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04562/2.316, allocations: 14.34 MB / 1.651 GB, free: 7.582 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003023/2.319, allocations: 0.7714 MB / 1.652 GB, free: 6.809 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004282/2.323, allocations: 0.6797 MB / 1.652 GB, free: 6.129 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04577/2.369, allocations: 13.91 MB / 1.666 GB, free: 8.074 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003168/2.369, allocations: 11.84 kB / 1.666 GB, free: 8.062 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003986/2.373, allocations: 249.9 kB / 1.666 GB, free: 7.82 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002227/2.374, allocations: 144 kB / 1.666 GB, free: 7.68 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05455/2.428, allocations: 18.86 MB / 1.685 GB, free: 4.809 MB / 0.8855 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 1.208/3.637, allocations: 73.81 MB / 1.757 GB, free: 310.4 MB / 0.9012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02736/3.664, allocations: 10.53 MB / 1.767 GB, free: 305.9 MB / 0.9012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02264/3.687, allocations: 9.104 MB / 1.776 GB, free: 301.2 MB / 0.9012 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 evalFunc (simulation): time 0.09696/3.784, allocations: 32.05 MB / 1.807 GB, free: 279.4 MB / 0.9012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02226/3.806, allocations: 8.907 MB / 1.816 GB, free: 271.9 MB / 0.9012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04896/3.855, allocations: 9.957 MB / 1.826 GB, free: 262.8 MB / 0.9012 GB Notification: Performance of pre-optimization done (n=386): time 4.508e-05/3.855, allocations: 0.5625 kB / 1.826 GB, free: 262.8 MB / 0.9012 GB Notification: Performance of matching and sorting (n=572): time 1.951/5.806, allocations: 214.4 MB / 2.035 GB, free: 48.25 MB / 0.9012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.426e-05/5.807, allocations: 115.8 kB / 2.035 GB, free: 48.12 MB / 0.9012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02841/5.835, allocations: 14.9 MB / 2.05 GB, free: 33.33 MB / 0.9012 GB Notification: Performance of collectPreVariables (initialization): time 0.00364/5.839, allocations: 177.7 kB / 2.05 GB, free: 33.15 MB / 0.9012 GB Notification: Performance of collectInitialEqns (initialization): time 0.00745/5.846, allocations: 6.033 MB / 2.056 GB, free: 27.26 MB / 0.9012 GB Notification: Performance of collectInitialBindings (initialization): time 0.004665/5.851, allocations: 1.922 MB / 2.058 GB, free: 25.36 MB / 0.9012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002335/5.853, allocations: 144 kB / 2.058 GB, free: 25.21 MB / 0.9012 GB Notification: Performance of setup shared object (initialization): time 0.0004583/5.854, allocations: 0.6029 MB / 2.058 GB, free: 24.61 MB / 0.9012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02301/5.877, allocations: 8.715 MB / 2.067 GB, free: 15.89 MB / 0.9012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02498/5.902, allocations: 11.04 MB / 2.078 GB, free: 3.898 MB / 0.9012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6085/6.51, allocations: 9.654 MB / 2.087 GB, free: 311.1 MB / 0.9012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.064e-05/6.51, allocations: 15.88 kB / 2.087 GB, free: 311.1 MB / 0.9012 GB Notification: Performance of matching and sorting (n=954) (initialization): time 1.419/7.93, allocations: 138.1 MB / 2.222 GB, free: 237.8 MB / 0.9012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008873/7.931, allocations: 1.551 MB / 2.223 GB, free: 235.6 MB / 0.9012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.361e-05/7.931, allocations: 44 kB / 2.224 GB, free: 235.6 MB / 0.9012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578/9.509, allocations: 166.2 MB / 2.386 GB, free: 69.14 MB / 0.9012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01698/9.526, allocations: 1.674 MB / 2.387 GB, free: 67.46 MB / 0.9012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.9193/10.45, allocations: 95.32 MB / 2.481 GB, free: 281.1 MB / 0.9012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02741/10.47, allocations: 0.9581 MB / 2.482 GB, free: 280.9 MB / 0.9012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005073/10.48, allocations: 0.7656 MB / 2.482 GB, free: 280.9 MB / 0.9012 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/10.48, allocations: 3.594 kB / 2.482 GB, free: 280.9 MB / 0.9012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.421/11.9, allocations: 137 MB / 2.616 GB, free: 189.3 MB / 0.9012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001625/11.9, allocations: 45.17 kB / 2.616 GB, free: 189.3 MB / 0.9012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522/13.42, allocations: 165.9 MB / 2.778 GB, free: 23.09 MB / 0.9012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.5998/14.02, allocations: 1.654 MB / 2.78 GB, free: 295.8 MB / 0.9012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.394/14.41, allocations: 99.31 MB / 2.877 GB, free: 268.3 MB / 0.9012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02586/14.44, allocations: 0.9634 MB / 2.878 GB, free: 267.9 MB / 0.9012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004553/14.45, allocations: 0.731 MB / 2.878 GB, free: 267.6 MB / 0.9012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 207 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,stepPump.y,$PRE.stepPump.pulsStart,stepPump.pulsStart,pumpHea.stage,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (679): * Single equations (assignments): 665 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(32,82.2%) 39} * Non-linear torn systems: 2 {7 78,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.01462/14.46, allocations: 3.061 MB / 2.881 GB, free: 265.8 MB / 0.9012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006105/14.47, allocations: 1.196 MB / 2.883 GB, free: 265.8 MB / 0.9012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3752/14.84, allocations: 52.21 MB / 2.934 GB, free: 218 MB / 0.9012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001245/14.84, allocations: 76 kB / 2.934 GB, free: 217.9 MB / 0.9012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001591/14.84, allocations: 35.56 kB / 2.934 GB, free: 217.9 MB / 0.9012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3498/15.19, allocations: 46.77 MB / 2.979 GB, free: 171.3 MB / 0.9012 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 postOpt removeSimpleEquations (simulation): time 0.3981/15.59, allocations: 66.36 MB / 3.044 GB, free: 105.3 MB / 0.9012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001036/15.59, allocations: 8 kB / 3.044 GB, free: 105.3 MB / 0.9012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01067/15.6, allocations: 1.131 MB / 3.045 GB, free: 104.2 MB / 0.9012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3865/15.99, allocations: 49.26 MB / 3.093 GB, free: 55.14 MB / 0.9012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002117/15.99, allocations: 187.9 kB / 3.093 GB, free: 54.95 MB / 0.9012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.137/16.13, allocations: 41.46 MB / 3.134 GB, free: 13.39 MB / 0.9012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-05/16.13, allocations: 15.98 kB / 3.134 GB, free: 13.37 MB / 0.9012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.9831/17.11, allocations: 58.77 MB / 3.191 GB, free: 288.9 MB / 0.9012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01187/17.12, allocations: 2.681 MB / 3.194 GB, free: 288 MB / 0.9012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005882/17.13, allocations: 133.2 kB / 3.194 GB, free: 287.9 MB / 0.9012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02104/17.15, allocations: 0.8501 MB / 3.195 GB, free: 287.8 MB / 0.9012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003944/17.15, allocations: 494.5 kB / 3.195 GB, free: 287.8 MB / 0.9012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001894/17.15, allocations: 281.6 kB / 3.196 GB, free: 287.7 MB / 0.9012 GB Notification: Performance of sorting global known variables: time 0.02475/17.18, allocations: 10.4 MB / 3.206 GB, free: 284.1 MB / 0.9012 GB Notification: Performance of sort global known variables: time 1.182e-06/17.18, allocations: 3.125 kB / 3.206 GB, free: 284.1 MB / 0.9012 GB Notification: Performance of remove unused functions: time 0.04958/17.23, allocations: 6.823 MB / 3.213 GB, free: 283.7 MB / 0.9012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 3 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,heater.outCon.T) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,stepPump.y,stepPump.pulsStart,pumpHea.stage,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (503): * Single equations (assignments): 481 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(32,82.2%) 39} * Non-linear torn systems: 3 {9 78,1 1,7 78} Notification: Performance of Backend phase and start with SimCode phase: time 0.3802/17.61, allocations: 60.01 MB / 3.271 GB, free: 235.3 MB / 0.9012 GB Notification: Performance of simCode: created initialization part: time 0.1274/17.74, allocations: 36.19 MB / 3.306 GB, free: 199.2 MB / 0.9012 GB Notification: Performance of simCode: created event and clocks part: time 1.686e-05/17.74, allocations: 7.609 kB / 3.306 GB, free: 199.2 MB / 0.9012 GB Notification: Performance of simCode: created simulation system equations: time 0.0356/17.77, allocations: 10.36 MB / 3.317 GB, free: 188.9 MB / 0.9012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05593/17.83, allocations: 6.395 MB / 3.323 GB, free: 183.2 MB / 0.9012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.335/20.16, allocations: 284 MB / 3.6 GB, free: 259.4 MB / 0.9012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01216/20.18, allocations: 7.261 MB / 3.607 GB, free: 255.4 MB / 0.9012 GB Notification: Performance of simCode: alias equations: time 0.02534/20.2, allocations: 3.702 MB / 3.611 GB, free: 252.1 MB / 0.9012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0141/20.22, allocations: 6.196 MB / 3.617 GB, free: 245.9 MB / 0.9012 GB Notification: Performance of SimCode: time 1.793e-06/20.22, allocations: 4 kB / 3.617 GB, free: 245.9 MB / 0.9012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.616/21.83, allocations: 0.5037 GB / 4.121 GB, free: 47.24 MB / 0.9012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002101/21.83, allocations: 269.8 kB / 4.121 GB, free: 46.88 MB / 0.9012 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.02/48.85, allocations: 0 / 4.121 GB, free: 46.88 MB / 0.9012 GB