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.002005/0.002004, allocations: 179.9 kB / 16.38 MB, free: 5.766 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.913/1.913, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001284/0.001285, allocations: 92.36 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.594/0.594, allocations: 48.78 MB / 367.9 MB, free: 47.41 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004147/0.0004147, allocations: 8 kB / 438.7 MB, free: 10.88 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.166, allocations: 60.24 MB / 499 MB, free: 14.5 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.837/9.003, allocations: 3.2 GB / 3.688 GB, free: 17.58 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002861/9.003, allocations: 87.95 kB / 3.688 GB, free: 17.5 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.8135/9.817, allocations: 214.9 MB / 3.898 GB, free: 13.94 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.086e-06/9.817, allocations: 0 / 3.898 GB, free: 13.94 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.432e-05/9.817, allocations: 27.98 kB / 3.898 GB, free: 13.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.007457/9.824, allocations: 1.665 MB / 3.899 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/9.824, allocations: 8.031 kB / 3.899 GB, free: 12.19 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004642/9.825, allocations: 156 kB / 3.9 GB, free: 12.03 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002523/9.827, allocations: 283.8 kB / 3.9 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002127/9.83, allocations: 0.676 MB / 3.9 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.091e-05/9.83, allocations: 77.95 kB / 3.901 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001655/9.83, allocations: 91.94 kB / 3.901 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003579/9.833, allocations: 1.696 MB / 3.902 GB, free: 9.102 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/9.833, allocations: 3.938 kB / 3.902 GB, free: 9.098 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/9.834, allocations: 44 kB / 3.902 GB, free: 9.055 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.815e-05/9.834, allocations: 24 kB / 3.902 GB, free: 9.031 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00298/9.837, allocations: 1.686 MB / 3.904 GB, free: 7.344 MB / 0.5105 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.006546/9.843, allocations: 5.575 MB / 3.909 GB, free: 1.414 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3731/10.22, allocations: 2.053 MB / 3.911 GB, free: 77.32 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03864/10.25, allocations: 19.95 MB / 3.931 GB, free: 66.16 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.25e-05/10.26, allocations: 52.22 kB / 3.931 GB, free: 66.12 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=180): time 3.326e-06/10.26, allocations: 0 / 3.931 GB, free: 66.12 MB / 0.5105 GB Notification: Performance of matching and sorting (n=180): time 0.06542/10.32, allocations: 14.65 MB / 3.945 GB, free: 65.93 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/10.32, allocations: 72.12 kB / 3.945 GB, free: 65.86 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004941/10.32, allocations: 396.8 kB / 3.946 GB, free: 65.75 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001086/10.32, allocations: 52.86 kB / 3.946 GB, free: 65.72 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/10.32, allocations: 260.8 kB / 3.946 GB, free: 65.59 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004783/10.32, allocations: 0.6057 MB / 3.947 GB, free: 65.28 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.922e-05/10.32, allocations: 34.91 kB / 3.947 GB, free: 65.28 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001126/10.32, allocations: 405.6 kB / 3.947 GB, free: 64.97 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001052/10.32, allocations: 0.7436 MB / 3.948 GB, free: 64.96 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00114/10.32, allocations: 0.9507 MB / 3.949 GB, free: 64.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/10.33, allocations: 0.9107 MB / 3.95 GB, free: 64.78 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.225e-06/10.33, allocations: 3.312 kB / 3.95 GB, free: 64.78 MB / 0.5105 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004305/10.33, allocations: 2.749 MB / 3.952 GB, free: 64.64 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/10.33, allocations: 5 kB / 3.952 GB, free: 64.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/10.33, allocations: 6.938 kB / 3.952 GB, free: 64.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01184/10.34, allocations: 2.225 MB / 3.954 GB, free: 64.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008719/10.34, allocations: 167 kB / 3.955 GB, free: 64.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006069/10.35, allocations: 3.449 MB / 3.958 GB, free: 64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/10.35, allocations: 145.1 kB / 3.958 GB, free: 63.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000272/10.35, allocations: 70.39 kB / 3.958 GB, free: 63.96 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 () * Number of clocked 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.0007587/10.35, allocations: 331.9 kB / 3.959 GB, free: 63.85 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002754/10.35, allocations: 101.7 kB / 3.959 GB, free: 63.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01201/10.36, allocations: 9.335 MB / 3.968 GB, free: 63.08 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001128/10.36, allocations: 113.6 kB / 3.968 GB, free: 63.08 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.687e-06/10.36, allocations: 0.9375 kB / 3.968 GB, free: 63.08 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-05/10.36, allocations: 11.34 kB / 3.968 GB, free: 63.08 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01232/10.38, allocations: 10.75 MB / 3.978 GB, free: 62.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.288e-05/10.38, allocations: 3.656 kB / 3.978 GB, free: 62.35 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000541/10.38, allocations: 112.8 kB / 3.978 GB, free: 62.35 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01311/10.39, allocations: 4.979 MB / 3.983 GB, free: 62.12 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000585/10.39, allocations: 50.73 kB / 3.983 GB, free: 62.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009752/10.4, allocations: 7.779 MB / 3.991 GB, free: 58.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.167e-06/10.4, allocations: 9.812 kB / 3.991 GB, free: 58.96 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009168/10.41, allocations: 7.517 MB / 3.998 GB, free: 55.52 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001423/10.41, allocations: 0.6393 MB / 3.999 GB, free: 55.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002276/10.41, allocations: 39.41 kB / 3.999 GB, free: 55.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009792/10.41, allocations: 91.36 kB / 3.999 GB, free: 55.04 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002325/10.41, allocations: 134.7 kB / 3.999 GB, free: 55.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001436/10.41, allocations: 72.3 kB / 3.999 GB, free: 55.01 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005306/10.41, allocations: 405.5 kB / 4 GB, free: 54.83 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/10.41, allocations: 0 / 4 GB, free: 54.83 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005222/10.42, allocations: 1.212 MB / 4.001 GB, free: 54.69 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 () * Number of clocked 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.01337/10.43, allocations: 7.747 MB / 4.008 GB, free: 51.38 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006526/10.44, allocations: 3.309 MB / 4.012 GB, free: 50.33 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/10.44, allocations: 0 / 4.012 GB, free: 50.33 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004303/10.44, allocations: 2.623 MB / 4.014 GB, free: 49.32 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003155/10.45, allocations: 0.6894 MB / 4.015 GB, free: 49.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01839/10.46, allocations: 14.72 MB / 4.029 GB, free: 40.77 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001151/10.47, allocations: 1.633 MB / 4.031 GB, free: 39.99 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001163/10.47, allocations: 379.4 kB / 4.031 GB, free: 39.97 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007099/10.47, allocations: 0.7013 MB / 4.032 GB, free: 39.38 MB / 0.5105 GB Notification: Performance of SimCode: time 1.352e-06/10.47, allocations: 5.562 kB / 4.032 GB, free: 39.38 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3976/10.86, allocations: 81.89 MB / 4.112 GB, free: 85.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001596/10.86, allocations: 204.8 kB / 4.112 GB, free: 85.36 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.099/15.96, allocations: 2.438 kB / 4.112 GB, free: 85.36 MB / 0.5261 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)