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.196/2.196, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001544/0.001544, allocations: 182.1 kB / 325.5 MB, free: 2.891 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.353/2.353, allocations: 205.4 MB / 0.5764 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001075/0.001075, allocations: 94.97 kB / 0.6809 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000461/0.000461, allocations: 12.03 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2033, allocations: 106.3 MB / 0.8988 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.251/1.454, allocations: 402.4 MB / 1.292 GB, free: 248 kB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004201/1.455, allocations: 97.52 kB / 1.292 GB, free: 196 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 15.58/17.03, allocations: 2.667 GB / 3.959 GB, free: 55.07 MB / 1.01 GB Notification: Performance of FrontEnd: time 3.427e-06/17.03, allocations: 0 / 3.959 GB, free: 55.07 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.00126/17.03, allocations: 168.1 kB / 3.959 GB, free: 55.04 MB / 1.01 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.03224/17.07, allocations: 7.143 MB / 3.966 GB, free: 51.88 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 6.665e-05/17.07, allocations: 10.19 kB / 3.966 GB, free: 51.88 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003292/17.07, allocations: 0.5374 MB / 3.967 GB, free: 51.82 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005957/17.08, allocations: 0.7809 MB / 3.967 GB, free: 51.45 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.201/17.28, allocations: 58.1 MB / 4.024 GB, free: 48.36 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006174/17.28, allocations: 318.9 kB / 4.024 GB, free: 48.35 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001984/17.28, allocations: 427.2 kB / 4.025 GB, free: 48.35 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01697/17.3, allocations: 4.235 MB / 4.029 GB, free: 47.57 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003026/17.3, allocations: 18.55 kB / 4.029 GB, free: 47.57 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001481/17.3, allocations: 174.5 kB / 4.029 GB, free: 47.57 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001799/17.3, allocations: 119.6 kB / 4.029 GB, free: 47.57 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01194/17.31, allocations: 2.908 MB / 4.032 GB, free: 47.53 MB / 1.01 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.04745/17.36, allocations: 24 MB / 4.056 GB, free: 33.3 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005535/17.36, allocations: 2.952 MB / 4.059 GB, free: 32.11 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003761/17.37, allocations: 3.94 MB / 4.062 GB, free: 27.7 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001143/17.37, allocations: 61.84 kB / 4.062 GB, free: 27.66 MB / 1.01 GB Notification: Performance of pre-optimization done (n=225): time 6.432e-06/17.37, allocations: 2.875 kB / 4.062 GB, free: 27.66 MB / 1.01 GB Notification: Performance of matching and sorting (n=225): time 0.01722/17.39, allocations: 4.105 MB / 4.066 GB, free: 26.88 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.595e-05/17.39, allocations: 75.09 kB / 4.066 GB, free: 26.82 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01174/17.4, allocations: 3.667 MB / 4.07 GB, free: 26.5 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0008021/17.4, allocations: 75.45 kB / 4.07 GB, free: 26.47 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.00391/17.4, allocations: 2.774 MB / 4.073 GB, free: 25.61 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001561/17.4, allocations: 0.7865 MB / 4.074 GB, free: 25.1 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003012/17.4, allocations: 53.56 kB / 4.074 GB, free: 25.1 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002284/17.4, allocations: 408.8 kB / 4.074 GB, free: 24.79 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002581/17.41, allocations: 0.8028 MB / 4.075 GB, free: 24.78 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00388/17.41, allocations: 1.806 MB / 4.077 GB, free: 23.62 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003574/17.41, allocations: 1.099 MB / 4.078 GB, free: 23.59 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-05/17.41, allocations: 6.312 kB / 4.078 GB, free: 23.59 MB / 1.01 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.01261/17.43, allocations: 3.359 MB / 4.081 GB, free: 23.21 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.003552/17.43, allocations: 10.35 MB / 4.091 GB, free: 28.45 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001019/17.43, allocations: 18.38 kB / 4.091 GB, free: 28.45 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001839/17.43, allocations: 403.3 kB / 4.091 GB, free: 28.41 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003866/17.44, allocations: 0.5274 MB / 4.092 GB, free: 28.41 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003215/17.44, allocations: 2.69 MB / 4.095 GB, free: 26.32 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009034/17.45, allocations: 0.5616 MB / 4.095 GB, free: 26.18 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000875/17.45, allocations: 129.1 kB / 4.095 GB, free: 26.18 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/17.45, allocations: 5.25 kB / 4.095 GB, free: 26.18 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009661/17.46, allocations: 2.81 MB / 4.098 GB, free: 26.08 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.878e-05/17.46, allocations: 23.8 kB / 4.098 GB, free: 26.08 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001735/17.46, allocations: 379 kB / 4.098 GB, free: 26.04 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003844/17.47, allocations: 0.5277 MB / 4.099 GB, free: 26.04 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01382/17.48, allocations: 7.8 MB / 4.107 GB, free: 20.39 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008529/17.49, allocations: 0.5188 MB / 4.107 GB, free: 20.28 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008439/17.49, allocations: 135.7 kB / 4.107 GB, free: 20.28 MB / 1.026 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 () * Number of clocked 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.004436/17.49, allocations: 0.9981 MB / 4.108 GB, free: 20.08 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002156/17.5, allocations: 0.5126 MB / 4.109 GB, free: 19.81 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01324/17.51, allocations: 3.775 MB / 4.112 GB, free: 19.52 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001129/17.51, allocations: 40.45 kB / 4.112 GB, free: 19.52 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/17.51, allocations: 3.188 kB / 4.112 GB, free: 19.52 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008176/17.52, allocations: 2.617 MB / 4.115 GB, free: 19.29 MB / 1.026 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.02779/17.55, allocations: 8.535 MB / 4.123 GB, free: 17.72 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.346e-05/17.55, allocations: 0 / 4.123 GB, free: 17.72 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003212/17.55, allocations: 390.1 kB / 4.124 GB, free: 17.72 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001386/17.55, allocations: 310.4 kB / 4.124 GB, free: 17.67 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005377/17.55, allocations: 63.73 kB / 4.124 GB, free: 17.67 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002541/17.55, allocations: 2.501 MB / 4.126 GB, free: 15.58 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/17.55, allocations: 0 / 4.126 GB, free: 15.58 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01407/17.57, allocations: 4.758 MB / 4.131 GB, free: 14.76 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004832/17.57, allocations: 0.9802 MB / 4.132 GB, free: 14.36 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002102/17.57, allocations: 44.34 kB / 4.132 GB, free: 14.36 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007903/17.58, allocations: 446.2 kB / 4.133 GB, free: 14.32 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007379/17.58, allocations: 157.7 kB / 4.133 GB, free: 14.31 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004174/17.58, allocations: 106.2 kB / 4.133 GB, free: 14.31 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.009265/17.59, allocations: 2.797 MB / 4.136 GB, free: 14.13 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.322e-06/17.59, allocations: 0.9688 kB / 4.136 GB, free: 14.13 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.02259/17.62, allocations: 3.588 MB / 4.139 GB, free: 13.6 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 () * Number of clocked 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.02377/17.64, allocations: 8.617 MB / 4.147 GB, free: 10.77 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.01338/17.65, allocations: 4.434 MB / 4.152 GB, free: 10.04 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/17.65, allocations: 2.656 kB / 4.152 GB, free: 10.04 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.004141/17.66, allocations: 1.32 MB / 4.153 GB, free: 9.969 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02494/17.68, allocations: 2.728 MB / 4.156 GB, free: 9.789 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.114/17.8, allocations: 50.66 MB / 4.205 GB, free: 7.039 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00674/17.8, allocations: 2.986 MB / 4.208 GB, free: 6.168 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.01007/17.81, allocations: 1.185 MB / 4.209 GB, free: 5.914 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007033/17.82, allocations: 2.541 MB / 4.212 GB, free: 5.902 MB / 1.057 GB Notification: Performance of SimCode: time 1.613e-06/17.82, allocations: 6.469 kB / 4.212 GB, free: 5.898 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.436/19.26, allocations: 172.7 MB / 4.38 GB, free: 99.95 MB / 1.073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003063/19.26, allocations: 251.3 kB / 4.381 GB, free: 99.62 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/31.07, allocations: 0.6562 kB / 4.381 GB, free: 99.62 MB / 1.073 GB