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.385/2.385, allocations: 248.5 MB / 261.1 MB, free: 6.055 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.001496/0.001496, allocations: 178.6 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.967/1.967, allocations: 205.2 MB / 0.5711 GB, free: 11.8 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.001172/0.001172, allocations: 101.5 kB / 0.6754 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.942e-05/3.969e-05, allocations: 0 / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2112, allocations: 106.2 MB / 0.8907 GB, free: 7.469 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.06/2.271, allocations: 439.1 MB / 1.319 GB, free: 252.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000463/2.272, allocations: 98 kB / 1.32 GB, free: 252.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.408/8.68, allocations: 1.241 GB / 2.561 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of FrontEnd: time 5.069e-06/8.68, allocations: 0 / 2.561 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000595/8.681, allocations: 87.41 kB / 2.561 GB, free: 15.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.01047/8.691, allocations: 2.727 MB / 2.563 GB, free: 12.53 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/8.691, allocations: 11.97 kB / 2.563 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001123/8.692, allocations: 265.9 kB / 2.564 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0095/8.702, allocations: 1.003 MB / 2.565 GB, free: 11.24 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01126/8.713, allocations: 2.912 MB / 2.567 GB, free: 8.258 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002273/8.714, allocations: 147.7 kB / 2.568 GB, free: 8.113 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009386/8.714, allocations: 201.8 kB / 2.568 GB, free: 7.918 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007277/8.722, allocations: 2.129 MB / 2.57 GB, free: 5.699 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-05/8.722, allocations: 0 / 2.57 GB, free: 5.699 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000394/8.722, allocations: 76 kB / 2.57 GB, free: 5.625 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.418e-05/8.722, allocations: 51.95 kB / 2.57 GB, free: 5.574 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006237/8.729, allocations: 1.673 MB / 2.572 GB, free: 3.898 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.03237/8.761, allocations: 12.1 MB / 2.583 GB, free: 6.953 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007767/8.769, allocations: 1.421 MB / 2.585 GB, free: 5.523 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002319/8.771, allocations: 0.6563 MB / 2.585 GB, free: 4.859 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001966/8.773, allocations: 1.37 MB / 2.587 GB, free: 3.195 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.3e-05/8.773, allocations: 47.52 kB / 2.587 GB, free: 3.141 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003134/8.777, allocations: 286.5 kB / 2.587 GB, free: 2.859 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=105): time 9.718e-06/8.777, allocations: 0 / 2.587 GB, free: 2.859 MB / 0.9011 GB Notification: Performance of matching and sorting (n=111): time 0.01506/8.792, allocations: 3.316 MB / 2.59 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001318/8.792, allocations: 175.2 kB / 2.59 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005751/8.798, allocations: 1.787 MB / 2.592 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0005452/8.798, allocations: 57.7 kB / 2.592 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002056/8.8, allocations: 1.192 MB / 2.593 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008755/8.801, allocations: 382.4 kB / 2.594 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002339/8.802, allocations: 32 kB / 2.594 GB, free: 11.79 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002435/8.802, allocations: 361.9 kB / 2.594 GB, free: 11.43 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002085/8.804, allocations: 0.5507 MB / 2.595 GB, free: 10.88 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002874/8.807, allocations: 1.042 MB / 2.596 GB, free: 9.641 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002435/8.809, allocations: 0.6552 MB / 2.596 GB, free: 8.988 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.692e-05/8.809, allocations: 7.984 kB / 2.596 GB, free: 8.98 MB / 0.9167 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.01459/8.824, allocations: 2.468 MB / 2.599 GB, free: 6.496 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001842/8.826, allocations: 3.736 MB / 2.602 GB, free: 2.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.844e-05/8.826, allocations: 8 kB / 2.602 GB, free: 2.402 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008445/8.834, allocations: 1.074 MB / 2.604 GB, free: 1.324 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00299/8.837, allocations: 331.6 kB / 2.604 GB, free: 1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7655/9.603, allocations: 5.262 MB / 2.609 GB, free: 99.38 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006325/9.609, allocations: 406.4 kB / 2.609 GB, free: 99.38 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006878/9.61, allocations: 77.14 kB / 2.609 GB, free: 99.38 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/9.61, allocations: 6.281 kB / 2.609 GB, free: 99.38 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01302/9.623, allocations: 2.096 MB / 2.611 GB, free: 99.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.06e-05/9.623, allocations: 9.5 kB / 2.611 GB, free: 99.34 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004677/9.628, allocations: 0.5927 MB / 2.612 GB, free: 99.32 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003721/9.632, allocations: 394.5 kB / 2.612 GB, free: 99.32 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01866/9.65, allocations: 6.225 MB / 2.619 GB, free: 96.69 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005477/9.656, allocations: 365.4 kB / 2.619 GB, free: 96.69 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005513/9.657, allocations: 67.88 kB / 2.619 GB, free: 96.69 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.000697/9.657, allocations: 188.7 kB / 2.619 GB, free: 96.58 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008901/9.658, allocations: 230.6 kB / 2.619 GB, free: 96.58 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006887/9.665, allocations: 1.868 MB / 2.621 GB, free: 96.49 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.774e-05/9.665, allocations: 16.33 kB / 2.621 GB, free: 96.49 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/9.665, allocations: 0 / 2.621 GB, free: 96.49 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004503/9.67, allocations: 1.695 MB / 2.623 GB, free: 96.02 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0149/9.685, allocations: 4.244 MB / 2.627 GB, free: 95.62 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.897e-05/9.685, allocations: 1.75 kB / 2.627 GB, free: 95.62 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002674/9.687, allocations: 261.4 kB / 2.627 GB, free: 95.62 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004257/9.692, allocations: 0.6145 MB / 2.628 GB, free: 95.61 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003866/9.692, allocations: 38.83 kB / 2.628 GB, free: 95.61 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002659/9.695, allocations: 1.235 MB / 2.629 GB, free: 95.08 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/9.695, allocations: 2.625 kB / 2.629 GB, free: 95.08 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01274/9.708, allocations: 2.887 MB / 2.632 GB, free: 94.73 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002342/9.71, allocations: 0.5152 MB / 2.632 GB, free: 94.51 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00105/9.711, allocations: 28.95 kB / 2.632 GB, free: 94.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005095/9.716, allocations: 306.2 kB / 2.633 GB, free: 94.5 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004497/9.717, allocations: 71.3 kB / 2.633 GB, free: 94.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002722/9.717, allocations: 49.77 kB / 2.633 GB, free: 94.5 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.004583/9.722, allocations: 1.371 MB / 2.634 GB, free: 94.34 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.605e-06/9.722, allocations: 2.734 kB / 2.634 GB, free: 94.34 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.009742/9.732, allocations: 1.277 MB / 2.635 GB, free: 94.34 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.01575/9.747, allocations: 4.664 MB / 2.64 GB, free: 93.08 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01019/9.758, allocations: 2.969 MB / 2.643 GB, free: 92.64 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/9.758, allocations: 6.219 kB / 2.643 GB, free: 92.64 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002729/9.76, allocations: 0.7093 MB / 2.644 GB, free: 92.62 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01093/9.771, allocations: 1.127 MB / 2.645 GB, free: 92.6 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0222/9.794, allocations: 4.203 MB / 2.649 GB, free: 91.67 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002431/9.796, allocations: 1.679 MB / 2.65 GB, free: 90.93 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.006617/9.803, allocations: 0.5962 MB / 2.651 GB, free: 90.91 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002435/9.805, allocations: 0.9994 MB / 2.652 GB, free: 90.91 MB / 0.9167 GB Notification: Performance of SimCode: time 1.573e-06/9.805, allocations: 1.938 kB / 2.652 GB, free: 90.91 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2201/10.03, allocations: 91.13 MB / 2.741 GB, free: 87.36 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002707/10.03, allocations: 275.8 kB / 2.741 GB, free: 87.02 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.167/17.19, allocations: 3.125 kB / 2.741 GB, free: 87.02 MB / 0.9167 GB