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.466/1.466, allocations: 249.3 MB / 261.8 MB, free: 5.91 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.00102/0.00102, allocations: 180.8 kB / 321.3 MB, free: 14.68 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.581/1.581, allocations: 205.2 MB / 0.572 GB, free: 10.72 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.001031/0.00103, allocations: 89.27 kB / 0.6764 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.624e-05/2.628e-05, allocations: 4 kB / 0.788 GB, free: 97.03 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2293, allocations: 106.3 MB / 0.8919 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.621/1.85, allocations: 439.3 MB / 1.321 GB, free: 300.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/1.851, allocations: 98.56 kB / 1.321 GB, free: 300.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.279/6.13, allocations: 1.241 GB / 2.562 GB, free: 59.71 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.637e-06/6.13, allocations: 0 / 2.562 GB, free: 59.71 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0003332/6.13, allocations: 86.64 kB / 2.562 GB, free: 59.63 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.006841/6.137, allocations: 2.733 MB / 2.565 GB, free: 56.85 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/6.137, allocations: 12.03 kB / 2.565 GB, free: 56.84 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004657/6.138, allocations: 257.9 kB / 2.565 GB, free: 56.57 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005125/6.143, allocations: 1.011 MB / 2.566 GB, free: 55.56 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006819/6.15, allocations: 2.91 MB / 2.569 GB, free: 52.59 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001177/6.15, allocations: 151.7 kB / 2.569 GB, free: 52.44 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004493/6.15, allocations: 196 kB / 2.569 GB, free: 52.25 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003743/6.154, allocations: 2.127 MB / 2.571 GB, free: 50.04 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.268e-05/6.154, allocations: 7.938 kB / 2.571 GB, free: 50.03 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001862/6.154, allocations: 76 kB / 2.571 GB, free: 49.95 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.766e-05/6.154, allocations: 48 kB / 2.571 GB, free: 49.91 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002802/6.157, allocations: 1.673 MB / 2.573 GB, free: 48.23 MB / 0.9011 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.01597/6.173, allocations: 12.12 MB / 2.585 GB, free: 35.29 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00342/6.177, allocations: 1.415 MB / 2.586 GB, free: 33.87 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009565/6.178, allocations: 0.6521 MB / 2.587 GB, free: 33.22 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009322/6.178, allocations: 1.373 MB / 2.588 GB, free: 31.55 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/6.179, allocations: 51.5 kB / 2.588 GB, free: 31.49 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001959/6.181, allocations: 278.5 kB / 2.588 GB, free: 31.22 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=105): time 3.987e-06/6.181, allocations: 0 / 2.588 GB, free: 31.22 MB / 0.9011 GB Notification: Performance of matching and sorting (n=111): time 0.006747/6.187, allocations: 3.319 MB / 2.592 GB, free: 27.84 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.149e-05/6.187, allocations: 167.2 kB / 2.592 GB, free: 27.64 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002592/6.19, allocations: 1.795 MB / 2.594 GB, free: 25.82 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001833/6.19, allocations: 53.7 kB / 2.594 GB, free: 25.76 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007533/6.191, allocations: 1.196 MB / 2.595 GB, free: 24.55 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002985/6.191, allocations: 390.4 kB / 2.595 GB, free: 24.16 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.082e-05/6.191, allocations: 28 kB / 2.595 GB, free: 24.14 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001044/6.191, allocations: 357.9 kB / 2.596 GB, free: 23.78 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008813/6.192, allocations: 0.5585 MB / 2.596 GB, free: 23.22 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001075/6.193, allocations: 1.034 MB / 2.597 GB, free: 21.99 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000966/6.194, allocations: 0.6631 MB / 2.598 GB, free: 21.33 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/6.194, allocations: 0 / 2.598 GB, free: 21.33 MB / 0.9011 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.006664/6.201, allocations: 2.452 MB / 2.6 GB, free: 18.87 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007122/6.202, allocations: 3.743 MB / 2.604 GB, free: 14.77 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/6.202, allocations: 8 kB / 2.604 GB, free: 14.77 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003935/6.206, allocations: 1.088 MB / 2.605 GB, free: 13.69 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00154/6.207, allocations: 331.5 kB / 2.605 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008452/6.216, allocations: 5.265 MB / 2.61 GB, free: 7.953 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003843/6.22, allocations: 411.3 kB / 2.611 GB, free: 7.551 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003011/6.22, allocations: 75.95 kB / 2.611 GB, free: 7.477 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/6.22, allocations: 5.984 kB / 2.611 GB, free: 7.473 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005763/6.226, allocations: 2.1 MB / 2.613 GB, free: 5.367 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.899e-05/6.226, allocations: 12.77 kB / 2.613 GB, free: 5.355 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002093/6.228, allocations: 0.5975 MB / 2.613 GB, free: 4.762 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001743/6.23, allocations: 387.5 kB / 2.614 GB, free: 4.383 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01001/6.24, allocations: 6.222 MB / 2.62 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004229/6.244, allocations: 351.4 kB / 2.62 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000355/6.244, allocations: 75.91 kB / 2.62 GB, free: 13.49 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.0005856/6.245, allocations: 181 kB / 2.62 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005878/6.246, allocations: 233 kB / 2.621 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004131/6.25, allocations: 1.867 MB / 2.623 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.167e-05/6.25, allocations: 15.75 kB / 2.623 GB, free: 11.19 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/6.25, allocations: 0 / 2.623 GB, free: 11.19 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0025/6.252, allocations: 1.705 MB / 2.624 GB, free: 9.395 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009477/6.262, allocations: 4.24 MB / 2.628 GB, free: 5.082 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/6.262, allocations: 0 / 2.628 GB, free: 5.082 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001339/6.263, allocations: 259.8 kB / 2.629 GB, free: 4.828 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002312/6.265, allocations: 0.6091 MB / 2.629 GB, free: 4.219 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001375/6.266, allocations: 35.97 kB / 2.629 GB, free: 4.184 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001793/6.267, allocations: 1.243 MB / 2.63 GB, free: 2.914 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.303e-06/6.267, allocations: 4 kB / 2.63 GB, free: 2.91 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.694/6.961, allocations: 2.884 MB / 2.633 GB, free: 106.9 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002828/6.964, allocations: 0.5094 MB / 2.634 GB, free: 106.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001209/6.966, allocations: 25.59 kB / 2.634 GB, free: 106.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003738/6.969, allocations: 311.8 kB / 2.634 GB, free: 106.8 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003201/6.97, allocations: 74.42 kB / 2.634 GB, free: 106.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002056/6.97, allocations: 49.22 kB / 2.634 GB, free: 106.8 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.003639/6.974, allocations: 1.366 MB / 2.636 GB, free: 106.7 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8.21e-07/6.974, allocations: 0 / 2.636 GB, free: 106.7 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.006927/6.98, allocations: 1.275 MB / 2.637 GB, free: 106.7 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.009167/6.99, allocations: 4.662 MB / 2.641 GB, free: 105.6 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.006663/6.996, allocations: 2.969 MB / 2.644 GB, free: 105.2 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/6.996, allocations: 1 kB / 2.644 GB, free: 105.2 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001578/6.998, allocations: 0.7048 MB / 2.645 GB, free: 105.2 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007537/7.006, allocations: 1.132 MB / 2.646 GB, free: 105.2 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01459/7.02, allocations: 4.202 MB / 2.65 GB, free: 104.2 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001947/7.022, allocations: 1.682 MB / 2.652 GB, free: 103.5 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.004098/7.026, allocations: 0.592 MB / 2.652 GB, free: 103.5 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00154/7.028, allocations: 0.9975 MB / 2.653 GB, free: 103.5 MB / 0.9167 GB Notification: Performance of SimCode: time 9.72e-07/7.028, allocations: 2.094 kB / 2.653 GB, free: 103.5 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1738/7.202, allocations: 91.15 MB / 2.742 GB, free: 100.1 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001956/7.202, allocations: 285.6 kB / 2.743 GB, free: 99.81 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.488/12.69, allocations: 0 / 2.743 GB, free: 99.81 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)