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.394/1.394, allocations: 249.5 MB / 257 MB, free: 6.977 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.0009963/0.0009962, allocations: 192.2 kB / 316.3 MB, free: 3.258 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.499/1.499, allocations: 205.3 MB / 0.5671 GB, free: 15.83 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.0008979/0.0008977, allocations: 97.72 kB / 0.6714 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.652e-05/1.661e-05, allocations: 0 / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2271, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.41/1.637, allocations: 439.6 MB / 1.315 GB, free: 304.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/1.637, allocations: 93.94 kB / 1.315 GB, free: 304.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.818/5.455, allocations: 1.236 GB / 2.55 GB, free: 45.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.523e-06/5.455, allocations: 3.938 kB / 2.55 GB, free: 45.09 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003104/5.456, allocations: 85.34 kB / 2.55 GB, free: 45.02 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.006767/5.462, allocations: 2.734 MB / 2.553 GB, free: 42.25 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/5.462, allocations: 8.031 kB / 2.553 GB, free: 42.25 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005172/5.468, allocations: 1.013 MB / 2.554 GB, free: 41.23 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006181/5.474, allocations: 2.911 MB / 2.557 GB, free: 38.32 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.747e-05/5.474, allocations: 56 kB / 2.557 GB, free: 38.27 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004698/5.474, allocations: 120 kB / 2.557 GB, free: 38.15 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002725/5.477, allocations: 1.569 MB / 2.559 GB, free: 36.58 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002837/5.48, allocations: 1.872 MB / 2.56 GB, free: 34.62 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.258e-05/5.48, allocations: 7.938 kB / 2.56 GB, free: 34.61 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001605/5.48, allocations: 0 / 2.56 GB, free: 34.61 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.317e-05/5.48, allocations: 52 kB / 2.56 GB, free: 34.56 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.0144/5.495, allocations: 11.76 MB / 2.572 GB, free: 22.09 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003263/5.498, allocations: 1.401 MB / 2.573 GB, free: 20.69 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008867/5.499, allocations: 0.6525 MB / 2.574 GB, free: 20.04 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008708/5.5, allocations: 1.37 MB / 2.575 GB, free: 18.38 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/5.5, allocations: 43.88 kB / 2.575 GB, free: 18.33 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001677/5.501, allocations: 237.4 kB / 2.575 GB, free: 18.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=105): time 5.15e-06/5.501, allocations: 0 / 2.575 GB, free: 18.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=111): time 0.008096/5.51, allocations: 3.439 MB / 2.579 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/5.51, allocations: 171.5 kB / 2.579 GB, free: 14.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002247/5.512, allocations: 1.563 MB / 2.581 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002844/5.512, allocations: 25.7 kB / 2.581 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006851/5.513, allocations: 1.195 MB / 2.582 GB, free: 11.57 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003287/5.513, allocations: 374.4 kB / 2.582 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.016e-05/5.513, allocations: 0 / 2.582 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.48e-05/5.513, allocations: 353.9 kB / 2.582 GB, free: 10.85 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000745/5.514, allocations: 0.5429 MB / 2.583 GB, free: 10.31 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009414/5.515, allocations: 0.9986 MB / 2.584 GB, free: 9.113 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001483/5.517, allocations: 0.7189 MB / 2.585 GB, free: 8.395 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.022e-06/5.517, allocations: 0 / 2.585 GB, free: 8.395 MB / 0.8855 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.00647/5.523, allocations: 2.378 MB / 2.587 GB, free: 5.996 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006403/5.524, allocations: 3.707 MB / 2.591 GB, free: 1.906 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/5.524, allocations: 8 kB / 2.591 GB, free: 1.898 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002769/5.527, allocations: 0.8456 MB / 2.591 GB, free: 1.059 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001611/5.528, allocations: 371.5 kB / 2.592 GB, free: 0.6953 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008958/5.537, allocations: 5.275 MB / 2.597 GB, free: 11.26 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003465/5.541, allocations: 371.4 kB / 2.597 GB, free: 10.9 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002832/5.541, allocations: 75.95 kB / 2.597 GB, free: 10.82 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/5.541, allocations: 5.094 kB / 2.597 GB, free: 10.82 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006467/5.547, allocations: 2.007 MB / 2.599 GB, free: 8.805 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.717e-05/5.548, allocations: 12 kB / 2.599 GB, free: 8.793 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002251/5.55, allocations: 0.578 MB / 2.6 GB, free: 8.219 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001866/5.552, allocations: 387.4 kB / 2.6 GB, free: 7.84 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01092/5.563, allocations: 6.972 MB / 2.607 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00319/5.566, allocations: 315.6 kB / 2.607 GB, free: 216 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000296/5.566, allocations: 71.95 kB / 2.607 GB, free: 144 kB / 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 () * 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.0004395/5.567, allocations: 141.4 kB / 2.608 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003245/5.57, allocations: 1.447 MB / 2.609 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005816/5.57, allocations: 217.3 kB / 2.609 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003848/5.574, allocations: 1.78 MB / 2.611 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.916e-05/5.574, allocations: 12 kB / 2.611 GB, free: 12.51 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/5.574, allocations: 3.281 kB / 2.611 GB, free: 12.51 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00256/5.577, allocations: 1.649 MB / 2.613 GB, free: 10.78 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00775/5.585, allocations: 3.965 MB / 2.616 GB, free: 6.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/5.585, allocations: 4 kB / 2.616 GB, free: 6.766 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001402/5.586, allocations: 299.7 kB / 2.617 GB, free: 6.473 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00115/5.587, allocations: 384.4 kB / 2.617 GB, free: 6.094 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/5.587, allocations: 23.03 kB / 2.617 GB, free: 6.074 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001433/5.589, allocations: 1.522 MB / 2.619 GB, free: 4.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/5.589, allocations: 3.938 kB / 2.619 GB, free: 4.496 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004484/5.593, allocations: 2.489 MB / 2.621 GB, free: 1.953 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001609/5.595, allocations: 0.5098 MB / 2.622 GB, free: 1.422 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003701/5.595, allocations: 2.406 kB / 2.622 GB, free: 1.422 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002174/5.598, allocations: 295.5 kB / 2.622 GB, free: 1.133 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001579/5.598, allocations: 84.98 kB / 2.622 GB, free: 1.055 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001153/5.598, allocations: 47.53 kB / 2.622 GB, free: 1.012 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.6207/6.219, allocations: 1.16 MB / 2.623 GB, free: 110.8 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9.22e-07/6.219, allocations: 0 / 2.623 GB, free: 110.8 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.007424/6.226, allocations: 1.264 MB / 2.624 GB, free: 110.8 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.007211/6.233, allocations: 4.252 MB / 2.628 GB, free: 109.7 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.005353/6.239, allocations: 2.89 MB / 2.631 GB, free: 109.2 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/6.239, allocations: 0.9688 kB / 2.631 GB, free: 109.2 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001239/6.24, allocations: 0.6723 MB / 2.632 GB, free: 109.2 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005895/6.246, allocations: 1.035 MB / 2.633 GB, free: 109.2 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01298/6.259, allocations: 4.078 MB / 2.637 GB, free: 108.3 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001358/6.26, allocations: 1.679 MB / 2.639 GB, free: 107.6 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.003534/6.264, allocations: 0.572 MB / 2.639 GB, free: 107.5 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001414/6.265, allocations: 1.007 MB / 2.64 GB, free: 107.5 MB / 0.9167 GB Notification: Performance of SimCode: time 9.31e-07/6.265, allocations: 0 / 2.64 GB, free: 107.5 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.128/6.393, allocations: 77.36 MB / 2.716 GB, free: 104.6 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001726/6.394, allocations: 231.8 kB / 2.716 GB, free: 104.3 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.522/10.92, allocations: 0 / 2.716 GB, free: 104.3 MB / 0.9167 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)