Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.596/1.596, allocations: 251.9 MB / 266.9 MB, free: 11 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.001076/0.001076, allocations: 173.3 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.895/1.895, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0009548/0.0009547, allocations: 107.1 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003581/0.0003586, allocations: 8.531 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2525, allocations: 106.3 MB / 0.9001 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.122/1.374, allocations: 439 MB / 1.329 GB, free: 9.879 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003443/1.375, allocations: 96.42 kB / 1.329 GB, free: 9.828 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.188/6.562, allocations: 1.245 GB / 2.574 GB, free: 92.86 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.205e-06/6.563, allocations: 2.094 kB / 2.574 GB, free: 92.86 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0005739/6.563, allocations: 76.84 kB / 2.574 GB, free: 92.85 MB / 0.9011 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.01525/6.578, allocations: 3.235 MB / 2.577 GB, free: 91.46 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 7.59e-05/6.578, allocations: 7.844 kB / 2.577 GB, free: 91.46 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001964/6.58, allocations: 261.6 kB / 2.577 GB, free: 91.41 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008465/6.589, allocations: 1.009 MB / 2.578 GB, free: 91.25 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009789/6.599, allocations: 2.943 MB / 2.581 GB, free: 90.71 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002023/6.599, allocations: 147.3 kB / 2.581 GB, free: 90.71 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006652/6.6, allocations: 201.9 kB / 2.581 GB, free: 90.71 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006748/6.607, allocations: 2.472 MB / 2.584 GB, free: 90.42 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.609e-05/6.607, allocations: 13.55 kB / 2.584 GB, free: 90.42 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002405/6.607, allocations: 74.62 kB / 2.584 GB, free: 90.42 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.258e-05/6.607, allocations: 50.69 kB / 2.584 GB, free: 90.42 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006439/6.613, allocations: 2.349 MB / 2.586 GB, free: 90.4 MB / 0.9011 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.02063/6.634, allocations: 12.11 MB / 2.598 GB, free: 84.42 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008334/6.643, allocations: 2.337 MB / 2.6 GB, free: 84.38 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001585/6.644, allocations: 1.371 MB / 2.602 GB, free: 82.88 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.629e-05/6.644, allocations: 45.12 kB / 2.602 GB, free: 82.84 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003132/6.647, allocations: 277 kB / 2.602 GB, free: 82.78 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=105): time 1.581e-05/6.647, allocations: 1.344 kB / 2.602 GB, free: 82.78 MB / 0.9011 GB Notification: Performance of matching and sorting (n=111): time 0.03345/6.681, allocations: 8.17 MB / 2.61 GB, free: 81.89 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/6.681, allocations: 166.5 kB / 2.61 GB, free: 81.7 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005841/6.687, allocations: 1.866 MB / 2.612 GB, free: 81.49 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0005489/6.688, allocations: 54.14 kB / 2.612 GB, free: 81.46 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.00141/6.689, allocations: 1.187 MB / 2.613 GB, free: 81.05 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006998/6.69, allocations: 394.2 kB / 2.614 GB, free: 80.8 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/6.69, allocations: 35.56 kB / 2.614 GB, free: 80.8 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001493/6.69, allocations: 355 kB / 2.614 GB, free: 80.5 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00223/6.692, allocations: 0.8878 MB / 2.615 GB, free: 80.5 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002547/6.695, allocations: 1.373 MB / 2.616 GB, free: 79.98 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002307/6.697, allocations: 0.9823 MB / 2.617 GB, free: 79.93 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.046e-06/6.697, allocations: 3.625 kB / 2.617 GB, free: 79.93 MB / 0.9011 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.008181/6.705, allocations: 2.982 MB / 2.62 GB, free: 79.67 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009633/6.706, allocations: 3.736 MB / 2.624 GB, free: 75.69 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/6.706, allocations: 9.844 kB / 2.624 GB, free: 75.69 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004954/6.711, allocations: 1.329 MB / 2.625 GB, free: 75.62 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001655/6.713, allocations: 333.6 kB / 2.625 GB, free: 75.62 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01274/6.726, allocations: 6.208 MB / 2.631 GB, free: 73.65 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004079/6.73, allocations: 394 kB / 2.632 GB, free: 73.61 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003976/6.73, allocations: 73.25 kB / 2.632 GB, free: 73.61 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/6.73, allocations: 3.375 kB / 2.632 GB, free: 73.61 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005824/6.736, allocations: 2.324 MB / 2.634 GB, free: 73.51 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.003e-05/6.736, allocations: 10.09 kB / 2.634 GB, free: 73.51 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002707/6.739, allocations: 0.6539 MB / 2.635 GB, free: 73.48 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001832/6.741, allocations: 397.9 kB / 2.635 GB, free: 73.47 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01372/6.755, allocations: 6.883 MB / 2.642 GB, free: 70.68 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004325/6.759, allocations: 338.6 kB / 2.642 GB, free: 70.65 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005033/6.759, allocations: 73.59 kB / 2.642 GB, free: 70.65 MB / 0.9011 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 124 * 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 35} Notification: Performance of prepare postOptimizeDAE: time 0.002295/6.762, allocations: 0.6179 MB / 2.643 GB, free: 70.46 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000948/6.763, allocations: 233.9 kB / 2.643 GB, free: 70.34 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006908/6.77, allocations: 2.493 MB / 2.645 GB, free: 70.16 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.299e-05/6.77, allocations: 20.42 kB / 2.645 GB, free: 70.16 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/6.77, allocations: 0 / 2.645 GB, free: 70.16 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005005/6.775, allocations: 2.329 MB / 2.648 GB, free: 69.64 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01258/6.787, allocations: 4.861 MB / 2.652 GB, free: 69.18 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/6.787, allocations: 1.969 kB / 2.652 GB, free: 69.18 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001348/6.789, allocations: 267.5 kB / 2.653 GB, free: 69.18 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002964/6.792, allocations: 0.7836 MB / 2.654 GB, free: 69.13 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000212/6.792, allocations: 39.66 kB / 2.654 GB, free: 69.13 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002542/6.795, allocations: 1.457 MB / 2.655 GB, free: 68.58 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/6.795, allocations: 4 kB / 2.655 GB, free: 68.57 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008655/6.803, allocations: 3.576 MB / 2.658 GB, free: 67.99 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002219/6.806, allocations: 0.5161 MB / 2.659 GB, free: 67.62 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009705/6.807, allocations: 22.34 kB / 2.659 GB, free: 67.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003052/6.81, allocations: 309.3 kB / 2.659 GB, free: 67.55 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001874/6.81, allocations: 72.98 kB / 2.659 GB, free: 67.55 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001721/6.81, allocations: 47.48 kB / 2.659 GB, free: 67.54 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.00418/6.814, allocations: 1.442 MB / 2.661 GB, free: 66.96 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.5e-07/6.814, allocations: 0 / 2.661 GB, free: 66.96 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.009163/6.823, allocations: 1.291 MB / 2.662 GB, free: 66.77 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (hex.valCoo.vol.dynBal.U,hex.valHea.vol.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 (87): * Single equations (assignments): 79 * 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 36} Notification: Performance of Backend phase and start with SimCode phase: time 0.01294/6.836, allocations: 5.352 MB / 2.667 GB, free: 64.28 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.01003/6.846, allocations: 3.784 MB / 2.671 GB, free: 62.85 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/6.847, allocations: 4.656 kB / 2.671 GB, free: 62.85 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.002491/6.849, allocations: 0.9869 MB / 2.672 GB, free: 62.55 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00649/6.856, allocations: 1.133 MB / 2.673 GB, free: 62.31 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02338/6.879, allocations: 13.76 MB / 2.687 GB, free: 51.39 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002606/6.882, allocations: 1.675 MB / 2.688 GB, free: 50.59 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.003665/6.885, allocations: 470.1 kB / 2.689 GB, free: 50.5 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002271/6.888, allocations: 1.052 MB / 2.69 GB, free: 49.68 MB / 0.9011 GB Notification: Performance of SimCode: time 1.462e-06/6.888, allocations: 0 / 2.69 GB, free: 49.68 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1617/7.049, allocations: 85.14 MB / 2.773 GB, free: 5.438 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002457/7.05, allocations: 326.2 kB / 2.773 GB, free: 5.07 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.446/12.5, allocations: 2.188 kB / 2.773 GB, free: 5.07 MB / 0.9323 GB (rm -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating.fmu > Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe 2>&1)