Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.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.TestCoolingTowerPacking,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestCoolingTowerPacking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestCoolingTowerPacking",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.002509/0.002509, allocations: 177.1 kB / 8.35 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 2.019/2.019, 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.0009601/0.0009601, allocations: 77.95 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5545/0.5545, allocations: 48.77 MB / 358.8 MB, free: 53.12 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.634e-05/3.668e-05, allocations: 0 / 425.4 MB, free: 8.137 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1614, allocations: 60.27 MB / 485.7 MB, free: 11.72 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.77/9.931, allocations: 3.2 GB / 3.674 GB, free: 5.875 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002697/9.931, allocations: 82.08 kB / 3.674 GB, free: 5.836 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 0.8353/10.77, allocations: 214.2 MB / 3.883 GB, free: 6.207 MB / 0.5108 GB Notification: Performance of FrontEnd: time 1.823e-06/10.77, allocations: 0 / 3.883 GB, free: 6.207 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 4.394e-05/10.77, allocations: 25.09 kB / 3.883 GB, free: 6.184 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.008784/10.78, allocations: 1.749 MB / 3.885 GB, free: 4.395 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/10.78, allocations: 8.031 kB / 3.885 GB, free: 4.387 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002735/10.78, allocations: 287.9 kB / 3.885 GB, free: 4.105 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002514/10.78, allocations: 0.8354 MB / 3.886 GB, free: 3.242 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.347e-05/10.78, allocations: 39.95 kB / 3.886 GB, free: 3.203 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002512/10.78, allocations: 60 kB / 3.886 GB, free: 3.145 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002288/10.78, allocations: 1.558 MB / 3.888 GB, free: 1.586 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002011/10.79, allocations: 1.469 MB / 3.889 GB, free: 76 kB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/10.79, allocations: 4 kB / 3.889 GB, free: 72 kB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001302/10.79, allocations: 0 / 3.889 GB, free: 72 kB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.974e-05/10.79, allocations: 24 kB / 3.889 GB, free: 48 kB / 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.3867/11.17, allocations: 24.27 MB / 3.913 GB, free: 68.78 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003436/11.18, allocations: 2.1 MB / 3.915 GB, free: 68.75 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001327/11.18, allocations: 0.9877 MB / 3.916 GB, free: 68.74 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03735/11.21, allocations: 20.03 MB / 3.935 GB, free: 57.57 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.439e-05/11.21, allocations: 51.66 kB / 3.935 GB, free: 57.54 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=204): time 5.34e-06/11.21, allocations: 0 / 3.935 GB, free: 57.54 MB / 0.5108 GB Notification: Performance of matching and sorting (n=204): time 0.0106/11.23, allocations: 3.122 MB / 3.939 GB, free: 57.26 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/11.23, allocations: 73.34 kB / 3.939 GB, free: 57.19 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004074/11.23, allocations: 287.7 kB / 3.939 GB, free: 57.09 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 0.000271/11.23, allocations: 29.11 kB / 3.939 GB, free: 57.06 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/11.23, allocations: 217.8 kB / 3.939 GB, free: 56.95 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006295/11.23, allocations: 0.6993 MB / 3.94 GB, free: 56.59 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/11.23, allocations: 0 / 3.94 GB, free: 56.59 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 0.0001545/11.23, allocations: 409.5 kB / 3.94 GB, free: 56.27 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001302/11.23, allocations: 0.8677 MB / 3.941 GB, free: 56.27 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001429/11.23, allocations: 1.005 MB / 3.942 GB, free: 56.21 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003093/11.23, allocations: 1.187 MB / 3.943 GB, free: 56.19 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.003e-05/11.23, allocations: 0 / 3.943 GB, free: 56.19 MB / 0.5108 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.007715/11.24, allocations: 3.206 MB / 3.946 GB, free: 56.05 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 3.003e-05/11.24, allocations: 4.094 kB / 3.946 GB, free: 56.05 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/11.24, allocations: 2 kB / 3.946 GB, free: 56.05 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01127/11.25, allocations: 2.313 MB / 3.949 GB, free: 56.02 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/11.25, allocations: 240.3 kB / 3.949 GB, free: 56.02 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00979/11.26, allocations: 4.492 MB / 3.953 GB, free: 55.41 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001668/11.27, allocations: 117.4 kB / 3.953 GB, free: 55.37 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001814/11.27, allocations: 75.38 kB / 3.953 GB, free: 55.37 MB / 0.5108 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * 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 117} Notification: Performance of prepare postOptimizeDAE: time 0.0003799/11.27, allocations: 118.7 kB / 3.953 GB, free: 55.26 MB / 0.5108 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006963/11.27, allocations: 2.778 MB / 3.956 GB, free: 54.98 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003297/11.27, allocations: 104.3 kB / 3.956 GB, free: 54.94 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01242/11.29, allocations: 8.59 MB / 3.965 GB, free: 54.1 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.469e-05/11.29, allocations: 115.4 kB / 3.965 GB, free: 54.1 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-05/11.29, allocations: 3.344 kB / 3.965 GB, free: 54.1 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.789e-05/11.29, allocations: 11.11 kB / 3.965 GB, free: 54.1 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01365/11.3, allocations: 10.13 MB / 3.975 GB, free: 53.25 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-05/11.3, allocations: 5.438 kB / 3.975 GB, free: 53.25 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002831/11.3, allocations: 0.4955 MB / 3.975 GB, free: 53.25 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006208/11.31, allocations: 2.49 MB / 3.978 GB, free: 53.01 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008723/11.31, allocations: 50.89 kB / 3.978 GB, free: 53.01 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01292/11.32, allocations: 19.57 MB / 3.997 GB, free: 37.49 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/11.32, allocations: 3.5 kB / 3.997 GB, free: 37.49 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01434/11.34, allocations: 9.57 MB / 4.006 GB, free: 35.57 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001325/11.34, allocations: 0.6562 MB / 4.007 GB, free: 35.16 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002497/11.34, allocations: 22.91 kB / 4.007 GB, free: 35.16 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001123/11.34, allocations: 48.02 kB / 4.007 GB, free: 35.15 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003544/11.34, allocations: 177.7 kB / 4.007 GB, free: 35.12 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001719/11.34, allocations: 78.38 kB / 4.007 GB, free: 35.11 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.0002877/11.34, allocations: 281.9 kB / 4.007 GB, free: 34.96 MB / 0.5108 GB Notification: Performance of sort global known variables: time 1.6e-07/11.34, allocations: 1.844 kB / 4.007 GB, free: 34.96 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.005556/11.35, allocations: 1.212 MB / 4.009 GB, free: 34.87 MB / 0.5108 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 27 (coolingTower.M[1],coolingTower.M[2],coolingTower.M[3],coolingTower.M[4],coolingTower.M[5],coolingTower.M[6],coolingTower.M[7],coolingTower.M[8],coolingTower.M[9],coolingTower.hltilde[1],coolingTower.hltilde[2],coolingTower.hltilde[3],coolingTower.hltilde[4],coolingTower.hltilde[5],coolingTower.hltilde[6],coolingTower.hltilde[7],coolingTower.hltilde[8],coolingTower.hltilde[9],coolingTower.Tp[1],coolingTower.Tp[2],coolingTower.Tp[3],coolingTower.Tp[4],coolingTower.Tp[5],coolingTower.Tp[6],coolingTower.Tp[7],coolingTower.Tp[8],coolingTower.Tp[9]) * Number of discrete variables: 36 ($cse5.region3boundary,$cse7.phase,$cse7.region,$cse11.region3boundary,$cse13.region3boundary,$cse15.phase,$cse15.region,$cse19.region3boundary,$cse21.region3boundary,$cse23.phase,$cse23.region,$cse27.region3boundary,$cse29.region3boundary,$cse31.phase,$cse31.region,$cse35.region3boundary,$cse37.region3boundary,$cse39.phase,$cse39.region,$cse43.region3boundary,$cse45.region3boundary,$cse47.phase,$cse47.region,$cse51.region3boundary,$cse53.region3boundary,$cse55.phase,$cse55.region,$cse59.region3boundary,$cse61.region3boundary,$cse63.phase,$cse63.region,$cse67.region3boundary,$cse69.region3boundary,$cse71.phase,$cse71.region,$cse74.region3boundary) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (203): * Single equations (assignments): 149 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 36 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 9 {2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01998/11.37, allocations: 10.03 MB / 4.018 GB, free: 30.57 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.008984/11.38, allocations: 3.606 MB / 4.022 GB, free: 29.41 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/11.38, allocations: 4 kB / 4.022 GB, free: 29.41 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.005595/11.38, allocations: 3.455 MB / 4.025 GB, free: 27.49 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003438/11.38, allocations: 0.6284 MB / 4.026 GB, free: 27.37 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0115/11.4, allocations: 6.743 MB / 4.032 GB, free: 24.47 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009587/11.4, allocations: 1.645 MB / 4.034 GB, free: 23.68 MB / 0.5108 GB Notification: Performance of simCode: alias equations: time 0.001458/11.4, allocations: 422 kB / 4.034 GB, free: 23.63 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009281/11.4, allocations: 0.7598 MB / 4.035 GB, free: 23.02 MB / 0.5108 GB Notification: Performance of SimCode: time 1.292e-06/11.4, allocations: 1.641 kB / 4.035 GB, free: 23.02 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4371/11.84, allocations: 81.46 MB / 4.115 GB, free: 88.18 MB / 0.5265 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001524/11.84, allocations: 144.4 kB / 4.115 GB, free: 87.99 MB / 0.5265 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.114/16.95, allocations: 0.5625 kB / 4.115 GB, free: 87.99 MB / 0.5265 GB (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestCoolingTowerPacking_fmu --startTime=-50 --stopTime=200 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestCoolingTowerPacking.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe 2>&1)