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.001818/0.001818, allocations: 113.8 kB / 17.06 MB, free: 6.012 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.002016/0.002016, allocations: 189.4 kB / 18 MB, free: 5.098 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.446/1.446, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3098/0.3098, allocations: 48.85 MB / 320.1 MB, free: 11.01 MB / 270.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.001949/0.001949, allocations: 67.89 kB / 450 MB, free: 9.059 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1188, allocations: 59.17 MB / 0.4973 GB, free: 13.76 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.4183/0.5371, allocations: 160.8 MB / 0.6543 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01293/0.5501, allocations: 9.921 MB / 0.664 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002992/0.5504, allocations: 7.938 kB / 0.664 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004036/0.5509, allocations: 107.2 kB / 0.6641 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005229/0.5561, allocations: 2.096 MB / 0.6661 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.007185/0.5633, allocations: 2.582 MB / 0.6686 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002245/0.5656, allocations: 2.005 MB / 0.6706 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007079/0.5663, allocations: 0.5233 MB / 0.6711 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007711/0.5671, allocations: 0.5926 MB / 0.6717 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003176/0.5703, allocations: 1.472 MB / 0.6731 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001996/0.5705, allocations: 100 kB / 0.6732 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01116/0.5817, allocations: 5.947 MB / 0.679 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0006415/0.5823, allocations: 0.5573 MB / 0.6796 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0008535/0.5832, allocations: 0.6342 MB / 0.6802 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.008349/0.5916, allocations: 4.384 MB / 0.6845 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.5916, allocations: 0 / 0.6845 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5916, allocations: 0 / 0.6845 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.826e-05/0.5916, allocations: 0 / 0.6845 GB, free: 10.38 MB / 0.5294 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.004984/0.5966, allocations: 1.872 MB / 0.6863 GB, free: 8.453 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.5967, allocations: 11.89 kB / 0.6863 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001997/0.5969, allocations: 156.2 kB / 0.6865 GB, free: 8.281 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002573/0.5995, allocations: 280.1 kB / 0.6867 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.6005, allocations: 0.6125 MB / 0.6873 GB, free: 7.359 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.807e-05/0.6006, allocations: 70.38 kB / 0.6874 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001719/0.6008, allocations: 96.38 kB / 0.6875 GB, free: 7.195 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00363/0.6044, allocations: 1.667 MB / 0.6891 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/0.6044, allocations: 0 / 0.6891 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001252/0.6046, allocations: 36 kB / 0.6891 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.855e-05/0.6046, allocations: 24 kB / 0.6892 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003643/0.6083, allocations: 1.697 MB / 0.6908 GB, free: 3.719 MB / 0.5294 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.007851/0.6161, allocations: 5.622 MB / 0.6963 GB, free: 13.73 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004223/0.6204, allocations: 2.037 MB / 0.6983 GB, free: 11.69 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001619/0.622, allocations: 0.9599 MB / 0.6992 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04605/0.6681, allocations: 20.15 MB / 0.7189 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.258e-05/0.6682, allocations: 56.56 kB / 0.719 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=180): time 3.576e-06/0.6682, allocations: 0 / 0.719 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of matching and sorting (n=180): time 0.07086/0.7391, allocations: 14.66 MB / 0.7333 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.803e-05/0.7392, allocations: 77.41 kB / 0.7334 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005815/0.7397, allocations: 445.9 kB / 0.7338 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.743e-05/0.7398, allocations: 49.7 kB / 0.7338 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002482/0.7401, allocations: 274.4 kB / 0.7341 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006683/0.7408, allocations: 0.6351 MB / 0.7347 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005026/0.7413, allocations: 295.5 kB / 0.735 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001829/0.7415, allocations: 334 kB / 0.7353 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00134/0.7428, allocations: 0.7456 MB / 0.736 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001583/0.7444, allocations: 0.9548 MB / 0.737 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003104/0.7475, allocations: 1.874 MB / 0.7388 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/0.7476, allocations: 4 kB / 0.7388 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.005106/0.7527, allocations: 2.758 MB / 0.7415 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.7527, allocations: 11.94 kB / 0.7415 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.92e-05/0.7528, allocations: 4 kB / 0.7415 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01084/0.7636, allocations: 2.236 MB / 0.7437 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008304/0.7645, allocations: 167.8 kB / 0.7439 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006496/0.771, allocations: 3.533 MB / 0.7473 GB, free: 7.047 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/0.772, allocations: 150.9 kB / 0.7475 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001565/0.7722, allocations: 71.97 kB / 0.7475 GB, free: 6.828 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(36,100)} Notification: Performance of prepare postOptimizeDAE: time 0.0005373/0.7728, allocations: 325.5 kB / 0.7478 GB, free: 6.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002327/0.773, allocations: 103.4 kB / 0.7479 GB, free: 6.398 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2431/1.016, allocations: 9.356 MB / 0.7571 GB, free: 215.7 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001233/1.016, allocations: 109.7 kB / 0.7572 GB, free: 215.7 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/1.016, allocations: 3.75 kB / 0.7572 GB, free: 215.7 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-05/1.016, allocations: 14.72 kB / 0.7572 GB, free: 215.7 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01208/1.028, allocations: 10.77 MB / 0.7677 GB, free: 211.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.721e-05/1.028, allocations: 1.031 kB / 0.7677 GB, free: 211.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005569/1.029, allocations: 123.2 kB / 0.7678 GB, free: 211.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01293/1.042, allocations: 4.836 MB / 0.7726 GB, free: 210.4 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003167/1.042, allocations: 56.28 kB / 0.7726 GB, free: 210.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009696/1.052, allocations: 7.885 MB / 0.7803 GB, free: 206.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/1.052, allocations: 2.312 kB / 0.7803 GB, free: 206.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008181/1.06, allocations: 7.559 MB / 0.7877 GB, free: 203.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008279/1.061, allocations: 0.622 MB / 0.7883 GB, free: 203.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001829/1.061, allocations: 52.05 kB / 0.7884 GB, free: 203.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007722/1.062, allocations: 81.22 kB / 0.7884 GB, free: 203.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002637/1.062, allocations: 136.8 kB / 0.7886 GB, free: 203.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001212/1.062, allocations: 74.12 kB / 0.7886 GB, free: 203.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004129/1.063, allocations: 409.6 kB / 0.789 GB, free: 202.9 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/1.063, allocations: 0 / 0.789 GB, free: 202.9 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002612/1.066, allocations: 1.199 MB / 0.7902 GB, free: 202.7 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(36,147)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0105/1.076, allocations: 7.467 MB / 0.7975 GB, free: 197 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005958/1.082, allocations: 3.434 MB / 0.8008 GB, free: 193.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/1.082, allocations: 7.469 kB / 0.8008 GB, free: 193.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00409/1.086, allocations: 2.745 MB / 0.8035 GB, free: 190.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003529/1.09, allocations: 0.7379 MB / 0.8042 GB, free: 190.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01873/1.108, allocations: 15.43 MB / 0.8193 GB, free: 174.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006822/1.109, allocations: 1.595 MB / 0.8209 GB, free: 172.9 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007415/1.11, allocations: 383.2 kB / 0.8212 GB, free: 172.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005432/1.111, allocations: 0.7101 MB / 0.8219 GB, free: 171.9 MB / 0.5919 GB Notification: Performance of SimCode: time 1.323e-06/1.111, allocations: 4 kB / 0.8219 GB, free: 171.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1202/1.231, allocations: 92.36 MB / 0.9121 GB, free: 79.32 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.13/20.36, allocations: 4 kB / 0.9121 GB, free: 79.32 MB / 0.5919 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/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)