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: translateModel(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic") translateModel(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 115.7 kB / 17.74 MB, free: 5.297 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.001111/0.001111, allocations: 189.6 kB / 18.67 MB, free: 4.375 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.189/1.189, allocations: 205.1 MB / 224.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2369/0.2369, allocations: 48.85 MB / 320.7 MB, free: 11 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.001298/0.001298, allocations: 67.91 kB / 451.2 MB, free: 8.543 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0838/0.0851, allocations: 59.17 MB / 0.4984 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.3274/0.4125, allocations: 160.8 MB / 0.6554 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01041/0.423, allocations: 9.912 MB / 0.6651 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002913/0.4233, allocations: 7.938 kB / 0.6651 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003517/0.4237, allocations: 107.2 kB / 0.6652 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004453/0.4282, allocations: 2.099 MB / 0.6672 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005716/0.4339, allocations: 2.584 MB / 0.6698 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001646/0.4356, allocations: 2.013 MB / 0.6717 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005/0.4361, allocations: 0.5194 MB / 0.6722 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005299/0.4366, allocations: 0.6004 MB / 0.6728 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002447/0.4391, allocations: 1.464 MB / 0.6743 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001473/0.4392, allocations: 104 kB / 0.6744 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008709/0.4479, allocations: 5.949 MB / 0.6802 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000445/0.4484, allocations: 0.5534 MB / 0.6807 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0006092/0.449, allocations: 0.6342 MB / 0.6813 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005023/0.454, allocations: 4.369 MB / 0.6856 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.4541, allocations: 0 / 0.6856 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.362e-06/0.4541, allocations: 0 / 0.6856 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.265e-05/0.4541, allocations: 4 kB / 0.6856 GB, free: 10.04 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.004085/0.4582, allocations: 1.837 MB / 0.6874 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.4582, allocations: 11.89 kB / 0.6874 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00218/0.4604, allocations: 279.5 kB / 0.6877 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008166/0.4612, allocations: 0.6082 MB / 0.6883 GB, free: 7.223 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.263e-05/0.4613, allocations: 74.38 kB / 0.6883 GB, free: 7.148 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001502/0.4614, allocations: 96.5 kB / 0.6884 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00279/0.4642, allocations: 1.663 MB / 0.6901 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.4643, allocations: 0 / 0.6901 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/0.4644, allocations: 36 kB / 0.6901 GB, free: 5.305 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.853e-05/0.4644, allocations: 24 kB / 0.6901 GB, free: 5.281 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002945/0.4674, allocations: 1.686 MB / 0.6918 GB, free: 3.594 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.005811/0.4732, allocations: 5.614 MB / 0.6972 GB, free: 13.61 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00342/0.4766, allocations: 2.042 MB / 0.6992 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001238/0.4779, allocations: 0.9592 MB / 0.7002 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03755/0.5154, allocations: 20.15 MB / 0.7198 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.18e-05/0.5155, allocations: 52.56 kB / 0.7199 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=180): time 2.966e-06/0.5155, allocations: 0 / 0.7199 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of matching and sorting (n=180): time 0.05987/0.5754, allocations: 14.67 MB / 0.7342 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.5755, allocations: 73.41 kB / 0.7343 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005317/0.576, allocations: 437.9 kB / 0.7347 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001023/0.5761, allocations: 57.7 kB / 0.7348 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/0.5763, allocations: 261.9 kB / 0.735 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004817/0.5768, allocations: 0.616 MB / 0.7356 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003997/0.5772, allocations: 291.5 kB / 0.7359 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.5773, allocations: 337.9 kB / 0.7362 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001116/0.5784, allocations: 0.7456 MB / 0.7369 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00126/0.5797, allocations: 0.9509 MB / 0.7379 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002557/0.5823, allocations: 1.878 MB / 0.7397 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-06/0.5823, allocations: 0 / 0.7397 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.00427/0.5866, allocations: 2.75 MB / 0.7424 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.5866, allocations: 11.94 kB / 0.7424 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.5866, allocations: 4 kB / 0.7424 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00961/0.5962, allocations: 2.242 MB / 0.7446 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006674/0.5969, allocations: 159.8 kB / 0.7447 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00533/0.6023, allocations: 3.533 MB / 0.7482 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008906/0.6032, allocations: 146.5 kB / 0.7483 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001378/0.6033, allocations: 63.97 kB / 0.7484 GB, free: 6.762 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.0004879/0.6038, allocations: 337.4 kB / 0.7487 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002373/0.6041, allocations: 98.88 kB / 0.7488 GB, free: 6.324 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1872/0.7912, allocations: 9.337 MB / 0.7579 GB, free: 215.8 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-05/0.7914, allocations: 109.5 kB / 0.758 GB, free: 215.8 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.7914, allocations: 4.188 kB / 0.758 GB, free: 215.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.998e-05/0.7914, allocations: 15.98 kB / 0.7581 GB, free: 215.8 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01028/0.8017, allocations: 10.77 MB / 0.7686 GB, free: 211.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/0.8017, allocations: 2.203 kB / 0.7686 GB, free: 211.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004838/0.8022, allocations: 116.3 kB / 0.7687 GB, free: 211.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01121/0.8135, allocations: 4.843 MB / 0.7734 GB, free: 210.4 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001589/0.8136, allocations: 53.23 kB / 0.7735 GB, free: 210.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008141/0.8218, allocations: 7.875 MB / 0.7812 GB, free: 206.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.8218, allocations: 1.938 kB / 0.7812 GB, free: 206.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006903/0.8287, allocations: 7.539 MB / 0.7885 GB, free: 203.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006674/0.8294, allocations: 0.6089 MB / 0.7891 GB, free: 203.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001559/0.8296, allocations: 62.89 kB / 0.7892 GB, free: 203.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007349/0.8303, allocations: 74.33 kB / 0.7892 GB, free: 203 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001888/0.8305, allocations: 134.1 kB / 0.7894 GB, free: 203 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000108/0.8306, allocations: 74.23 kB / 0.7894 GB, free: 203 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003384/0.831, allocations: 411.5 kB / 0.7898 GB, free: 202.8 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.831, allocations: 3.469 kB / 0.7898 GB, free: 202.8 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002246/0.8332, allocations: 1.191 MB / 0.791 GB, free: 202.6 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.002639/0.8359, allocations: 1.017 MB / 0.792 GB, free: 202.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004691/0.8406, allocations: 3.425 MB / 0.7953 GB, free: 200.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.8406, allocations: 7.062 kB / 0.7953 GB, free: 200.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003338/0.8439, allocations: 2.742 MB / 0.798 GB, free: 197.4 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002547/0.8465, allocations: 0.7459 MB / 0.7988 GB, free: 196.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004667/0.8512, allocations: 5.272 MB / 0.8039 GB, free: 191.4 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005981/0.8518, allocations: 1.583 MB / 0.8054 GB, free: 189.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001573/0.8519, allocations: 79.27 kB / 0.8055 GB, free: 189.7 MB / 0.5919 GB Notification: Performance of SimCode: time 2.21e-07/0.8519, allocations: 0 / 0.8055 GB, free: 189.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.03448/0.8864, allocations: 42.31 MB / 0.8468 GB, free: 147.4 MB / 0.5919 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.makefile (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 & ./ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe 2>&1)