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.001567/0.001567, allocations: 108.3 kB / 17.74 MB, free: 5.316 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.001844/0.001844, allocations: 183 kB / 18.67 MB, free: 4.398 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.288/1.288, allocations: 205.1 MB / 224.5 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2649/0.2649, allocations: 48.84 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.001763/0.001763, allocations: 75.89 kB / 451.2 MB, free: 8.543 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1089, allocations: 59.16 MB / 0.4984 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.4192/0.5282, allocations: 160.8 MB / 0.6554 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01158/0.5398, allocations: 9.924 MB / 0.6651 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003129/0.5401, allocations: 7.938 kB / 0.6651 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003734/0.5405, allocations: 95.27 kB / 0.6652 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005203/0.5458, allocations: 2.103 MB / 0.6672 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006749/0.5525, allocations: 2.587 MB / 0.6698 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002031/0.5546, allocations: 2.009 MB / 0.6717 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000615/0.5552, allocations: 0.5202 MB / 0.6722 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006128/0.5558, allocations: 0.5965 MB / 0.6728 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002526/0.5584, allocations: 1.468 MB / 0.6743 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000167/0.5585, allocations: 104 kB / 0.6744 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01021/0.5688, allocations: 5.945 MB / 0.6802 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0005408/0.5693, allocations: 0.5573 MB / 0.6807 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0007312/0.5701, allocations: 0.6342 MB / 0.6813 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.007053/0.5771, allocations: 4.369 MB / 0.6856 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.5772, allocations: 0 / 0.6856 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.764e-06/0.5772, allocations: 0 / 0.6856 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.352e-05/0.5772, allocations: 0 / 0.6856 GB, free: 10.05 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.00466/0.5819, allocations: 1.837 MB / 0.6874 GB, free: 8.164 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.5819, allocations: 15.89 kB / 0.6874 GB, free: 8.148 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002432/0.5843, allocations: 279.5 kB / 0.6877 GB, free: 7.875 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008802/0.5852, allocations: 0.6044 MB / 0.6883 GB, free: 7.234 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.153e-05/0.5853, allocations: 78.38 kB / 0.6883 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001589/0.5855, allocations: 88.56 kB / 0.6884 GB, free: 7.07 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003154/0.5886, allocations: 1.663 MB / 0.69 GB, free: 5.355 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.5887, allocations: 0 / 0.69 GB, free: 5.355 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/0.5888, allocations: 40 kB / 0.6901 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.388e-05/0.5888, allocations: 24.88 kB / 0.6901 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003221/0.592, allocations: 1.686 MB / 0.6918 GB, free: 3.605 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.006551/0.5986, allocations: 5.614 MB / 0.6972 GB, free: 13.62 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003998/0.6026, allocations: 2.047 MB / 0.6992 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001336/0.604, allocations: 0.9592 MB / 0.7002 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04076/0.6447, allocations: 20.14 MB / 0.7198 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.804e-05/0.6448, allocations: 52.56 kB / 0.7199 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=180): time 3.867e-06/0.6448, allocations: 0 / 0.7199 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of matching and sorting (n=180): time 0.06458/0.7094, allocations: 14.66 MB / 0.7342 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.7095, allocations: 77.41 kB / 0.7343 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000518/0.7101, allocations: 441.9 kB / 0.7347 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001089/0.7102, allocations: 53.7 kB / 0.7348 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001961/0.7104, allocations: 261.9 kB / 0.735 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005143/0.7109, allocations: 0.616 MB / 0.7356 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004157/0.7113, allocations: 295.5 kB / 0.7359 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.7115, allocations: 338 kB / 0.7362 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001163/0.7126, allocations: 0.7455 MB / 0.7369 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00134/0.714, allocations: 0.9509 MB / 0.7379 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00267/0.7167, allocations: 1.87 MB / 0.7397 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/0.7167, allocations: 4.875 kB / 0.7397 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004554/0.7212, allocations: 2.758 MB / 0.7424 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.7213, allocations: 8 kB / 0.7424 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.7213, allocations: 4 kB / 0.7424 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0101/0.7314, allocations: 2.235 MB / 0.7446 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007242/0.7322, allocations: 167.8 kB / 0.7447 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005564/0.7377, allocations: 3.533 MB / 0.7482 GB, free: 6.973 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009279/0.7387, allocations: 138.5 kB / 0.7483 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001497/0.7388, allocations: 71.97 kB / 0.7484 GB, free: 6.766 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.000514/0.7394, allocations: 329.4 kB / 0.7487 GB, free: 6.434 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002226/0.7396, allocations: 106.9 kB / 0.7488 GB, free: 6.328 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2359/0.9755, allocations: 9.332 MB / 0.7579 GB, free: 216 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001166/0.9757, allocations: 114.2 kB / 0.758 GB, free: 216 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.9757, allocations: 3.562 kB / 0.758 GB, free: 216 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.693e-05/0.9757, allocations: 14.75 kB / 0.7581 GB, free: 216 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01241/0.9881, allocations: 10.77 MB / 0.7686 GB, free: 211.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-05/0.9882, allocations: 3.844 kB / 0.7686 GB, free: 211.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005855/0.9888, allocations: 115.4 kB / 0.7687 GB, free: 211.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01324/1.002, allocations: 4.84 MB / 0.7734 GB, free: 210.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002646/1.002, allocations: 54.81 kB / 0.7735 GB, free: 210.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009659/1.012, allocations: 7.87 MB / 0.7812 GB, free: 207.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/1.012, allocations: 0.9375 kB / 0.7812 GB, free: 207.1 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007811/1.02, allocations: 7.546 MB / 0.7885 GB, free: 203.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007336/1.021, allocations: 0.6093 MB / 0.7891 GB, free: 203.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001867/1.021, allocations: 62.92 kB / 0.7892 GB, free: 203.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008224/1.022, allocations: 70.86 kB / 0.7892 GB, free: 203.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002301/1.022, allocations: 142.7 kB / 0.7894 GB, free: 203.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000121/1.022, allocations: 72.7 kB / 0.7895 GB, free: 203.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000384/1.022, allocations: 410 kB / 0.7898 GB, free: 202.9 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/1.022, allocations: 3.969 kB / 0.7898 GB, free: 202.9 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002715/1.025, allocations: 1.189 MB / 0.791 GB, free: 202.8 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.003079/1.028, allocations: 1.006 MB / 0.792 GB, free: 202.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005127/1.033, allocations: 3.435 MB / 0.7953 GB, free: 200.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/1.033, allocations: 0 / 0.7953 GB, free: 200.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003578/1.037, allocations: 2.746 MB / 0.798 GB, free: 197.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002684/1.04, allocations: 0.7449 MB / 0.7988 GB, free: 196.9 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005222/1.045, allocations: 5.268 MB / 0.8039 GB, free: 191.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006859/1.046, allocations: 1.587 MB / 0.8054 GB, free: 190 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002007/1.046, allocations: 75.41 kB / 0.8055 GB, free: 189.9 MB / 0.5919 GB Notification: Performance of SimCode: time 8.82e-07/1.046, allocations: 0 / 0.8055 GB, free: 189.9 MB / 0.5919 GB Notification: Performance of Templates: time 0.04149/1.087, allocations: 42.61 MB / 0.8471 GB, free: 147.3 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)