Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Examples.Performance.Example1v2.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v2,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Examples_Performance_Example1v2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.066/4.066, allocations: 433.2 MB / 440.8 MB, free: 4.559 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.306e-05/3.322e-05, allocations: 4.562 kB / 0.5325 GB, free: 12.73 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.2312, allocations: 98.75 MB / 0.6289 GB, free: 9.113 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.222/1.453, allocations: 406.7 MB / 1.026 GB, free: 9.801 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003352/1.453, allocations: 92.56 kB / 1.026 GB, free: 9.754 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 12.09/13.54, allocations: 2.26 GB / 3.286 GB, free: 40.98 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.974e-06/13.54, allocations: 4 kB / 3.286 GB, free: 40.97 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.002011/13.54, allocations: 259.6 kB / 3.286 GB, free: 40.72 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1415 * Number of variables: 1415 Notification: Performance of Generate backend data structure: time 0.03984/13.58, allocations: 7.296 MB / 3.294 GB, free: 33.36 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/13.58, allocations: 12.03 kB / 3.294 GB, free: 33.35 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01128/13.59, allocations: 1.272 MB / 3.295 GB, free: 32.07 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04727/13.64, allocations: 12.59 MB / 3.307 GB, free: 19.45 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004237/13.64, allocations: 176 kB / 3.307 GB, free: 19.28 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003443/13.65, allocations: 359.9 kB / 3.308 GB, free: 18.93 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03806/13.68, allocations: 17.76 MB / 3.325 GB, free: 1.16 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7093/14.39, allocations: 12.53 MB / 3.337 GB, free: 92.91 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004894/14.39, allocations: 18.16 kB / 3.337 GB, free: 92.91 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003551/14.4, allocations: 12.09 kB / 3.337 GB, free: 92.91 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002266/14.4, allocations: 140.3 kB / 3.337 GB, free: 92.91 MB / 0.8542 GB Warning: The model contains alias variables with conflicting start and/or 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.175/14.57, allocations: 54.53 MB / 3.391 GB, free: 74.78 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.017/14.59, allocations: 8.636 MB / 3.399 GB, free: 74.71 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01806/14.61, allocations: 9.192 MB / 3.408 GB, free: 74.45 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07781/14.69, allocations: 26.27 MB / 3.434 GB, free: 67.16 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01544/14.7, allocations: 7.364 MB / 3.441 GB, free: 67.03 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.1036/14.81, allocations: 21.04 MB / 3.461 GB, free: 66.45 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=300): time 5.178e-05/14.81, allocations: 0 / 3.461 GB, free: 66.45 MB / 0.8542 GB Notification: Performance of matching and sorting (n=300): time 0.07873/14.88, allocations: 15.04 MB / 3.476 GB, free: 65.82 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.616e-05/14.88, allocations: 136.5 kB / 3.476 GB, free: 65.69 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01659/14.9, allocations: 6.385 MB / 3.482 GB, free: 65.31 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.002485/14.9, allocations: 32.92 kB / 3.482 GB, free: 65.28 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.005818/14.91, allocations: 4.034 MB / 3.486 GB, free: 64.31 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.003591/14.91, allocations: 1.043 MB / 3.487 GB, free: 63.79 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00161/14.91, allocations: 4 kB / 3.487 GB, free: 63.78 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003939/14.91, allocations: 498.6 kB / 3.488 GB, free: 63.46 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0126/14.93, allocations: 6.023 MB / 3.494 GB, free: 63.45 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01448/14.94, allocations: 7.802 MB / 3.501 GB, free: 61.21 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02304/14.97, allocations: 7.541 MB / 3.509 GB, free: 61.05 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.103e-05/14.97, allocations: 13.78 kB / 3.509 GB, free: 61.05 MB / 0.8542 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.05706/15.02, allocations: 16.57 MB / 3.525 GB, free: 58.64 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.00532/15.03, allocations: 24.65 MB / 3.549 GB, free: 32.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002196/15.03, allocations: 48.53 kB / 3.549 GB, free: 32.48 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007592/15.04, allocations: 1.546 MB / 3.551 GB, free: 32.19 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01587/15.05, allocations: 1.611 MB / 3.552 GB, free: 32.15 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02031/15.07, allocations: 6.721 MB / 3.559 GB, free: 28.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01874/15.09, allocations: 0.5047 MB / 3.559 GB, free: 28.26 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003545/15.09, allocations: 0.5468 MB / 3.56 GB, free: 28.22 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/15.09, allocations: 6.656 kB / 3.56 GB, free: 28.22 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0524/15.15, allocations: 15.74 MB / 3.575 GB, free: 22.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001994/15.15, allocations: 47.59 kB / 3.575 GB, free: 22.82 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007386/15.15, allocations: 1.41 MB / 3.577 GB, free: 22.56 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01599/15.17, allocations: 1.6 MB / 3.578 GB, free: 22.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0276/15.2, allocations: 10.27 MB / 3.588 GB, free: 32.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01798/15.22, allocations: 492.3 kB / 3.589 GB, free: 32.12 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003383/15.22, allocations: 0.5392 MB / 3.589 GB, free: 32.09 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 215 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (526): * Single equations (assignments): 520 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,2 5,20 21} Notification: Performance of prepare postOptimizeDAE: time 0.005195/15.22, allocations: 264.1 kB / 3.589 GB, free: 31.96 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.05265/15.28, allocations: 14.86 MB / 3.604 GB, free: 26.61 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004821/15.28, allocations: 0.6913 MB / 3.605 GB, free: 26.24 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05068/15.33, allocations: 13.8 MB / 3.618 GB, free: 16.41 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.309e-05/15.33, allocations: 32 kB / 3.618 GB, free: 16.38 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/15.33, allocations: 0 / 3.618 GB, free: 16.38 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03479/15.37, allocations: 10.5 MB / 3.628 GB, free: 7.043 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07116/15.44, allocations: 23.5 MB / 3.651 GB, free: 3.328 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-05/15.44, allocations: 0 / 3.651 GB, free: 3.328 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0102/15.45, allocations: 0.7027 MB / 3.652 GB, free: 2.781 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00324/15.45, allocations: 0.6992 MB / 3.653 GB, free: 2.18 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001314/15.45, allocations: 64.12 kB / 3.653 GB, free: 2.133 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6828/16.14, allocations: 4.927 MB / 3.658 GB, free: 119.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.286e-06/16.14, allocations: 9.969 kB / 3.658 GB, free: 119.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05249/16.19, allocations: 18.39 MB / 3.676 GB, free: 118.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008707/16.2, allocations: 1.914 MB / 3.677 GB, free: 118.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00388/16.2, allocations: 25.83 kB / 3.677 GB, free: 118.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01273/16.22, allocations: 363 kB / 3.678 GB, free: 118.6 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001938/16.22, allocations: 216.3 kB / 3.678 GB, free: 118.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001428/16.22, allocations: 160.6 kB / 3.678 GB, free: 118.5 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.01308/16.23, allocations: 4.844 MB / 3.683 GB, free: 118.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.102e-06/16.23, allocations: 4.828 kB / 3.683 GB, free: 118.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.03376/16.27, allocations: 5.008 MB / 3.688 GB, free: 118.1 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 22 (pump.vol.dynBal.U,hea.outCon.T,vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U,vol[4].dynBal.U,vol[5].dynBal.U,vol[6].dynBal.U,vol[7].dynBal.U,vol[8].dynBal.U,vol[9].dynBal.U,vol[10].dynBal.U,vol[11].dynBal.U,vol[12].dynBal.U,vol[13].dynBal.U,vol[14].dynBal.U,vol[15].dynBal.U,vol[16].dynBal.U,vol[17].dynBal.U,vol[18].dynBal.U,vol[19].dynBal.U,vol[20].dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (304): * Single equations (assignments): 294 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,20 21,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.05069/16.32, allocations: 19.87 MB / 3.707 GB, free: 116.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.05155/16.37, allocations: 22.61 MB / 3.729 GB, free: 116 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.496e-05/16.37, allocations: 7.156 kB / 3.729 GB, free: 116 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.01283/16.38, allocations: 5.936 MB / 3.735 GB, free: 115.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03322/16.41, allocations: 4.009 MB / 3.739 GB, free: 115.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05788/16.47, allocations: 18.97 MB / 3.757 GB, free: 112.9 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01055/16.48, allocations: 5.366 MB / 3.763 GB, free: 112.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.04571/16.53, allocations: 7.318 MB / 3.77 GB, free: 112 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0128/16.54, allocations: 3.673 MB / 3.773 GB, free: 112 MB / 0.8855 GB Notification: Performance of SimCode: time 1.373e-06/16.54, allocations: 0 / 3.773 GB, free: 112 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.288/17.83, allocations: 268.2 MB / 4.035 GB, free: 119.6 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002594/17.83, allocations: 165.2 kB / 4.036 GB, free: 119.4 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.83/32.66, allocations: 3.938 kB / 4.036 GB, free: 119.4 MB / 0.9011 GB