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.001484/0.001484, allocations: 95.53 kB / 16.3 MB, free: 5.996 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.001769/0.00177, allocations: 183.2 kB / 17.2 MB, free: 5.914 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.901/1.901, allocations: 205.4 MB / 223.4 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.539/0.539, allocations: 48.77 MB / 320.4 MB, free: 3.84 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.0007482/0.0007482, allocations: 16 kB / 391.2 MB, free: 14.23 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1601, allocations: 60.25 MB / 451.5 MB, free: 1.836 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.5544/0.7145, allocations: 136.3 MB / 0.5741 GB, free: 4.703 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01682/0.7314, allocations: 8.55 MB / 0.5824 GB, free: 12.14 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006727/0.7321, allocations: 7.938 kB / 0.5824 GB, free: 12.13 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005361/0.7327, allocations: 91.48 kB / 0.5825 GB, free: 12.04 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007795/0.7405, allocations: 1.538 MB / 0.584 GB, free: 10.51 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01028/0.7508, allocations: 2.038 MB / 0.586 GB, free: 8.48 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00243/0.7533, allocations: 1.197 MB / 0.5872 GB, free: 7.281 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001029/0.7543, allocations: 465 kB / 0.5876 GB, free: 6.828 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009175/0.7553, allocations: 475.1 kB / 0.5881 GB, free: 6.363 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004723/0.76, allocations: 1.873 MB / 0.5899 GB, free: 4.488 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002977/0.7603, allocations: 48 kB / 0.5899 GB, free: 4.441 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01698/0.7773, allocations: 5.747 MB / 0.5955 GB, free: 14.69 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008897/0.7783, allocations: 466.9 kB / 0.596 GB, free: 14.23 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000555/0.7788, allocations: 233.2 kB / 0.5962 GB, free: 14 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008155/0.787, allocations: 2.928 MB / 0.5991 GB, free: 11.07 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.787, allocations: 0 / 0.5991 GB, free: 11.07 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.787, allocations: 0 / 0.5991 GB, free: 11.07 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.078e-05/0.7871, allocations: 0 / 0.5991 GB, free: 11.07 MB / 478.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.006878/0.794, allocations: 1.645 MB / 0.6007 GB, free: 9.379 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.108e-05/0.7941, allocations: 12.03 kB / 0.6007 GB, free: 9.367 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003493/0.7944, allocations: 156 kB / 0.6008 GB, free: 9.207 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004489/0.7989, allocations: 286.5 kB / 0.6011 GB, free: 8.926 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001628/0.8006, allocations: 0.5839 MB / 0.6017 GB, free: 8.301 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.183e-05/0.8007, allocations: 70 kB / 0.6018 GB, free: 8.23 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002383/0.8009, allocations: 92 kB / 0.6018 GB, free: 8.141 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005134/0.8061, allocations: 1.647 MB / 0.6034 GB, free: 6.441 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.716e-05/0.8061, allocations: 0 / 0.6034 GB, free: 6.441 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001748/0.8063, allocations: 48 kB / 0.6035 GB, free: 6.395 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.488e-05/0.8063, allocations: 27.95 kB / 0.6035 GB, free: 6.367 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005563/0.8119, allocations: 1.682 MB / 0.6052 GB, free: 4.684 MB / 478.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.01058/0.8226, allocations: 5.636 MB / 0.6107 GB, free: 14.68 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006333/0.8289, allocations: 2.054 MB / 0.6127 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06215/0.8911, allocations: 20.25 MB / 0.6324 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.96e-05/0.8912, allocations: 56.56 kB / 0.6325 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=180): time 4.97e-06/0.8912, allocations: 0 / 0.6325 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of matching and sorting (n=180): time 0.4433/1.335, allocations: 14.37 MB / 0.6465 GB, free: 168.6 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.929e-05/1.335, allocations: 72.48 kB / 0.6466 GB, free: 168.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007967/1.335, allocations: 437.7 kB / 0.647 GB, free: 168.4 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002132/1.336, allocations: 54.42 kB / 0.6471 GB, free: 168.4 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002433/1.336, allocations: 267 kB / 0.6473 GB, free: 168.3 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009129/1.337, allocations: 0.6068 MB / 0.6479 GB, free: 167.9 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000155/1.337, allocations: 31.56 kB / 0.648 GB, free: 167.9 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002736/1.337, allocations: 401 kB / 0.6483 GB, free: 167.6 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002203/1.34, allocations: 0.7425 MB / 0.6491 GB, free: 167.6 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002464/1.342, allocations: 0.9506 MB / 0.65 GB, free: 167.4 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002298/1.344, allocations: 0.9066 MB / 0.6509 GB, free: 167.4 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.038e-05/1.344, allocations: 3.281 kB / 0.6509 GB, free: 167.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.007529/1.352, allocations: 2.75 MB / 0.6536 GB, free: 166.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.932e-05/1.352, allocations: 7.25 kB / 0.6536 GB, free: 166.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.494e-05/1.352, allocations: 4.031 kB / 0.6536 GB, free: 166.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01852/1.371, allocations: 2.232 MB / 0.6558 GB, free: 166.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001414/1.372, allocations: 166.7 kB / 0.6559 GB, free: 166.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01051/1.383, allocations: 3.535 MB / 0.6594 GB, free: 164.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001597/1.384, allocations: 146.2 kB / 0.6595 GB, free: 164.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002897/1.385, allocations: 71.92 kB / 0.6596 GB, free: 164.8 MB / 0.4981 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.0007362/1.385, allocations: 332.7 kB / 0.6599 GB, free: 164.6 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002918/1.386, allocations: 100.2 kB / 0.66 GB, free: 164.6 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01692/1.402, allocations: 9.361 MB / 0.6691 GB, free: 159.9 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002134/1.403, allocations: 114.7 kB / 0.6692 GB, free: 159.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/1.403, allocations: 0 / 0.6692 GB, free: 159.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.331e-05/1.403, allocations: 15.91 kB / 0.6692 GB, free: 159.8 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02323/1.426, allocations: 10.74 MB / 0.6797 GB, free: 153.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-05/1.426, allocations: 4.594 kB / 0.6797 GB, free: 153.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008835/1.427, allocations: 117.4 kB / 0.6798 GB, free: 153.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02026/1.447, allocations: 4.98 MB / 0.6847 GB, free: 150.9 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005727/1.448, allocations: 59 kB / 0.6848 GB, free: 150.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01296/1.461, allocations: 7.853 MB / 0.6924 GB, free: 142.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/1.461, allocations: 3.828 kB / 0.6924 GB, free: 142.9 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01303/1.474, allocations: 7.524 MB / 0.6998 GB, free: 135.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001876/1.476, allocations: 0.6524 MB / 0.7004 GB, free: 134.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002199/1.476, allocations: 40.75 kB / 0.7005 GB, free: 134.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009725/1.477, allocations: 87.84 kB / 0.7005 GB, free: 134.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002178/1.477, allocations: 133.8 kB / 0.7007 GB, free: 134.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001337/1.478, allocations: 71.97 kB / 0.7007 GB, free: 134.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000492/1.478, allocations: 402.8 kB / 0.7011 GB, free: 133.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.1e-07/1.478, allocations: 0 / 0.7011 GB, free: 133.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003426/1.482, allocations: 1.201 MB / 0.7023 GB, free: 132.8 MB / 0.4981 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.01079/1.492, allocations: 7.497 MB / 0.7096 GB, free: 125.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00619/1.499, allocations: 3.382 MB / 0.7129 GB, free: 121.9 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/1.499, allocations: 1.219 kB / 0.7129 GB, free: 121.9 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004251/1.503, allocations: 2.706 MB / 0.7156 GB, free: 119.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003633/1.507, allocations: 0.6904 MB / 0.7162 GB, free: 118.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01856/1.525, allocations: 14.64 MB / 0.7305 GB, free: 103.6 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009976/1.526, allocations: 1.636 MB / 0.7321 GB, free: 101.9 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000997/1.527, allocations: 391.8 kB / 0.7325 GB, free: 101.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005957/1.528, allocations: 0.7023 MB / 0.7332 GB, free: 100.9 MB / 0.4981 GB Notification: Performance of SimCode: time 1.202e-06/1.528, allocations: 0 / 0.7332 GB, free: 100.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.132/1.66, allocations: 87.96 MB / 0.8191 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001898/1.66, allocations: 217.5 kB / 0.8193 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.508/9.168, allocations: 4 kB / 0.8193 GB, free: 12.53 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: