Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Obsolete_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 8.0.1-maint.8.0.x/package.mo): time 1.721/1.721, allocations: 285.6 MB / 293.1 MB, free: 10.25 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.001068/0.001067, allocations: 188.9 kB / 361.4 MB, free: 6.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.808/1.808, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.0009719/0.0009721, allocations: 97.77 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.2e-05/3.203e-05, allocations: 4 kB / 0.8518 GB, free: 2.625 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9148/0.9148, allocations: 115.3 MB / 0.9644 GB, free: 78.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.381/2.296, allocations: 446 MB / 1.4 GB, free: 121.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/2.296, allocations: 96.44 kB / 1.4 GB, free: 121.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.03/7.327, allocations: 1.272 GB / 2.672 GB, free: 14.02 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.084e-06/7.327, allocations: 0 / 2.672 GB, free: 14.02 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0005287/7.327, allocations: 75.92 kB / 2.672 GB, free: 13.95 MB / 0.9636 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.008967/7.336, allocations: 2.753 MB / 2.675 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/7.336, allocations: 8.031 kB / 2.675 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006412/7.343, allocations: 1.004 MB / 2.676 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009161/7.352, allocations: 2.914 MB / 2.678 GB, free: 7.145 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001431/7.352, allocations: 60 kB / 2.678 GB, free: 7.086 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007985/7.353, allocations: 116 kB / 2.679 GB, free: 6.973 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004554/7.357, allocations: 1.573 MB / 2.68 GB, free: 5.398 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005141/7.363, allocations: 1.876 MB / 2.682 GB, free: 3.434 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.362e-05/7.363, allocations: 0 / 2.682 GB, free: 3.434 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000264/7.363, allocations: 4 kB / 2.682 GB, free: 3.43 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.376e-05/7.363, allocations: 51.94 kB / 2.682 GB, free: 3.379 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.02247/7.385, allocations: 11.79 MB / 2.694 GB, free: 6.762 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005635/7.391, allocations: 1.63 MB / 2.695 GB, free: 5.121 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001222/7.392, allocations: 0.6553 MB / 2.696 GB, free: 4.461 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001425/7.394, allocations: 1.37 MB / 2.697 GB, free: 2.797 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.382e-05/7.394, allocations: 47.88 kB / 2.697 GB, free: 2.742 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002093/7.396, allocations: 242.8 kB / 2.697 GB, free: 2.504 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=105): time 5.5e-06/7.396, allocations: 0 / 2.697 GB, free: 2.504 MB / 0.9792 GB Notification: Performance of matching and sorting (n=111): time 0.7548/8.151, allocations: 3.43 MB / 2.701 GB, free: 107 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.983e-05/8.151, allocations: 169.4 kB / 2.701 GB, free: 106.8 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003308/8.154, allocations: 1.56 MB / 2.702 GB, free: 106.6 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.00039/8.155, allocations: 29.2 kB / 2.702 GB, free: 106.6 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009604/8.156, allocations: 1.195 MB / 2.704 GB, free: 106.2 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003936/8.156, allocations: 372.7 kB / 2.704 GB, free: 106 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.797e-05/8.156, allocations: 0.7188 kB / 2.704 GB, free: 106 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001096/8.156, allocations: 361.8 kB / 2.704 GB, free: 105.7 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009857/8.157, allocations: 0.5405 MB / 2.705 GB, free: 105.7 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001189/8.158, allocations: 1.009 MB / 2.706 GB, free: 105.2 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001841/8.16, allocations: 0.7139 MB / 2.706 GB, free: 105.2 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/8.16, allocations: 3.031 kB / 2.707 GB, free: 105.2 MB / 0.9792 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.007877/8.168, allocations: 2.393 MB / 2.709 GB, free: 105 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007325/8.169, allocations: 3.707 MB / 2.712 GB, free: 101.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/8.169, allocations: 11 kB / 2.712 GB, free: 101.1 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003202/8.172, allocations: 0.86 MB / 2.713 GB, free: 101 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001793/8.174, allocations: 363.1 kB / 2.714 GB, free: 101 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009092/8.183, allocations: 5.291 MB / 2.719 GB, free: 98.71 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003973/8.187, allocations: 367.6 kB / 2.719 GB, free: 98.7 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003107/8.187, allocations: 77.22 kB / 2.719 GB, free: 98.7 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/8.188, allocations: 4 kB / 2.719 GB, free: 98.7 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006993/8.195, allocations: 2.011 MB / 2.721 GB, free: 98.63 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.163e-05/8.195, allocations: 9.844 kB / 2.721 GB, free: 98.63 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002449/8.197, allocations: 0.5764 MB / 2.722 GB, free: 98.61 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002089/8.199, allocations: 402.1 kB / 2.722 GB, free: 98.61 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01051/8.21, allocations: 6.962 MB / 2.729 GB, free: 94.71 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003731/8.213, allocations: 322.7 kB / 2.729 GB, free: 94.71 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003635/8.214, allocations: 73.14 kB / 2.729 GB, free: 94.71 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.0005955/8.214, allocations: 135.2 kB / 2.729 GB, free: 94.61 MB / 0.9792 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003521/8.218, allocations: 1.451 MB / 2.731 GB, free: 94.41 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004798/8.218, allocations: 220.2 kB / 2.731 GB, free: 94.29 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004175/8.223, allocations: 1.784 MB / 2.733 GB, free: 94.16 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-05/8.223, allocations: 10.41 kB / 2.733 GB, free: 94.16 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/8.223, allocations: 6.359 kB / 2.733 GB, free: 94.16 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002435/8.225, allocations: 1.657 MB / 2.734 GB, free: 93.68 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008999/8.234, allocations: 3.989 MB / 2.738 GB, free: 93.23 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.939e-06/8.234, allocations: 2.625 kB / 2.738 GB, free: 93.23 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001356/8.236, allocations: 299 kB / 2.739 GB, free: 93.23 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001312/8.237, allocations: 402 kB / 2.739 GB, free: 93.21 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001139/8.237, allocations: 22.19 kB / 2.739 GB, free: 93.21 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001285/8.238, allocations: 1.535 MB / 2.741 GB, free: 92.16 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/8.238, allocations: 3.094 kB / 2.741 GB, free: 92.16 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005207/8.244, allocations: 2.501 MB / 2.743 GB, free: 91.74 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001957/8.246, allocations: 0.5078 MB / 2.744 GB, free: 91.53 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008474/8.246, allocations: 4.641 kB / 2.744 GB, free: 91.53 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002941/8.249, allocations: 295.4 kB / 2.744 GB, free: 91.52 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001841/8.25, allocations: 85.33 kB / 2.744 GB, free: 91.52 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001488/8.25, allocations: 51.19 kB / 2.744 GB, free: 91.52 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.002834/8.253, allocations: 1.16 MB / 2.745 GB, free: 91.38 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2.9e-07/8.253, allocations: 2.438 kB / 2.745 GB, free: 91.38 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.008452/8.261, allocations: 1.265 MB / 2.746 GB, free: 91.38 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.007501/8.269, allocations: 4.259 MB / 2.75 GB, free: 90.11 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.005722/8.274, allocations: 2.898 MB / 2.753 GB, free: 89.62 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/8.274, allocations: 3.688 kB / 2.753 GB, free: 89.62 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001203/8.276, allocations: 0.6708 MB / 2.754 GB, free: 89.61 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006509/8.282, allocations: 1.038 MB / 2.755 GB, free: 89.6 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0154/8.298, allocations: 4.081 MB / 2.759 GB, free: 88.68 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001506/8.299, allocations: 1.672 MB / 2.761 GB, free: 87.94 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.003931/8.303, allocations: 0.5829 MB / 2.761 GB, free: 87.92 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001493/8.305, allocations: 1.006 MB / 2.762 GB, free: 87.92 MB / 0.9792 GB Notification: Performance of SimCode: time 1.032e-06/8.305, allocations: 2.25 kB / 2.762 GB, free: 87.92 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1434/8.448, allocations: 77.55 MB / 2.838 GB, free: 84.77 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001622/8.448, allocations: 237.7 kB / 2.838 GB, free: 84.48 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.906/13.35, allocations: 4.156 kB / 2.838 GB, free: 84.48 MB / 0.9792 GB (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating.fmu > Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe 2>&1)