Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling,fileNamePrefix="Buildings_8_0_0_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling,fileNamePrefix="Buildings_8_0_0_Buildings_Obsolete_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 8.0.0/package.mo): time 2.652/2.652, allocations: 284.9 MB / 292.4 MB, free: 10.57 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001434/0.001433, allocations: 188.8 kB / 360.6 MB, free: 7.273 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.097/2.097, allocations: 205.2 MB / 0.6191 GB, free: 12.23 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001044/0.001043, allocations: 97.28 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.404e-05/2.419e-05, allocations: 4 kB / 0.8509 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.862/0.8621, allocations: 115.2 MB / 0.9634 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.393/2.255, allocations: 446.1 MB / 1.399 GB, free: 123 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003436/2.256, allocations: 94.92 kB / 1.399 GB, free: 123 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.463/8.719, allocations: 1.272 GB / 2.671 GB, free: 0.6328 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.635e-06/8.719, allocations: 0 / 2.671 GB, free: 0.6328 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005668/8.719, allocations: 83.91 kB / 2.671 GB, free: 0.5508 MB / 0.948 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.01028/8.73, allocations: 2.736 MB / 2.674 GB, free: 13.76 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.959e-05/8.73, allocations: 8.031 kB / 2.674 GB, free: 13.75 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00962/8.739, allocations: 1.003 MB / 2.675 GB, free: 12.75 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01123/8.751, allocations: 2.922 MB / 2.678 GB, free: 9.754 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/8.751, allocations: 60 kB / 2.678 GB, free: 9.695 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005657/8.751, allocations: 120 kB / 2.678 GB, free: 9.578 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005435/8.757, allocations: 1.577 MB / 2.679 GB, free: 8 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005829/8.763, allocations: 1.868 MB / 2.681 GB, free: 6.043 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.572e-05/8.763, allocations: 11.94 kB / 2.681 GB, free: 6.031 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002881/8.763, allocations: 0 / 2.681 GB, free: 6.031 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001059/8.763, allocations: 51.95 kB / 2.681 GB, free: 5.98 MB / 0.9636 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.03058/8.794, allocations: 11.78 MB / 2.693 GB, free: 9.379 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006929/8.801, allocations: 1.395 MB / 2.694 GB, free: 7.98 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001986/8.803, allocations: 0.6617 MB / 2.695 GB, free: 7.316 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001876/8.805, allocations: 1.37 MB / 2.696 GB, free: 5.652 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.706e-05/8.805, allocations: 51.88 kB / 2.696 GB, free: 5.594 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002709/8.807, allocations: 234.8 kB / 2.696 GB, free: 5.363 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=105): time 6.412e-06/8.808, allocations: 0 / 2.696 GB, free: 5.363 MB / 0.9792 GB Notification: Performance of matching and sorting (n=111): time 0.01524/8.823, allocations: 3.449 MB / 2.7 GB, free: 1.852 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/8.823, allocations: 171.5 kB / 2.7 GB, free: 1.648 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004042/8.827, allocations: 1.551 MB / 2.702 GB, free: 76 kB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0005115/8.828, allocations: 29.7 kB / 2.702 GB, free: 40 kB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.7905/9.618, allocations: 1.196 MB / 2.703 GB, free: 108.6 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007552/9.619, allocations: 368.4 kB / 2.703 GB, free: 108.5 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001659/9.619, allocations: 0 / 2.703 GB, free: 108.5 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001762/9.619, allocations: 360 kB / 2.703 GB, free: 108.2 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001626/9.621, allocations: 0.5379 MB / 2.704 GB, free: 108.2 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001946/9.623, allocations: 1.002 MB / 2.705 GB, free: 107.7 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002726/9.626, allocations: 0.7239 MB / 2.706 GB, free: 107.7 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.27e-05/9.626, allocations: 3.469 kB / 2.706 GB, free: 107.7 MB / 0.9792 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.01314/9.639, allocations: 2.388 MB / 2.708 GB, free: 107.5 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009102/9.64, allocations: 3.712 MB / 2.712 GB, free: 103.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-05/9.64, allocations: 12.86 kB / 2.712 GB, free: 103.6 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006156/9.646, allocations: 0.8552 MB / 2.712 GB, free: 103.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003075/9.649, allocations: 369.5 kB / 2.713 GB, free: 103.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01448/9.664, allocations: 5.284 MB / 2.718 GB, free: 101.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00554/9.669, allocations: 375.9 kB / 2.718 GB, free: 101.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003966/9.67, allocations: 77.39 kB / 2.718 GB, free: 101.2 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/9.67, allocations: 6.844 kB / 2.718 GB, free: 101.2 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01168/9.681, allocations: 2.008 MB / 2.72 GB, free: 101.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.294e-05/9.681, allocations: 12.55 kB / 2.72 GB, free: 101.1 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004248/9.686, allocations: 0.5715 MB / 2.721 GB, free: 101.1 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003448/9.689, allocations: 396 kB / 2.721 GB, free: 101.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01671/9.706, allocations: 6.956 MB / 2.728 GB, free: 97.23 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005027/9.711, allocations: 310.2 kB / 2.728 GB, free: 97.22 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000412/9.711, allocations: 78.97 kB / 2.728 GB, free: 97.22 MB / 0.9792 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.0006162/9.712, allocations: 146.8 kB / 2.729 GB, free: 97.11 MB / 0.9792 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004724/9.717, allocations: 1.46 MB / 2.73 GB, free: 96.91 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006607/9.717, allocations: 214.7 kB / 2.73 GB, free: 96.8 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005736/9.723, allocations: 1.778 MB / 2.732 GB, free: 96.67 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.572e-05/9.723, allocations: 19.95 kB / 2.732 GB, free: 96.67 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/9.723, allocations: 1.781 kB / 2.732 GB, free: 96.67 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003818/9.727, allocations: 1.652 MB / 2.734 GB, free: 96.19 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01068/9.738, allocations: 3.983 MB / 2.737 GB, free: 95.75 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.161e-05/9.738, allocations: 7.312 kB / 2.737 GB, free: 95.75 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002517/9.74, allocations: 292.8 kB / 2.738 GB, free: 95.75 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002184/9.743, allocations: 405.5 kB / 2.738 GB, free: 95.72 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001574/9.743, allocations: 21.73 kB / 2.738 GB, free: 95.72 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001777/9.745, allocations: 1.539 MB / 2.74 GB, free: 94.68 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/9.745, allocations: 1.438 kB / 2.74 GB, free: 94.68 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007405/9.752, allocations: 2.501 MB / 2.742 GB, free: 94.25 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002302/9.754, allocations: 0.511 MB / 2.743 GB, free: 94.04 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001049/9.756, allocations: 5.125 kB / 2.743 GB, free: 94.04 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005005/9.761, allocations: 297.2 kB / 2.743 GB, free: 94.04 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004182/9.761, allocations: 78.64 kB / 2.743 GB, free: 94.03 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002569/9.761, allocations: 50.17 kB / 2.743 GB, free: 94.03 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.002887/9.764, allocations: 1.163 MB / 2.744 GB, free: 93.89 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.012e-06/9.764, allocations: 0 / 2.744 GB, free: 93.89 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0097/9.774, allocations: 1.266 MB / 2.745 GB, free: 93.89 MB / 0.9792 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.008884/9.783, allocations: 4.261 MB / 2.75 GB, free: 92.63 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.007132/9.79, allocations: 2.9 MB / 2.752 GB, free: 92.14 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/9.79, allocations: 0 / 2.752 GB, free: 92.14 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001785/9.792, allocations: 0.6725 MB / 2.753 GB, free: 92.14 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008621/9.801, allocations: 1.034 MB / 2.754 GB, free: 92.12 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01825/9.819, allocations: 4.076 MB / 2.758 GB, free: 91.2 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001789/9.821, allocations: 1.674 MB / 2.76 GB, free: 90.46 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.005156/9.826, allocations: 0.5811 MB / 2.76 GB, free: 90.44 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002118/9.828, allocations: 1.007 MB / 2.761 GB, free: 90.43 MB / 0.9792 GB Notification: Performance of SimCode: time 1.343e-06/9.828, allocations: 1.406 kB / 2.761 GB, free: 90.43 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2157/10.04, allocations: 77.53 MB / 2.837 GB, free: 87.26 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002339/10.04, allocations: 222.9 kB / 2.837 GB, free: 86.97 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.296/16.34, allocations: 2.75 kB / 2.837 GB, free: 86.97 MB / 0.9792 GB (rm -f Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling.fmu > Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe 2>&1)