Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.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.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling,fileNamePrefix="Buildings_7_0_0_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling",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.478/2.478, allocations: 248.7 MB / 256.2 MB, free: 7.031 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.001422/0.001422, allocations: 178.4 kB / 315.4 MB, free: 4.016 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.008/2.008, allocations: 205.3 MB / 0.5662 GB, free: 0.6133 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.001124/0.001124, allocations: 80.44 kB / 0.6704 GB, free: 5.832 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.655e-05/2.656e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2002/0.2002, allocations: 106.2 MB / 0.8841 GB, free: 13.04 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.09/2.29, allocations: 439.4 MB / 1.313 GB, free: 258.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/2.29, allocations: 92.66 kB / 1.313 GB, free: 258.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.073/8.363, allocations: 1.236 GB / 2.549 GB, free: 35.39 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.026e-06/8.363, allocations: 4 kB / 2.549 GB, free: 35.38 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0007119/8.364, allocations: 84.14 kB / 2.549 GB, free: 35.31 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 470 * Number of variables: 470 Notification: Performance of Generate backend data structure: time 0.01278/8.376, allocations: 2.732 MB / 2.552 GB, free: 32.55 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.168e-05/8.377, allocations: 12.03 kB / 2.552 GB, free: 32.54 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01308/8.39, allocations: 1.005 MB / 2.553 GB, free: 31.53 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01518/8.405, allocations: 2.907 MB / 2.555 GB, free: 28.62 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002106/8.405, allocations: 60 kB / 2.555 GB, free: 28.56 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001126/8.406, allocations: 120 kB / 2.556 GB, free: 28.45 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007965/8.414, allocations: 1.573 MB / 2.557 GB, free: 26.87 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01012/8.425, allocations: 1.865 MB / 2.559 GB, free: 24.92 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001377/8.425, allocations: 3.938 kB / 2.559 GB, free: 24.91 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007419/8.426, allocations: 7.984 kB / 2.559 GB, free: 24.91 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001041/8.426, allocations: 51.95 kB / 2.559 GB, free: 24.86 MB / 0.8855 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.03836/8.464, allocations: 11.75 MB / 2.57 GB, free: 12.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008562/8.473, allocations: 1.394 MB / 2.572 GB, free: 11 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00245/8.475, allocations: 0.6574 MB / 2.572 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002019/8.477, allocations: 1.363 MB / 2.574 GB, free: 8.688 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.955e-05/8.477, allocations: 49.5 kB / 2.574 GB, free: 8.633 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003736/8.481, allocations: 242.6 kB / 2.574 GB, free: 8.398 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=105): time 2.259e-05/8.481, allocations: 4 kB / 2.574 GB, free: 8.395 MB / 0.8855 GB Notification: Performance of matching and sorting (n=111): time 0.02215/8.503, allocations: 3.432 MB / 2.577 GB, free: 4.898 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.07e-05/8.504, allocations: 171.5 kB / 2.578 GB, free: 4.695 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005787/8.509, allocations: 1.567 MB / 2.579 GB, free: 3.105 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0005863/8.51, allocations: 25.7 kB / 2.579 GB, free: 3.074 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.002111/8.512, allocations: 1.191 MB / 2.58 GB, free: 1.867 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009572/8.513, allocations: 370.5 kB / 2.581 GB, free: 1.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002928/8.514, allocations: 0 / 2.581 GB, free: 1.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002001/8.514, allocations: 357.9 kB / 2.581 GB, free: 1.145 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002306/8.516, allocations: 0.5351 MB / 2.582 GB, free: 0.6094 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00345/8.52, allocations: 1.002 MB / 2.582 GB, free: 15.41 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004643/8.524, allocations: 0.7272 MB / 2.583 GB, free: 14.69 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.944e-05/8.524, allocations: 0 / 2.583 GB, free: 14.69 MB / 0.9011 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.02066/8.545, allocations: 2.382 MB / 2.586 GB, free: 12.29 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.002479/8.548, allocations: 3.708 MB / 2.589 GB, free: 8.199 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.042e-05/8.548, allocations: 12 kB / 2.589 GB, free: 8.188 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008791/8.557, allocations: 0.8401 MB / 2.59 GB, free: 7.352 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004563/8.561, allocations: 367.5 kB / 2.59 GB, free: 6.992 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02342/8.585, allocations: 5.282 MB / 2.595 GB, free: 1.543 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007779/8.593, allocations: 371.4 kB / 2.596 GB, free: 1.18 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007261/8.593, allocations: 75.95 kB / 2.596 GB, free: 1.105 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/8.593, allocations: 4 kB / 2.596 GB, free: 1.102 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01874/8.612, allocations: 2.003 MB / 2.598 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-05/8.612, allocations: 8 kB / 2.598 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006404/8.619, allocations: 0.5751 MB / 2.598 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005047/8.624, allocations: 399.4 kB / 2.599 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02782/8.652, allocations: 6.971 MB / 2.606 GB, free: 6.801 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007548/8.659, allocations: 315.5 kB / 2.606 GB, free: 6.492 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007627/8.66, allocations: 79.09 kB / 2.606 GB, free: 6.418 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 137 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 16,1 19,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001062/8.661, allocations: 140.8 kB / 2.606 GB, free: 6.273 MB / 0.9167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008628/8.67, allocations: 1.441 MB / 2.608 GB, free: 4.82 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001423/8.671, allocations: 221.2 kB / 2.608 GB, free: 4.602 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01121/8.683, allocations: 1.776 MB / 2.609 GB, free: 2.82 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.573e-05/8.683, allocations: 12 kB / 2.61 GB, free: 2.809 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/8.683, allocations: 0 / 2.61 GB, free: 2.809 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007907/8.691, allocations: 1.655 MB / 2.611 GB, free: 1.066 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7647/9.456, allocations: 3.952 MB / 2.615 GB, free: 105.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-05/9.456, allocations: 0.8438 kB / 2.615 GB, free: 105.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002949/9.459, allocations: 296.8 kB / 2.615 GB, free: 105.6 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002222/9.461, allocations: 383.2 kB / 2.616 GB, free: 105.6 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003604/9.461, allocations: 22.75 kB / 2.616 GB, free: 105.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002117/9.463, allocations: 1.537 MB / 2.617 GB, free: 104.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.628e-06/9.463, allocations: 0.6562 kB / 2.617 GB, free: 104.5 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008411/9.472, allocations: 2.494 MB / 2.62 GB, free: 104.2 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002269/9.474, allocations: 0.5028 MB / 2.62 GB, free: 104.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009517/9.475, allocations: 2.797 kB / 2.62 GB, free: 104.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005013/9.48, allocations: 302 kB / 2.62 GB, free: 104.1 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004574/9.481, allocations: 76.38 kB / 2.62 GB, free: 104.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002685/9.481, allocations: 45.14 kB / 2.62 GB, free: 104.1 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.003807/9.485, allocations: 1.163 MB / 2.622 GB, free: 104 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.092e-06/9.485, allocations: 0 / 2.622 GB, free: 104 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.01102/9.496, allocations: 1.264 MB / 2.623 GB, free: 104 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (hex.port_b1.h_outflow,hex.port_a2.h_outflow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 20,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.01098/9.507, allocations: 4.258 MB / 2.627 GB, free: 102.9 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.008773/9.516, allocations: 2.896 MB / 2.63 GB, free: 102.4 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/9.516, allocations: 2.625 kB / 2.63 GB, free: 102.4 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002348/9.518, allocations: 0.6695 MB / 2.63 GB, free: 102.4 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009879/9.528, allocations: 1.032 MB / 2.632 GB, free: 102.4 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0224/9.551, allocations: 4.079 MB / 2.635 GB, free: 101.4 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002977/9.554, allocations: 1.676 MB / 2.637 GB, free: 100.7 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.006654/9.56, allocations: 0.5788 MB / 2.638 GB, free: 100.7 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002848/9.563, allocations: 1.008 MB / 2.639 GB, free: 100.7 MB / 0.9167 GB Notification: Performance of SimCode: time 1.743e-06/9.563, allocations: 0 / 2.639 GB, free: 100.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2084/9.772, allocations: 77.33 MB / 2.714 GB, free: 97.73 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002907/9.772, allocations: 232.8 kB / 2.714 GB, free: 97.45 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.981/15.75, allocations: 0.8438 kB / 2.714 GB, free: 97.45 MB / 0.9167 GB