Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.265/2.265, allocations: 248.7 MB / 256.2 MB, free: 7.059 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001505/0.001505, allocations: 188.2 kB / 315.4 MB, free: 3.973 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.051/2.051, allocations: 205.3 MB / 0.5662 GB, free: 0.5352 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001162/0.001161, allocations: 81.92 kB / 0.6704 GB, free: 5.746 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.474e-05/2.485e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2272, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.122/2.349, allocations: 402.6 MB / 1.277 GB, free: 264.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003343/2.35, allocations: 92.81 kB / 1.277 GB, free: 264.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 14.69/17.04, allocations: 2.647 GB / 3.924 GB, free: 53.02 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.515e-06/17.04, allocations: 0 / 3.924 GB, free: 53.02 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.001347/17.04, allocations: 176.9 kB / 3.924 GB, free: 52.99 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.02497/17.06, allocations: 5.902 MB / 3.93 GB, free: 49.94 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.984e-05/17.06, allocations: 6.906 kB / 3.93 GB, free: 49.94 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005779/17.07, allocations: 0.7865 MB / 3.931 GB, free: 49.57 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1888/17.26, allocations: 57.64 MB / 3.987 GB, free: 45.47 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002382/17.26, allocations: 128.8 kB / 3.987 GB, free: 45.47 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001359/17.26, allocations: 252.8 kB / 3.987 GB, free: 45.47 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009201/17.27, allocations: 2.525 MB / 3.99 GB, free: 45.45 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01215/17.28, allocations: 3.575 MB / 3.993 GB, free: 44.64 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000157/17.28, allocations: 18.72 kB / 3.993 GB, free: 44.63 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005246/17.28, allocations: 6.625 kB / 3.993 GB, free: 44.63 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001698/17.28, allocations: 120.8 kB / 3.994 GB, free: 44.62 MB / 0.9948 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.04124/17.32, allocations: 23.33 MB / 4.016 GB, free: 30.16 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004454/17.33, allocations: 2.843 MB / 4.019 GB, free: 28.49 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00217/17.33, allocations: 0.9887 MB / 4.02 GB, free: 28.09 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00353/17.33, allocations: 3.94 MB / 4.024 GB, free: 23.61 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.799e-05/17.33, allocations: 62.05 kB / 4.024 GB, free: 23.55 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=225): time 6.172e-06/17.33, allocations: 0 / 4.024 GB, free: 23.55 MB / 0.9948 GB Notification: Performance of matching and sorting (n=225): time 0.01274/17.35, allocations: 2.884 MB / 4.027 GB, free: 22.46 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/17.35, allocations: 73.97 kB / 4.027 GB, free: 22.39 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008444/17.36, allocations: 3.286 MB / 4.03 GB, free: 21.12 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007218/17.36, allocations: 33.05 kB / 4.03 GB, free: 21.09 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003038/17.36, allocations: 2.779 MB / 4.033 GB, free: 18.89 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001432/17.36, allocations: 0.7503 MB / 4.034 GB, free: 18.3 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001916/17.36, allocations: 0 / 4.034 GB, free: 18.3 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001824/17.36, allocations: 410.2 kB / 4.034 GB, free: 17.95 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00173/17.36, allocations: 0.73 MB / 4.035 GB, free: 17.64 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00244/17.37, allocations: 1.703 MB / 4.036 GB, free: 16.08 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006059/17.37, allocations: 1.367 MB / 4.038 GB, free: 15.57 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-05/17.37, allocations: 6.969 kB / 4.038 GB, free: 15.57 MB / 0.9948 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.01429/17.39, allocations: 3.475 MB / 4.041 GB, free: 14.27 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002308/17.39, allocations: 10.31 MB / 4.051 GB, free: 3.266 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.375e-05/17.39, allocations: 18.53 kB / 4.051 GB, free: 3.266 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001376/17.39, allocations: 344.7 kB / 4.052 GB, free: 3.152 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003706/17.39, allocations: 0.5245 MB / 4.052 GB, free: 3.094 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002932/17.4, allocations: 2.76 MB / 4.055 GB, free: 16.71 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008826/17.41, allocations: 0.4991 MB / 4.055 GB, free: 16.54 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008778/17.41, allocations: 128.9 kB / 4.055 GB, free: 16.52 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/17.41, allocations: 3.938 kB / 4.055 GB, free: 16.52 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01102/17.42, allocations: 2.754 MB / 4.058 GB, free: 15.58 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.224e-05/17.42, allocations: 26.38 kB / 4.058 GB, free: 15.58 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001552/17.42, allocations: 350.3 kB / 4.058 GB, free: 15.48 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003699/17.42, allocations: 0.5235 MB / 4.059 GB, free: 15.43 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0132/17.44, allocations: 7.399 MB / 4.066 GB, free: 8.555 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00873/17.45, allocations: 470.5 kB / 4.067 GB, free: 8.191 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009067/17.45, allocations: 130.4 kB / 4.067 GB, free: 8.074 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (299): * Single equations (assignments): 295 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 12,1 9,1 12,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0009194/17.45, allocations: 180.6 kB / 4.067 GB, free: 7.891 MB / 1.01 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01226/17.46, allocations: 2.745 MB / 4.07 GB, free: 5.434 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002617/17.46, allocations: 0.5016 MB / 4.07 GB, free: 4.926 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01561/17.48, allocations: 3.757 MB / 4.074 GB, free: 1.754 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001161/17.48, allocations: 39.41 kB / 4.074 GB, free: 1.723 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/17.48, allocations: 0 / 4.074 GB, free: 1.723 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0121/17.49, allocations: 2.714 MB / 4.076 GB, free: 15.57 MB / 1.026 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 postOpt removeSimpleEquations (simulation): time 0.02899/17.52, allocations: 8.047 MB / 4.084 GB, free: 8.93 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-05/17.52, allocations: 0 / 4.084 GB, free: 8.93 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003235/17.52, allocations: 389.6 kB / 4.085 GB, free: 8.602 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008988/17.52, allocations: 215.5 kB / 4.085 GB, free: 8.402 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003843/17.52, allocations: 41.38 kB / 4.085 GB, free: 8.371 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002668/17.53, allocations: 2.51 MB / 4.087 GB, free: 5.812 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.163e-06/17.53, allocations: 0 / 4.087 GB, free: 5.812 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01695/17.54, allocations: 4.711 MB / 4.092 GB, free: 1.441 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005853/17.55, allocations: 0.967 MB / 4.093 GB, free: 0.6094 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002261/17.55, allocations: 8 kB / 4.093 GB, free: 0.6016 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008437/17.56, allocations: 390.8 kB / 4.093 GB, free: 336 kB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008068/17.56, allocations: 153.9 kB / 4.093 GB, free: 240 kB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004631/17.56, allocations: 106.7 kB / 4.093 GB, free: 152 kB / 1.026 GB Notification: Performance of sorting global known variables: time 1.006/18.57, allocations: 2.428 MB / 4.096 GB, free: 83.57 MB / 1.026 GB Notification: Performance of sort global known variables: time 6.41e-07/18.57, allocations: 0 / 4.096 GB, free: 83.57 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.02326/18.59, allocations: 3.449 MB / 4.099 GB, free: 83.57 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (227): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * 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: 0 * Non-linear torn systems: 4 {1 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.02661/18.62, allocations: 8.541 MB / 4.108 GB, free: 81.4 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.01261/18.63, allocations: 4.239 MB / 4.112 GB, free: 80.88 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.265e-05/18.63, allocations: 3.266 kB / 4.112 GB, free: 80.88 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.003876/18.63, allocations: 1.235 MB / 4.113 GB, free: 80.86 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02572/18.66, allocations: 2.639 MB / 4.115 GB, free: 80.82 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03131/18.69, allocations: 8.319 MB / 4.124 GB, free: 78.82 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005591/18.7, allocations: 2.999 MB / 4.127 GB, free: 78.02 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.01416/18.71, allocations: 1.487 MB / 4.128 GB, free: 77.97 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005453/18.72, allocations: 2.436 MB / 4.13 GB, free: 77.97 MB / 1.026 GB Notification: Performance of SimCode: time 1.193e-06/18.72, allocations: 4.219 kB / 4.13 GB, free: 77.97 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4716/19.19, allocations: 160.5 MB / 4.287 GB, free: 67.38 MB / 1.026 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002352/19.19, allocations: 163.3 kB / 4.287 GB, free: 67.19 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/30.66, allocations: 9.531 kB / 4.287 GB, free: 67.18 MB / 1.026 GB