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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009054/0.0009054, allocations: 87.11 kB / 16.31 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000974/0.000974, allocations: 176.3 kB / 17.21 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.374/1.374, allocations: 205.4 MB / 223.4 MB, free: 5.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3973/0.3973, allocations: 48.77 MB / 320.4 MB, free: 3.828 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004854/0.0004854, allocations: 14.97 kB / 391.3 MB, free: 14.2 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1257, allocations: 60.25 MB / 451.5 MB, free: 1.797 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.3781/0.5038, allocations: 146.4 MB / 0.5839 GB, free: 10.71 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01158/0.5155, allocations: 9.269 MB / 0.5929 GB, free: 1.422 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004382/0.5159, allocations: 11.94 kB / 0.5929 GB, free: 1.41 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003566/0.5163, allocations: 79.45 kB / 0.593 GB, free: 1.332 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005079/0.5214, allocations: 1.67 MB / 0.5947 GB, free: 15.67 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006326/0.5277, allocations: 1.99 MB / 0.5966 GB, free: 13.68 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002563/0.5303, allocations: 2.054 MB / 0.5986 GB, free: 11.62 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005483/0.5309, allocations: 467.8 kB / 0.599 GB, free: 11.17 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006085/0.5315, allocations: 0.5261 MB / 0.5996 GB, free: 10.64 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003432/0.5349, allocations: 2.146 MB / 0.6017 GB, free: 8.492 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001096/0.5351, allocations: 52 kB / 0.6017 GB, free: 8.441 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01033/0.5454, allocations: 5.642 MB / 0.6072 GB, free: 2.793 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006023/0.546, allocations: 0.5261 MB / 0.6077 GB, free: 2.266 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004045/0.5465, allocations: 241.2 kB / 0.608 GB, free: 2.023 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004408/0.5509, allocations: 2.943 MB / 0.6108 GB, free: 15.07 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.5509, allocations: 0 / 0.6108 GB, free: 15.07 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5509, allocations: 0 / 0.6108 GB, free: 15.07 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.5509, allocations: 0 / 0.6108 GB, free: 15.07 MB / 494.1 MB 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.003972/0.5549, allocations: 1.645 MB / 0.6124 GB, free: 13.38 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.555, allocations: 12.02 kB / 0.6125 GB, free: 13.37 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00017/0.5551, allocations: 152 kB / 0.6126 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002265/0.5574, allocations: 283.2 kB / 0.6129 GB, free: 12.94 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008124/0.5582, allocations: 0.5878 MB / 0.6134 GB, free: 12.31 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.618e-05/0.5583, allocations: 70 kB / 0.6135 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/0.5584, allocations: 96 kB / 0.6136 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003126/0.5616, allocations: 1.663 MB / 0.6152 GB, free: 10.43 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.5616, allocations: 0 / 0.6152 GB, free: 10.43 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/0.5617, allocations: 36 kB / 0.6153 GB, free: 10.39 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.446e-05/0.5618, allocations: 27.95 kB / 0.6153 GB, free: 10.37 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003191/0.565, allocations: 1.69 MB / 0.6169 GB, free: 8.676 MB / 494.1 MB 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.007242/0.5722, allocations: 5.621 MB / 0.6224 GB, free: 2.688 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003974/0.5762, allocations: 2.041 MB / 0.6244 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2592/0.8354, allocations: 0.9533 MB / 0.6253 GB, free: 153.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03542/0.8709, allocations: 20.25 MB / 0.6451 GB, free: 141.9 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.821e-05/0.871, allocations: 49.88 kB / 0.6452 GB, free: 141.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=180): time 3.867e-06/0.871, allocations: 0 / 0.6452 GB, free: 141.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=180): time 0.06374/0.9348, allocations: 14.2 MB / 0.659 GB, free: 139 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.9348, allocations: 71.25 kB / 0.6591 GB, free: 138.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005942/0.9354, allocations: 438.9 kB / 0.6595 GB, free: 138.7 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.563e-05/0.9356, allocations: 56.48 kB / 0.6596 GB, free: 138.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000192/0.9358, allocations: 267 kB / 0.6598 GB, free: 138.4 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006088/0.9364, allocations: 0.6089 MB / 0.6604 GB, free: 137.9 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.454e-05/0.9365, allocations: 35.28 kB / 0.6605 GB, free: 137.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.9366, allocations: 400.5 kB / 0.6608 GB, free: 137.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00126/0.9379, allocations: 0.7405 MB / 0.6616 GB, free: 137.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001388/0.9393, allocations: 0.9584 MB / 0.6625 GB, free: 136.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001497/0.9408, allocations: 0.9098 MB / 0.6634 GB, free: 136.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.9408, allocations: 4.766 kB / 0.6634 GB, free: 136.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004866/0.9457, allocations: 2.743 MB / 0.6661 GB, free: 134.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.106e-05/0.9457, allocations: 7.891 kB / 0.6661 GB, free: 134.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.9458, allocations: 7.844 kB / 0.6661 GB, free: 134.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009838/0.9556, allocations: 2.232 MB / 0.6683 GB, free: 133.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007747/0.9564, allocations: 165.8 kB / 0.6684 GB, free: 133.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005235/0.9617, allocations: 3.533 MB / 0.6719 GB, free: 131.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001159/0.9629, allocations: 138.1 kB / 0.672 GB, free: 131.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001481/0.963, allocations: 74.77 kB / 0.6721 GB, free: 131.6 MB / 494.1 MB 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.0005449/0.9636, allocations: 338.2 kB / 0.6724 GB, free: 131.4 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001874/0.9638, allocations: 100.8 kB / 0.6725 GB, free: 131.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01036/0.9741, allocations: 9.369 MB / 0.6817 GB, free: 122.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-05/0.9743, allocations: 108.8 kB / 0.6818 GB, free: 122.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.9743, allocations: 8 kB / 0.6818 GB, free: 122.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-05/0.9743, allocations: 13.36 kB / 0.6818 GB, free: 122.1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01018/0.9845, allocations: 10.73 MB / 0.6923 GB, free: 111.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.077e-05/0.9846, allocations: 0 / 0.6923 GB, free: 111.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004968/0.9851, allocations: 127.8 kB / 0.6924 GB, free: 111.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01049/0.9956, allocations: 4.974 MB / 0.6972 GB, free: 106.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002398/0.9959, allocations: 51.98 kB / 0.6973 GB, free: 106.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0079/1.004, allocations: 7.857 MB / 0.705 GB, free: 98.27 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.004, allocations: 0 / 0.705 GB, free: 98.27 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007486/1.011, allocations: 7.513 MB / 0.7123 GB, free: 90.66 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008659/1.012, allocations: 0.6409 MB / 0.7129 GB, free: 89.99 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001738/1.012, allocations: 40.81 kB / 0.713 GB, free: 89.95 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007479/1.013, allocations: 95.78 kB / 0.713 GB, free: 89.86 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000204/1.013, allocations: 134.7 kB / 0.7132 GB, free: 89.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001218/1.014, allocations: 67.98 kB / 0.7132 GB, free: 89.66 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004158/1.014, allocations: 410.8 kB / 0.7136 GB, free: 89.26 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.21e-07/1.014, allocations: 0 / 0.7136 GB, free: 89.26 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003236/1.017, allocations: 1.192 MB / 0.7148 GB, free: 88.13 MB / 494.1 MB 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.01118/1.028, allocations: 7.419 MB / 0.722 GB, free: 80.78 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005734/1.034, allocations: 3.383 MB / 0.7253 GB, free: 77.36 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/1.034, allocations: 0 / 0.7253 GB, free: 77.36 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003903/1.038, allocations: 2.705 MB / 0.728 GB, free: 74.66 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003375/1.041, allocations: 0.733 MB / 0.7287 GB, free: 73.94 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01655/1.058, allocations: 11.84 MB / 0.7403 GB, free: 61.94 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008277/1.059, allocations: 1.588 MB / 0.7418 GB, free: 60.31 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009626/1.06, allocations: 391.2 kB / 0.7422 GB, free: 59.94 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006086/1.061, allocations: 0.7062 MB / 0.7429 GB, free: 59.23 MB / 494.1 MB Notification: Performance of SimCode: time 1.383e-06/1.061, allocations: 0 / 0.7429 GB, free: 59.23 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3861/1.447, allocations: 88.01 MB / 0.8288 GB, free: 158.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002256/1.447, allocations: 217 kB / 0.829 GB, free: 158 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.699/7.146, allocations: 0 / 0.829 GB, free: 158 MB / 0.4981 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) Environment - environmentSimulation: