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_Heating.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_Heating,fileNamePrefix="Buildings_7_0_0_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating",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.287/2.287, allocations: 248.5 MB / 261.1 MB, free: 6.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.002359/0.00236, allocations: 186.1 kB / 320.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.013/2.013, allocations: 205.1 MB / 0.571 GB, free: 11.74 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.001191/0.001191, allocations: 110.7 kB / 0.6754 GB, free: 0.8281 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.708e-05/4.729e-05, allocations: 11.98 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.212, allocations: 106.3 MB / 0.8907 GB, free: 7.445 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.963/2.175, allocations: 438.8 MB / 1.319 GB, free: 253.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004686/2.175, allocations: 92.94 kB / 1.319 GB, free: 253.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.102/8.277, allocations: 1.241 GB / 2.56 GB, free: 16.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.384e-06/8.278, allocations: 0 / 2.56 GB, free: 16.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0007515/8.278, allocations: 86.42 kB / 2.56 GB, free: 16.61 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.01078/8.289, allocations: 2.735 MB / 2.563 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/8.289, allocations: 8.031 kB / 2.563 GB, free: 13.81 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001087/8.29, allocations: 257.9 kB / 2.563 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009361/8.3, allocations: 1.007 MB / 2.564 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01158/8.311, allocations: 2.915 MB / 2.567 GB, free: 9.555 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002385/8.312, allocations: 147.7 kB / 2.567 GB, free: 9.41 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009655/8.313, allocations: 200 kB / 2.567 GB, free: 9.215 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007053/8.32, allocations: 2.125 MB / 2.569 GB, free: 7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.731e-05/8.32, allocations: 0 / 2.569 GB, free: 7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000381/8.32, allocations: 87.92 kB / 2.569 GB, free: 6.914 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.573e-05/8.32, allocations: 51.95 kB / 2.569 GB, free: 6.863 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00606/8.326, allocations: 1.669 MB / 2.571 GB, free: 5.191 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.03301/8.359, allocations: 12.11 MB / 2.583 GB, free: 8.234 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01082/8.37, allocations: 1.638 MB / 2.584 GB, free: 6.59 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0024/8.373, allocations: 0.6604 MB / 2.585 GB, free: 5.922 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001976/8.375, allocations: 1.37 MB / 2.586 GB, free: 4.258 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.597e-05/8.375, allocations: 55.48 kB / 2.586 GB, free: 4.195 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003065/8.378, allocations: 274.5 kB / 2.587 GB, free: 3.926 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=105): time 9.438e-06/8.378, allocations: 0 / 2.587 GB, free: 3.926 MB / 0.9011 GB Notification: Performance of matching and sorting (n=111): time 0.01459/8.393, allocations: 3.317 MB / 2.59 GB, free: 0.5469 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001302/8.393, allocations: 175.2 kB / 2.59 GB, free: 348 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005718/8.399, allocations: 1.791 MB / 2.592 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0005361/8.399, allocations: 57.7 kB / 2.592 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002067/8.401, allocations: 1.192 MB / 2.593 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008305/8.402, allocations: 386.4 kB / 2.593 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002391/8.403, allocations: 32 kB / 2.594 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002336/8.403, allocations: 357.9 kB / 2.594 GB, free: 12.49 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002079/8.405, allocations: 0.5546 MB / 2.594 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002902/8.408, allocations: 1.034 MB / 2.595 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002453/8.41, allocations: 0.6592 MB / 2.596 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.488e-05/8.41, allocations: 4 kB / 2.596 GB, free: 10.04 MB / 0.9167 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.01461/8.425, allocations: 2.464 MB / 2.598 GB, free: 7.562 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001882/8.427, allocations: 3.733 MB / 2.602 GB, free: 3.477 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.8e-05/8.427, allocations: 8 kB / 2.602 GB, free: 3.469 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00842/8.435, allocations: 1.091 MB / 2.603 GB, free: 2.375 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002988/8.439, allocations: 327.5 kB / 2.604 GB, free: 2.055 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7645/9.203, allocations: 5.251 MB / 2.609 GB, free: 100.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006076/9.209, allocations: 416.8 kB / 2.609 GB, free: 100.2 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004882/9.21, allocations: 74.06 kB / 2.609 GB, free: 100.2 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/9.21, allocations: 3.219 kB / 2.609 GB, free: 100.2 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01142/9.221, allocations: 2.097 MB / 2.611 GB, free: 100.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.592e-05/9.221, allocations: 8.281 kB / 2.611 GB, free: 100.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004552/9.226, allocations: 0.602 MB / 2.612 GB, free: 100.2 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003604/9.229, allocations: 394.8 kB / 2.612 GB, free: 100.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01774/9.247, allocations: 6.215 MB / 2.618 GB, free: 97.56 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005494/9.253, allocations: 357.1 kB / 2.619 GB, free: 97.56 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003903/9.253, allocations: 73.41 kB / 2.619 GB, free: 97.56 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 (125): * Single equations (assignments): 123 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 16,3 36} Notification: Performance of prepare postOptimizeDAE: time 0.0006295/9.254, allocations: 194.8 kB / 2.619 GB, free: 97.45 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007263/9.255, allocations: 232.5 kB / 2.619 GB, free: 97.45 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005708/9.26, allocations: 1.862 MB / 2.621 GB, free: 97.36 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-05/9.26, allocations: 19.11 kB / 2.621 GB, free: 97.36 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/9.26, allocations: 2.438 kB / 2.621 GB, free: 97.36 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003538/9.264, allocations: 1.694 MB / 2.623 GB, free: 96.89 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01221/9.276, allocations: 4.239 MB / 2.627 GB, free: 96.49 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/9.276, allocations: 2.344 kB / 2.627 GB, free: 96.49 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002366/9.279, allocations: 257.7 kB / 2.627 GB, free: 96.49 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003854/9.283, allocations: 0.6171 MB / 2.627 GB, free: 96.48 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003045/9.283, allocations: 38.08 kB / 2.628 GB, free: 96.48 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002383/9.285, allocations: 1.233 MB / 2.629 GB, free: 95.95 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/9.285, allocations: 1 kB / 2.629 GB, free: 95.95 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00789/9.293, allocations: 2.631 MB / 2.631 GB, free: 95.61 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002244/9.295, allocations: 0.5157 MB / 2.632 GB, free: 95.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005939/9.296, allocations: 23.11 kB / 2.632 GB, free: 95.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004517/9.301, allocations: 316.4 kB / 2.632 GB, free: 95.38 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002989/9.301, allocations: 75.08 kB / 2.632 GB, free: 95.37 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002339/9.301, allocations: 50.7 kB / 2.632 GB, free: 95.37 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.003825/9.305, allocations: 1.371 MB / 2.634 GB, free: 95.21 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.082e-06/9.305, allocations: 0 / 2.634 GB, free: 95.21 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.008188/9.313, allocations: 1.276 MB / 2.635 GB, free: 95.21 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 (86): * Single equations (assignments): 78 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 37} Notification: Performance of Backend phase and start with SimCode phase: time 0.0109/9.324, allocations: 4.404 MB / 2.639 GB, free: 93.96 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.009885/9.334, allocations: 2.967 MB / 2.642 GB, free: 93.52 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 9.879e-06/9.334, allocations: 1.406 kB / 2.642 GB, free: 93.52 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002532/9.337, allocations: 0.7045 MB / 2.643 GB, free: 93.51 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01074/9.348, allocations: 1.137 MB / 2.644 GB, free: 93.49 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02111/9.369, allocations: 4.198 MB / 2.648 GB, free: 92.56 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001753/9.371, allocations: 1.678 MB / 2.65 GB, free: 91.82 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.006028/9.377, allocations: 0.6 MB / 2.65 GB, free: 91.8 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002388/9.379, allocations: 1.005 MB / 2.651 GB, free: 91.79 MB / 0.9167 GB Notification: Performance of SimCode: time 1.162e-06/9.379, allocations: 2.719 kB / 2.651 GB, free: 91.79 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2203/9.599, allocations: 91.12 MB / 2.74 GB, free: 88.27 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003208/9.6, allocations: 272.5 kB / 2.74 GB, free: 87.94 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.739/16.34, allocations: 11.27 kB / 2.74 GB, free: 87.93 MB / 0.9167 GB