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.001509/0.001509, allocations: 176.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.829/1.829, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001022/0.001022, allocations: 87.8 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5907/0.5907, allocations: 48.77 MB / 358.8 MB, free: 53.12 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.199e-05/3.192e-05, allocations: 4.219 kB / 425.4 MB, free: 8.141 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1668, allocations: 60.24 MB / 485.6 MB, free: 11.75 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.498/9.665, allocations: 3.2 GB / 3.674 GB, free: 83.76 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003941/9.665, allocations: 80.64 kB / 3.674 GB, free: 83.68 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 0.8781/10.54, allocations: 211.9 MB / 3.881 GB, free: 78.34 MB / 0.5108 GB Notification: Performance of FrontEnd: time 2.134e-06/10.54, allocations: 0 / 3.881 GB, free: 78.34 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 5.19e-05/10.54, allocations: 16 kB / 3.881 GB, free: 78.33 MB / 0.5108 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.009428/10.55, allocations: 1.612 MB / 3.883 GB, free: 76.68 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 6.118e-05/10.55, allocations: 8.031 kB / 3.883 GB, free: 76.67 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004246/10.56, allocations: 287.4 kB / 3.883 GB, free: 76.39 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002563/10.56, allocations: 0.6772 MB / 3.883 GB, free: 75.68 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.516e-05/10.56, allocations: 32 kB / 3.884 GB, free: 75.65 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002079/10.56, allocations: 56.69 kB / 3.884 GB, free: 75.6 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003128/10.56, allocations: 1.39 MB / 3.885 GB, free: 74.21 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002756/10.57, allocations: 1.364 MB / 3.886 GB, free: 72.77 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.217e-05/10.57, allocations: 0 / 3.886 GB, free: 72.77 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001531/10.57, allocations: 3.938 kB / 3.886 GB, free: 72.77 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.03e-05/10.57, allocations: 24 kB / 3.886 GB, free: 72.74 MB / 0.5108 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.1214/10.69, allocations: 54.86 MB / 3.94 GB, free: 13.48 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003403/10.69, allocations: 1.78 MB / 3.942 GB, free: 11.7 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001438/10.69, allocations: 0.8422 MB / 3.942 GB, free: 10.86 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3996/11.09, allocations: 20.02 MB / 3.962 GB, free: 85.52 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.598e-05/11.09, allocations: 49.19 kB / 3.962 GB, free: 85.48 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=169): time 4.248e-06/11.09, allocations: 3.938 kB / 3.962 GB, free: 85.48 MB / 0.5108 GB Notification: Performance of matching and sorting (n=169): time 0.007821/11.1, allocations: 2.756 MB / 3.965 GB, free: 85.39 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/11.1, allocations: 75.59 kB / 3.965 GB, free: 85.33 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005181/11.1, allocations: 379.7 kB / 3.965 GB, free: 85.21 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 9.313e-05/11.1, allocations: 25.7 kB / 3.965 GB, free: 85.18 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001937/11.1, allocations: 305.7 kB / 3.965 GB, free: 85.02 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005766/11.1, allocations: 0.5547 MB / 3.966 GB, free: 84.73 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.351e-05/11.1, allocations: 0 / 3.966 GB, free: 84.73 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 0.000144/11.1, allocations: 400.9 kB / 3.966 GB, free: 84.41 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008947/11.1, allocations: 0.6842 MB / 3.967 GB, free: 84.41 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009948/11.1, allocations: 0.8734 MB / 3.968 GB, free: 84.25 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002472/11.11, allocations: 0.9905 MB / 3.969 GB, free: 84.23 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/11.11, allocations: 7.516 kB / 3.969 GB, free: 84.23 MB / 0.5108 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.005461/11.11, allocations: 2.643 MB / 3.971 GB, free: 84.09 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 3.037e-05/11.11, allocations: 10.2 kB / 3.971 GB, free: 84.09 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/11.11, allocations: 10.25 kB / 3.971 GB, free: 84.09 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008513/11.12, allocations: 1.924 MB / 3.973 GB, free: 84.07 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009144/11.12, allocations: 162.6 kB / 3.974 GB, free: 84.07 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007423/11.13, allocations: 3.772 MB / 3.977 GB, free: 83.47 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001367/11.13, allocations: 114.6 kB / 3.977 GB, free: 83.43 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001561/11.13, allocations: 70.84 kB / 3.977 GB, free: 83.43 MB / 0.5108 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.0002952/11.13, allocations: 123.5 kB / 3.978 GB, free: 83.32 MB / 0.5108 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004982/11.14, allocations: 2.452 MB / 3.98 GB, free: 83.19 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002525/11.14, allocations: 93.25 kB / 3.98 GB, free: 83.14 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01104/11.15, allocations: 7.519 MB / 3.987 GB, free: 82.6 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.523e-05/11.15, allocations: 80.08 kB / 3.987 GB, free: 82.6 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/11.15, allocations: 0 / 3.987 GB, free: 82.6 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.713e-05/11.15, allocations: 16.44 kB / 3.987 GB, free: 82.6 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01195/11.16, allocations: 8.76 MB / 3.996 GB, free: 81.9 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.231e-05/11.16, allocations: 0 / 3.996 GB, free: 81.9 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004502/11.16, allocations: 81.38 kB / 3.996 GB, free: 81.9 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01546/11.18, allocations: 5.845 MB / 4.002 GB, free: 81.66 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005337/11.18, allocations: 22.59 kB / 4.002 GB, free: 81.66 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01563/11.19, allocations: 8.864 MB / 4.01 GB, free: 79.75 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.767e-06/11.19, allocations: 0.9062 kB / 4.01 GB, free: 79.75 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01059/11.2, allocations: 6.6 MB / 4.017 GB, free: 76.79 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009303/11.2, allocations: 0.5453 MB / 4.017 GB, free: 76.45 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003175/11.2, allocations: 1.812 kB / 4.017 GB, free: 76.45 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/11.2, allocations: 45.3 kB / 4.017 GB, free: 76.44 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002289/11.2, allocations: 117.9 kB / 4.018 GB, free: 76.43 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001905/11.2, allocations: 63 kB / 4.018 GB, free: 76.41 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.0004912/11.21, allocations: 333.2 kB / 4.018 GB, free: 76.25 MB / 0.5108 GB Notification: Performance of sort global known variables: time 1.7e-07/11.21, allocations: 3.844 kB / 4.018 GB, free: 76.25 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.005529/11.21, allocations: 1.125 MB / 4.019 GB, free: 76.16 MB / 0.5108 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 28 ($cse5.region3boundary,$cse7.phase,$cse7.region,$cse11.region3boundary,$cse13.phase,$cse13.region,$cse17.region3boundary,$cse19.phase,$cse19.region,$cse23.region3boundary,$cse25.phase,$cse25.region,$cse29.region3boundary,$cse31.phase,$cse31.region,$cse35.region3boundary,$cse37.phase,$cse37.region,$cse41.region3boundary,$cse43.phase,$cse43.region,$cse47.region3boundary,$cse49.phase,$cse49.region,$cse53.region3boundary,$cse55.phase,$cse55.region,$cse58.region3boundary) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 41 * 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 147} Notification: Performance of Backend phase and start with SimCode phase: time 0.01709/11.23, allocations: 7.029 MB / 4.026 GB, free: 73.21 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.007068/11.24, allocations: 2.777 MB / 4.029 GB, free: 72.37 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 5.371e-06/11.24, allocations: 0 / 4.029 GB, free: 72.37 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.004605/11.24, allocations: 2.168 MB / 4.031 GB, free: 71.57 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003221/11.24, allocations: 0.551 MB / 4.031 GB, free: 71.48 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009463/11.25, allocations: 3.884 MB / 4.035 GB, free: 70.09 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009271/11.25, allocations: 1.464 MB / 4.037 GB, free: 69.33 MB / 0.5108 GB Notification: Performance of simCode: alias equations: time 0.0009744/11.25, allocations: 374.8 kB / 4.037 GB, free: 69.32 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006517/11.26, allocations: 0.5648 MB / 4.037 GB, free: 68.84 MB / 0.5108 GB Notification: Performance of SimCode: time 1.142e-06/11.26, allocations: 3.062 kB / 4.037 GB, free: 68.84 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1214/11.38, allocations: 71.17 MB / 4.107 GB, free: 37.95 MB / 0.5108 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002101/11.38, allocations: 144 kB / 4.107 GB, free: 37.75 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.4/15.78, allocations: 0 / 4.107 GB, free: 37.75 MB / 0.5108 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)