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_Cooling.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_Cooling,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.449/1.449, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001077/0.001076, allocations: 192.3 kB / 326.5 MB, free: 2.234 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.985/1.985, 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.001051/0.001051, allocations: 94 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003785/0.0003785, allocations: 13.28 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2651, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.067/1.332, allocations: 439.4 MB / 1.329 GB, free: 13.95 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/1.333, allocations: 100 kB / 1.329 GB, free: 13.9 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.396/6.729, allocations: 1.245 GB / 2.574 GB, free: 95.38 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.916e-06/6.729, allocations: 0 / 2.574 GB, free: 95.38 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.000693/6.73, allocations: 77.59 kB / 2.574 GB, free: 95.37 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.01307/6.743, allocations: 3.238 MB / 2.577 GB, free: 93.93 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 8.506e-05/6.743, allocations: 10.53 kB / 2.578 GB, free: 93.93 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001477/6.744, allocations: 262.1 kB / 2.578 GB, free: 93.89 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006156/6.75, allocations: 1.006 MB / 2.579 GB, free: 93.72 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009102/6.76, allocations: 2.943 MB / 2.582 GB, free: 93.19 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001682/6.76, allocations: 147.8 kB / 2.582 GB, free: 93.18 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006441/6.76, allocations: 198.8 kB / 2.582 GB, free: 93.18 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005906/6.766, allocations: 2.474 MB / 2.584 GB, free: 92.89 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.863e-05/6.766, allocations: 11.44 kB / 2.584 GB, free: 92.89 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002279/6.767, allocations: 73.59 kB / 2.584 GB, free: 92.89 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.638e-05/6.767, allocations: 51.64 kB / 2.584 GB, free: 92.89 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006001/6.773, allocations: 2.357 MB / 2.587 GB, free: 92.88 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.01842/6.791, allocations: 12.11 MB / 2.599 GB, free: 86.89 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006295/6.798, allocations: 2.108 MB / 2.601 GB, free: 86.85 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001283/6.799, allocations: 1.368 MB / 2.602 GB, free: 85.35 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.191e-05/6.799, allocations: 50.31 kB / 2.602 GB, free: 85.31 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002946/6.802, allocations: 280.4 kB / 2.602 GB, free: 85.25 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=105): time 1.302e-05/6.802, allocations: 2.812 kB / 2.602 GB, free: 85.25 MB / 0.9011 GB Notification: Performance of matching and sorting (n=111): time 0.0301/6.832, allocations: 8.169 MB / 2.61 GB, free: 84.28 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.041e-05/6.832, allocations: 166.6 kB / 2.61 GB, free: 84.09 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003604/6.836, allocations: 1.862 MB / 2.612 GB, free: 83.87 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0004606/6.836, allocations: 52.2 kB / 2.612 GB, free: 83.84 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009668/6.837, allocations: 1.201 MB / 2.614 GB, free: 83.43 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004388/6.838, allocations: 393 kB / 2.614 GB, free: 83.18 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.344e-05/6.838, allocations: 23.81 kB / 2.614 GB, free: 83.18 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001081/6.838, allocations: 361.5 kB / 2.614 GB, free: 82.88 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002234/6.84, allocations: 0.8924 MB / 2.615 GB, free: 82.86 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002761/6.843, allocations: 1.365 MB / 2.616 GB, free: 82.31 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00243/6.845, allocations: 0.9905 MB / 2.617 GB, free: 82.25 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/6.845, allocations: 3.953 kB / 2.617 GB, free: 82.25 MB / 0.9011 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.008258/6.854, allocations: 2.986 MB / 2.62 GB, free: 81.96 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008382/6.855, allocations: 3.738 MB / 2.624 GB, free: 77.97 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/6.855, allocations: 9.594 kB / 2.624 GB, free: 77.97 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005011/6.86, allocations: 1.325 MB / 2.625 GB, free: 77.91 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001592/6.861, allocations: 331.4 kB / 2.626 GB, free: 77.88 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01236/6.874, allocations: 6.214 MB / 2.632 GB, free: 75.81 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004092/6.878, allocations: 386.3 kB / 2.632 GB, free: 75.75 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003139/6.878, allocations: 74.97 kB / 2.632 GB, free: 75.73 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/6.878, allocations: 3.75 kB / 2.632 GB, free: 75.73 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005464/6.884, allocations: 2.321 MB / 2.634 GB, free: 74.92 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/6.884, allocations: 11.19 kB / 2.634 GB, free: 74.92 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002467/6.886, allocations: 0.6634 MB / 2.635 GB, free: 74.77 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001669/6.888, allocations: 392.4 kB / 2.635 GB, free: 74.73 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01257/6.9, allocations: 6.884 MB / 2.642 GB, free: 70.33 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004163/6.905, allocations: 337.5 kB / 2.642 GB, free: 70.27 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003475/6.905, allocations: 73.45 kB / 2.643 GB, free: 70.26 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.002239/6.907, allocations: 0.6226 MB / 2.643 GB, free: 69.8 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009779/6.908, allocations: 233.1 kB / 2.643 GB, free: 69.68 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006875/6.915, allocations: 2.489 MB / 2.646 GB, free: 68.82 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.386e-05/6.915, allocations: 16.58 kB / 2.646 GB, free: 68.82 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/6.915, allocations: 0 / 2.646 GB, free: 68.82 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004768/6.92, allocations: 2.331 MB / 2.648 GB, free: 67.76 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01223/6.932, allocations: 4.855 MB / 2.653 GB, free: 65.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.158e-06/6.932, allocations: 2.719 kB / 2.653 GB, free: 65.7 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001283/6.934, allocations: 265.8 kB / 2.653 GB, free: 65.68 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002593/6.936, allocations: 0.77 MB / 2.654 GB, free: 65.53 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001323/6.936, allocations: 33.94 kB / 2.654 GB, free: 65.51 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002248/6.939, allocations: 1.46 MB / 2.655 GB, free: 64.65 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/6.939, allocations: 6.812 kB / 2.655 GB, free: 64.64 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00793/6.947, allocations: 3.577 MB / 2.659 GB, free: 63.2 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001985/6.949, allocations: 0.5195 MB / 2.659 GB, free: 62.82 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004471/6.949, allocations: 27.12 kB / 2.659 GB, free: 62.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002248/6.951, allocations: 301.5 kB / 2.66 GB, free: 62.76 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001861/6.951, allocations: 79.38 kB / 2.66 GB, free: 62.75 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001329/6.952, allocations: 47.67 kB / 2.66 GB, free: 62.74 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.003117/6.955, allocations: 1.438 MB / 2.661 GB, free: 61.64 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.7e-07/6.955, allocations: 0 / 2.661 GB, free: 61.64 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.006704/6.961, allocations: 1.287 MB / 2.662 GB, free: 60.38 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.01092/6.972, allocations: 5.359 MB / 2.668 GB, free: 55.66 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.01016/6.983, allocations: 3.792 MB / 2.671 GB, free: 52.36 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.147e-05/6.983, allocations: 0 / 2.671 GB, free: 52.36 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.002511/6.985, allocations: 0.987 MB / 2.672 GB, free: 51.52 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006433/6.992, allocations: 1.132 MB / 2.673 GB, free: 50.72 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02115/7.013, allocations: 13.76 MB / 2.687 GB, free: 37.23 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001354/7.014, allocations: 1.676 MB / 2.688 GB, free: 35.67 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.003161/7.017, allocations: 470.5 kB / 2.689 GB, free: 35.24 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001564/7.019, allocations: 1.05 MB / 2.69 GB, free: 34.19 MB / 0.9011 GB Notification: Performance of SimCode: time 8.466e-06/7.019, allocations: 0 / 2.69 GB, free: 34.19 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.83/7.849, allocations: 85.14 MB / 2.773 GB, free: 122.6 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002019/7.849, allocations: 318.5 kB / 2.773 GB, free: 122.2 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.709/13.56, allocations: 0 / 2.773 GB, free: 122.2 MB / 0.9323 GB (rm -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling.fmu > Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe 2>&1)