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.469/1.469, allocations: 249.3 MB / 261.8 MB, free: 5.898 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.00132/0.00132, allocations: 172.9 kB / 321.3 MB, free: 14.64 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.584/1.584, allocations: 205.2 MB / 0.572 GB, free: 10.59 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.001028/0.001029, allocations: 78.55 kB / 0.6764 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.678e-05/3.68e-05, allocations: 0 / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2292, allocations: 106.3 MB / 0.8919 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.689/1.918, allocations: 439 MB / 1.321 GB, free: 252.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/1.918, allocations: 87.14 kB / 1.321 GB, free: 252.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.25/6.168, allocations: 1.241 GB / 2.561 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.214e-06/6.168, allocations: 0 / 2.561 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003272/6.169, allocations: 83.86 kB / 2.561 GB, free: 13.35 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.007166/6.176, allocations: 2.743 MB / 2.564 GB, free: 10.55 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/6.176, allocations: 8.031 kB / 2.564 GB, free: 10.55 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004406/6.176, allocations: 257.9 kB / 2.564 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005062/6.181, allocations: 1.003 MB / 2.565 GB, free: 9.277 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00664/6.188, allocations: 2.904 MB / 2.568 GB, free: 6.301 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/6.188, allocations: 151.7 kB / 2.568 GB, free: 6.152 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004162/6.189, allocations: 211.9 kB / 2.569 GB, free: 5.945 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003634/6.192, allocations: 2.114 MB / 2.571 GB, free: 3.742 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.025e-05/6.192, allocations: 11.94 kB / 2.571 GB, free: 3.73 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001843/6.193, allocations: 76 kB / 2.571 GB, free: 3.656 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.504e-05/6.193, allocations: 54.61 kB / 2.571 GB, free: 3.605 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002761/6.195, allocations: 1.669 MB / 2.572 GB, free: 1.934 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.0197/6.215, allocations: 12.12 MB / 2.584 GB, free: 4.969 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00554/6.221, allocations: 1.64 MB / 2.586 GB, free: 3.316 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001251/6.222, allocations: 0.6565 MB / 2.586 GB, free: 2.656 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001467/6.223, allocations: 1.37 MB / 2.588 GB, free: 0.9922 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.533e-05/6.224, allocations: 51.52 kB / 2.588 GB, free: 0.9336 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002155/6.226, allocations: 278.5 kB / 2.588 GB, free: 0.6602 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=105): time 4.649e-06/6.226, allocations: 0 / 2.588 GB, free: 0.6602 MB / 0.9011 GB Notification: Performance of matching and sorting (n=111): time 0.008096/6.234, allocations: 3.317 MB / 2.591 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/6.234, allocations: 171.2 kB / 2.592 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003517/6.237, allocations: 1.795 MB / 2.593 GB, free: 11.26 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002825/6.238, allocations: 57.7 kB / 2.593 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001278/6.239, allocations: 1.196 MB / 2.595 GB, free: 9.988 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000493/6.24, allocations: 386.4 kB / 2.595 GB, free: 9.605 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/6.24, allocations: 28 kB / 2.595 GB, free: 9.578 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002113/6.24, allocations: 353.9 kB / 2.595 GB, free: 9.227 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001147/6.241, allocations: 0.5663 MB / 2.596 GB, free: 8.66 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001584/6.243, allocations: 1.034 MB / 2.597 GB, free: 7.434 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001218/6.244, allocations: 0.6514 MB / 2.597 GB, free: 6.781 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/6.244, allocations: 7.938 kB / 2.597 GB, free: 6.773 MB / 0.9167 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.007564/6.251, allocations: 2.456 MB / 2.6 GB, free: 4.301 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001648/6.253, allocations: 3.736 MB / 2.603 GB, free: 224 kB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/6.253, allocations: 8 kB / 2.603 GB, free: 216 kB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6955/6.949, allocations: 1.086 MB / 2.605 GB, free: 99.84 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00182/6.951, allocations: 327.7 kB / 2.605 GB, free: 99.84 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01059/6.961, allocations: 5.26 MB / 2.61 GB, free: 98.03 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004683/6.966, allocations: 403.6 kB / 2.61 GB, free: 98.03 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007868/6.967, allocations: 78.36 kB / 2.61 GB, free: 98.03 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/6.967, allocations: 3.219 kB / 2.61 GB, free: 98.03 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00795/6.975, allocations: 2.1 MB / 2.613 GB, free: 97.99 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.273e-05/6.975, allocations: 9.391 kB / 2.613 GB, free: 97.99 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002528/6.977, allocations: 0.598 MB / 2.613 GB, free: 97.97 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00223/6.98, allocations: 394.8 kB / 2.613 GB, free: 97.97 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01052/6.99, allocations: 6.214 MB / 2.62 GB, free: 95.33 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003885/6.994, allocations: 355.7 kB / 2.62 GB, free: 95.33 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004546/6.995, allocations: 70.72 kB / 2.62 GB, free: 95.33 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.0005726/6.995, allocations: 189.2 kB / 2.62 GB, free: 95.23 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007832/6.996, allocations: 234.5 kB / 2.62 GB, free: 95.22 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004413/7, allocations: 1.859 MB / 2.622 GB, free: 95.13 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.633e-05/7, allocations: 23.62 kB / 2.622 GB, free: 95.13 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/7, allocations: 0 / 2.622 GB, free: 95.13 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00212/7.003, allocations: 1.697 MB / 2.624 GB, free: 94.66 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009589/7.012, allocations: 4.237 MB / 2.628 GB, free: 94.25 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/7.012, allocations: 1 kB / 2.628 GB, free: 94.25 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001348/7.014, allocations: 261.9 kB / 2.628 GB, free: 94.25 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0024/7.016, allocations: 0.6154 MB / 2.629 GB, free: 94.24 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001508/7.016, allocations: 37.31 kB / 2.629 GB, free: 94.24 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001607/7.018, allocations: 1.23 MB / 2.63 GB, free: 93.71 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/7.018, allocations: 3.219 kB / 2.63 GB, free: 93.71 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005295/7.023, allocations: 2.633 MB / 2.633 GB, free: 93.35 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001844/7.025, allocations: 0.5107 MB / 2.633 GB, free: 93.14 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004025/7.025, allocations: 23.98 kB / 2.633 GB, free: 93.14 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002324/7.028, allocations: 314.2 kB / 2.633 GB, free: 93.13 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000216/7.028, allocations: 77.58 kB / 2.634 GB, free: 93.12 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001498/7.028, allocations: 54 kB / 2.634 GB, free: 93.12 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.00275/7.031, allocations: 1.37 MB / 2.635 GB, free: 92.96 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.7e-07/7.031, allocations: 1.125 kB / 2.635 GB, free: 92.96 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.007722/7.039, allocations: 1.275 MB / 2.636 GB, free: 92.96 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.008025/7.047, allocations: 4.401 MB / 2.64 GB, free: 91.7 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.006426/7.053, allocations: 2.98 MB / 2.643 GB, free: 91.27 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 8.325e-06/7.053, allocations: 2.875 kB / 2.643 GB, free: 91.27 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001645/7.055, allocations: 0.7081 MB / 2.644 GB, free: 91.25 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007335/7.062, allocations: 1.124 MB / 2.645 GB, free: 91.23 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01596/7.078, allocations: 4.199 MB / 2.649 GB, free: 90.31 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001542/7.08, allocations: 1.682 MB / 2.651 GB, free: 89.57 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.003908/7.084, allocations: 0.5912 MB / 2.652 GB, free: 89.54 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001327/7.085, allocations: 1.007 MB / 2.652 GB, free: 89.54 MB / 0.9167 GB Notification: Performance of SimCode: time 1.813e-06/7.085, allocations: 0 / 2.652 GB, free: 89.54 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1681/7.253, allocations: 91.14 MB / 2.742 GB, free: 86.01 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001762/7.253, allocations: 289.5 kB / 2.742 GB, free: 85.67 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.459/12.71, allocations: 3.094 kB / 2.742 GB, free: 85.67 MB / 0.9167 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)