Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) 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) Running command: "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestCoolingTowerStatic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestCoolingTowerStatic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001296/0.001296, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.684/1.684, allocations: 205.2 MB / 219.4 MB, free: 14.26 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009197/0.0009199, allocations: 90.69 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3478/0.3478, allocations: 48.78 MB / 364.3 MB, free: 6.875 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.683e-05/3.686e-05, allocations: 0 / 432.6 MB, free: 16.67 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1586, allocations: 60.26 MB / 492.8 MB, free: 4.285 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.22/10.38, allocations: 3.2 GB / 3.682 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002734/10.38, allocations: 84.16 kB / 3.682 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.7566/11.14, allocations: 214.3 MB / 3.891 GB, free: 86.91 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.884e-06/11.14, allocations: 3.844 kB / 3.891 GB, free: 86.91 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.587e-05/11.14, allocations: 25.84 kB / 3.891 GB, free: 86.91 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 0.005036/11.14, allocations: 1.602 MB / 3.893 GB, free: 86.07 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/11.14, allocations: 11.16 kB / 3.893 GB, free: 86.07 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001803/11.14, allocations: 163.5 kB / 3.893 GB, free: 85.97 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002254/11.14, allocations: 280.2 kB / 3.893 GB, free: 85.91 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001403/11.14, allocations: 0.6744 MB / 3.894 GB, free: 85.52 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.424e-05/11.14, allocations: 76.53 kB / 3.894 GB, free: 85.48 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001706/11.14, allocations: 95.72 kB / 3.894 GB, free: 85.45 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003078/11.15, allocations: 1.716 MB / 3.896 GB, free: 84.77 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/11.15, allocations: 7.406 kB / 3.896 GB, free: 84.77 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/11.15, allocations: 39.56 kB / 3.896 GB, free: 84.73 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/11.15, allocations: 29.27 kB / 3.896 GB, free: 84.73 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002926/11.15, allocations: 1.684 MB / 3.897 GB, free: 84.28 MB / 0.5105 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.005815/11.16, allocations: 5.571 MB / 3.903 GB, free: 80.54 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00336/11.16, allocations: 2.067 MB / 3.905 GB, free: 79.91 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001151/11.16, allocations: 0.9377 MB / 3.906 GB, free: 79.57 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03713/11.2, allocations: 20.04 MB / 3.925 GB, free: 67.84 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.822e-05/11.2, allocations: 52.06 kB / 3.925 GB, free: 67.78 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=180): time 4.108e-06/11.2, allocations: 0 / 3.925 GB, free: 67.78 MB / 0.5105 GB Notification: Performance of matching and sorting (n=180): time 0.007251/11.21, allocations: 3.058 MB / 3.928 GB, free: 66.79 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/11.21, allocations: 69.12 kB / 3.928 GB, free: 66.72 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004555/11.21, allocations: 389.2 kB / 3.929 GB, free: 66.53 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001126/11.21, allocations: 52.83 kB / 3.929 GB, free: 66.48 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/11.21, allocations: 267.4 kB / 3.929 GB, free: 66.26 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005319/11.21, allocations: 0.6208 MB / 3.93 GB, free: 65.77 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.269e-05/11.21, allocations: 27.81 kB / 3.93 GB, free: 65.75 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001106/11.21, allocations: 403.3 kB / 3.93 GB, free: 65.4 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009987/11.21, allocations: 0.7157 MB / 3.931 GB, free: 65.16 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/11.21, allocations: 0.9211 MB / 3.932 GB, free: 64.73 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/11.21, allocations: 0.8864 MB / 3.933 GB, free: 64.45 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/11.21, allocations: 3.953 kB / 3.933 GB, free: 64.44 MB / 0.5105 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004323/11.21, allocations: 2.665 MB / 3.935 GB, free: 63.51 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/11.21, allocations: 11.7 kB / 3.935 GB, free: 63.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/11.21, allocations: 3.812 kB / 3.935 GB, free: 63.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01102/11.23, allocations: 2.219 MB / 3.937 GB, free: 63.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008668/11.23, allocations: 169.9 kB / 3.937 GB, free: 63.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005712/11.23, allocations: 3.418 MB / 3.941 GB, free: 61.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/11.23, allocations: 150.1 kB / 3.941 GB, free: 61.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001904/11.23, allocations: 66.7 kB / 3.941 GB, free: 61.18 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {36 100} Notification: Performance of prepare postOptimizeDAE: time 0.0003248/11.23, allocations: 180.8 kB / 3.941 GB, free: 60.99 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000267/11.23, allocations: 98.88 kB / 3.941 GB, free: 60.89 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01/11.24, allocations: 9.243 MB / 3.95 GB, free: 52.75 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.084e-05/11.24, allocations: 122 kB / 3.95 GB, free: 52.68 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/11.24, allocations: 0 / 3.95 GB, free: 52.68 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-05/11.24, allocations: 15.25 kB / 3.95 GB, free: 52.67 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01089/11.26, allocations: 10.72 MB / 3.961 GB, free: 43.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/11.26, allocations: 4 kB / 3.961 GB, free: 43.22 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00054/11.26, allocations: 113 kB / 3.961 GB, free: 43.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01384/11.27, allocations: 5.948 MB / 3.967 GB, free: 37.86 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006749/11.27, allocations: 51.98 kB / 3.967 GB, free: 37.81 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01058/11.28, allocations: 7.741 MB / 3.974 GB, free: 30.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/11.28, allocations: 0 / 3.974 GB, free: 30.03 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009215/11.29, allocations: 7.478 MB / 3.982 GB, free: 22.45 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009447/11.29, allocations: 0.6485 MB / 3.982 GB, free: 21.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003244/11.29, allocations: 40 kB / 3.982 GB, free: 21.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001141/11.29, allocations: 83.8 kB / 3.983 GB, free: 21.65 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002462/11.29, allocations: 133.8 kB / 3.983 GB, free: 21.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001472/11.29, allocations: 71.97 kB / 3.983 GB, free: 21.45 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000433/11.29, allocations: 401.5 kB / 3.983 GB, free: 21.06 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/11.29, allocations: 0 / 3.983 GB, free: 21.06 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003973/11.3, allocations: 1.218 MB / 3.984 GB, free: 19.84 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 37 ($cse8.region3boundary,$cse10.phase,$cse10.region,$cse14.region3boundary,$cse16.region3boundary,$cse18.phase,$cse18.region,$cse22.region3boundary,$cse24.region3boundary,$cse26.phase,$cse26.region,$cse30.region3boundary,$cse32.region3boundary,$cse34.phase,$cse34.region,$cse38.region3boundary,$cse40.region3boundary,$cse42.phase,$cse42.region,$cse46.region3boundary,$cse48.region3boundary,$cse50.phase,$cse50.region,$cse54.region3boundary,$cse56.region3boundary,$cse58.phase,$cse58.region,$cse62.region3boundary,$cse64.region3boundary,$cse66.phase,$cse66.region,$cse70.region3boundary,$cse72.region3boundary,$cse74.phase,$cse74.region,$cse77.region3boundary,$cse79.region3boundary) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 19 * 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 {36 147} Notification: Performance of Backend phase and start with SimCode phase: time 0.01159/11.31, allocations: 7.669 MB / 3.992 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005761/11.32, allocations: 3.234 MB / 3.995 GB, free: 8.934 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/11.32, allocations: 0 / 3.995 GB, free: 8.934 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003947/11.32, allocations: 2.584 MB / 3.997 GB, free: 6.34 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003375/11.32, allocations: 0.6914 MB / 3.998 GB, free: 5.645 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008828/11.33, allocations: 4.852 MB / 4.003 GB, free: 0.7227 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2531/11.59, allocations: 1.628 MB / 4.004 GB, free: 87.61 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001337/11.59, allocations: 376.8 kB / 4.005 GB, free: 87.59 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009456/11.59, allocations: 0.7072 MB / 4.005 GB, free: 87.59 MB / 0.5105 GB Notification: Performance of SimCode: time 1.172e-06/11.59, allocations: 0 / 4.005 GB, free: 87.59 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1417/11.73, allocations: 84.29 MB / 4.088 GB, free: 80.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001634/11.73, allocations: 180.6 kB / 4.088 GB, free: 80.09 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.017/16.75, allocations: 4 kB / 4.088 GB, free: 80.08 MB / 0.5105 GB (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestCoolingTowerStatic_fmu --startTime=-50 --stopTime=200 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestCoolingTowerStatic.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe 2>&1)