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.001575/0.001575, allocations: 112.8 kB / 17.06 MB, free: 5.969 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.001789/0.00179, allocations: 200 kB / 18.01 MB, free: 5.047 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.495/1.495, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2946/0.2946, allocations: 48.85 MB / 320.1 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.001759/0.001759, allocations: 67.89 kB / 450.5 MB, free: 8.523 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1303, allocations: 59.15 MB / 0.4977 GB, free: 13.24 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.4301/0.5604, allocations: 160.8 MB / 0.6548 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01157/0.572, allocations: 9.915 MB / 0.6644 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003432/0.5724, allocations: 4 kB / 0.6644 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003943/0.5728, allocations: 99.27 kB / 0.6645 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005274/0.5781, allocations: 2.103 MB / 0.6666 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.007331/0.5855, allocations: 2.589 MB / 0.6691 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002207/0.5877, allocations: 2.001 MB / 0.6711 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006574/0.5884, allocations: 0.5201 MB / 0.6716 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006427/0.589, allocations: 0.5965 MB / 0.6722 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003029/0.5921, allocations: 1.468 MB / 0.6736 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001643/0.5922, allocations: 104 kB / 0.6737 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01126/0.6035, allocations: 5.941 MB / 0.6795 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0006564/0.6042, allocations: 0.5611 MB / 0.6801 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0008632/0.6051, allocations: 0.6381 MB / 0.6807 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.008703/0.6138, allocations: 4.376 MB / 0.6849 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.6138, allocations: 0 / 0.6849 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.116e-06/0.6138, allocations: 0 / 0.6849 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.669e-05/0.6139, allocations: 7.938 kB / 0.685 GB, free: 10.01 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.005141/0.619, allocations: 1.868 MB / 0.6868 GB, free: 8.086 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.6191, allocations: 15.89 kB / 0.6868 GB, free: 8.07 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002608/0.6217, allocations: 288.9 kB / 0.6871 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.6228, allocations: 0.6086 MB / 0.6877 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.663e-05/0.6229, allocations: 70.38 kB / 0.6877 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001623/0.623, allocations: 92.56 kB / 0.6878 GB, free: 6.984 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003616/0.6267, allocations: 1.659 MB / 0.6894 GB, free: 5.273 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.202e-05/0.6267, allocations: 3.938 kB / 0.6894 GB, free: 5.27 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000195/0.6269, allocations: 36 kB / 0.6895 GB, free: 5.234 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.288e-05/0.627, allocations: 28 kB / 0.6895 GB, free: 5.207 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003692/0.6307, allocations: 1.69 MB / 0.6912 GB, free: 3.516 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.007281/0.638, allocations: 5.623 MB / 0.6966 GB, free: 13.53 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003798/0.6418, allocations: 2.039 MB / 0.6986 GB, free: 11.48 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001447/0.6432, allocations: 0.9592 MB / 0.6996 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04262/0.6859, allocations: 20.15 MB / 0.7193 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.328e-05/0.686, allocations: 48.56 kB / 0.7193 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=180): time 3.607e-06/0.686, allocations: 0 / 0.7193 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of matching and sorting (n=180): time 0.06935/0.7554, allocations: 14.67 MB / 0.7336 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.055e-05/0.7555, allocations: 73.41 kB / 0.7337 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008066/0.7563, allocations: 441.9 kB / 0.7341 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001704/0.7565, allocations: 57.7 kB / 0.7342 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002738/0.7568, allocations: 270.4 kB / 0.7344 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008183/0.7576, allocations: 0.6351 MB / 0.7351 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006405/0.7582, allocations: 295.5 kB / 0.7353 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.7584, allocations: 341.9 kB / 0.7357 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001831/0.7603, allocations: 0.7417 MB / 0.7364 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00208/0.7624, allocations: 0.9509 MB / 0.7373 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004266/0.7667, allocations: 1.878 MB / 0.7392 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.017e-05/0.7667, allocations: 4.875 kB / 0.7392 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.007173/0.7739, allocations: 2.75 MB / 0.7418 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.075e-05/0.7739, allocations: 8 kB / 0.7418 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.205e-05/0.774, allocations: 4 kB / 0.7419 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01539/0.7894, allocations: 2.243 MB / 0.744 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/0.7906, allocations: 163.8 kB / 0.7442 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01013/0.8008, allocations: 3.541 MB / 0.7477 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001587/0.8024, allocations: 143 kB / 0.7478 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000337/0.8028, allocations: 67.97 kB / 0.7479 GB, free: 6.625 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.001024/0.8038, allocations: 333.4 kB / 0.7482 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005175/0.8044, allocations: 107.4 kB / 0.7483 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2841/1.088, allocations: 9.353 MB / 0.7574 GB, free: 215.8 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000142/1.089, allocations: 109.4 kB / 0.7575 GB, free: 215.8 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.348e-05/1.089, allocations: 4.453 kB / 0.7575 GB, free: 215.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-05/1.089, allocations: 12.89 kB / 0.7575 GB, free: 215.8 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01363/1.102, allocations: 10.77 MB / 0.7681 GB, free: 211.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.836e-05/1.102, allocations: 0 / 0.7681 GB, free: 211.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006312/1.103, allocations: 119.7 kB / 0.7682 GB, free: 211.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01363/1.117, allocations: 4.845 MB / 0.7729 GB, free: 210.4 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003645/1.117, allocations: 54.61 kB / 0.773 GB, free: 210.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01006/1.127, allocations: 7.883 MB / 0.7807 GB, free: 206.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/1.127, allocations: 1.062 kB / 0.7807 GB, free: 206.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008097/1.135, allocations: 7.553 MB / 0.788 GB, free: 203.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008089/1.136, allocations: 0.6226 MB / 0.7886 GB, free: 203.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001819/1.136, allocations: 55.52 kB / 0.7887 GB, free: 203.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008139/1.137, allocations: 78.55 kB / 0.7888 GB, free: 203.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002305/1.137, allocations: 140.1 kB / 0.7889 GB, free: 203 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001191/1.138, allocations: 77.75 kB / 0.789 GB, free: 203 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003952/1.138, allocations: 406.8 kB / 0.7894 GB, free: 202.8 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/1.138, allocations: 0 / 0.7894 GB, free: 202.8 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002872/1.141, allocations: 1.202 MB / 0.7905 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.003241/1.144, allocations: 1.022 MB / 0.7915 GB, free: 202.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005458/1.15, allocations: 3.431 MB / 0.7949 GB, free: 199.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/1.15, allocations: 0 / 0.7949 GB, free: 199.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003798/1.153, allocations: 2.749 MB / 0.7976 GB, free: 197.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002884/1.156, allocations: 0.7401 MB / 0.7983 GB, free: 196.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005238/1.162, allocations: 5.25 MB / 0.8034 GB, free: 191.3 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007005/1.162, allocations: 1.591 MB / 0.805 GB, free: 189.6 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006548/1.163, allocations: 386 kB / 0.8053 GB, free: 189.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001569/1.163, allocations: 67.42 kB / 0.8054 GB, free: 189.2 MB / 0.5919 GB Notification: Performance of SimCode: time 6.61e-07/1.163, allocations: 0 / 0.8054 GB, free: 189.2 MB / 0.5919 GB Notification: Performance of Templates: time 0.07833/1.241, allocations: 74.33 MB / 0.878 GB, free: 114.9 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)