Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerClosed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.WaterComponents.TestCoolingTowerClosed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerClosed") translateModel(ThermoPower.Test.WaterComponents.TestCoolingTowerClosed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerClosed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001109/0.001109, allocations: 184.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.261/1.261, allocations: 205.1 MB / 223.1 MB, free: 8.457 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009604/0.0009604, allocations: 110.8 kB / 270.5 MB, free: 8.418 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3681/0.3681, allocations: 48.83 MB / 366.7 MB, free: 46.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001038/0.001038, allocations: 55.84 kB / 436.6 MB, free: 11.41 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1024, allocations: 59.15 MB / 495.8 MB, free: 128 kB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerClosed): time 0.3214/0.4238, allocations: 180 MB / 0.6599 GB, free: 14.96 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0136/0.4374, allocations: 11.91 MB / 0.6715 GB, free: 3.043 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000628/0.4381, allocations: 15.88 kB / 0.6716 GB, free: 3.027 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000681/0.4388, allocations: 254.5 kB / 0.6718 GB, free: 2.777 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001071/0.4399, allocations: 0.6767 MB / 0.6725 GB, free: 2.098 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01146/0.4514, allocations: 4.432 MB / 0.6768 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.003802/0.4552, allocations: 4.314 MB / 0.681 GB, free: 9.363 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001236/0.4565, allocations: 0.8894 MB / 0.6819 GB, free: 8.473 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00139/0.4579, allocations: 0.9307 MB / 0.6828 GB, free: 7.539 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001709/0.4596, allocations: 1.324 MB / 0.6841 GB, free: 6.211 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002065/0.4598, allocations: 92 kB / 0.6842 GB, free: 6.121 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.241/0.7008, allocations: 7.388 MB / 0.6914 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.00113/0.702, allocations: 0.7857 MB / 0.6921 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.001571/0.7036, allocations: 1.001 MB / 0.6931 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.01055/0.7141, allocations: 6.255 MB / 0.6992 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.7142, allocations: 0.5625 kB / 0.6992 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.002e-06/0.7142, allocations: 2.156 kB / 0.6992 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.818e-05/0.7142, allocations: 1.438 kB / 0.6992 GB, free: 10.43 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.008153/0.7224, allocations: 2.966 MB / 0.7021 GB, free: 9.289 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.7224, allocations: 8.812 kB / 0.7021 GB, free: 9.289 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002805/0.7252, allocations: 455 kB / 0.7026 GB, free: 9.199 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002284/0.7275, allocations: 1.066 MB / 0.7036 GB, free: 8.863 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.776e-05/0.7276, allocations: 116.9 kB / 0.7037 GB, free: 8.859 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002696/0.7279, allocations: 176.5 kB / 0.7039 GB, free: 8.852 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007848/0.7357, allocations: 3.789 MB / 0.7076 GB, free: 8.645 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.312e-05/0.7358, allocations: 4.438 kB / 0.7076 GB, free: 8.645 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001729/0.736, allocations: 62.97 kB / 0.7077 GB, free: 8.645 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-05/0.7361, allocations: 85.45 kB / 0.7077 GB, free: 8.641 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008584/0.7447, allocations: 3.862 MB / 0.7115 GB, free: 8.625 MB / 0.4948 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.01479/0.7595, allocations: 10.69 MB / 0.7219 GB, free: 19.32 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006638/0.7661, allocations: 2.851 MB / 0.7247 GB, free: 19.29 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001545/0.7677, allocations: 1.169 MB / 0.7259 GB, free: 19.27 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1864/0.9541, allocations: 68.48 MB / 0.7927 GB, free: 6.754 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.728e-05/0.9542, allocations: 56.5 kB / 0.7928 GB, free: 6.707 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=209): time 9.678e-06/0.9542, allocations: 0 / 0.7928 GB, free: 6.707 MB / 0.5573 GB Notification: Performance of matching and sorting (n=210): time 0.08439/1.039, allocations: 14.37 MB / 0.8068 GB, free: 10.98 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.774e-05/1.039, allocations: 73.41 kB / 0.8069 GB, free: 10.9 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001779/1.041, allocations: 0.7961 MB / 0.8077 GB, free: 10.29 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0003816/1.041, allocations: 62.58 kB / 0.8077 GB, free: 10.25 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005113/1.041, allocations: 0.5275 MB / 0.8082 GB, free: 9.887 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001046/1.042, allocations: 0.721 MB / 0.809 GB, free: 9.266 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001451/1.044, allocations: 0.5019 MB / 0.8094 GB, free: 8.918 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001095/1.044, allocations: 305.1 kB / 0.8097 GB, free: 8.617 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003671/1.048, allocations: 1.333 MB / 0.811 GB, free: 7.727 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003965/1.052, allocations: 1.56 MB / 0.8126 GB, free: 6.594 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03468/1.086, allocations: 8.483 MB / 0.8208 GB, free: 24 kB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.706e-06/1.087, allocations: 4 kB / 0.8208 GB, free: 20 kB / 0.573 GB Notification: Performance of matching and sorting (n=245) (initialization): time 0.008643/1.095, allocations: 4.682 MB / 0.8254 GB, free: 12.6 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/1.095, allocations: 8 kB / 0.8254 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/1.095, allocations: 8.766 kB / 0.8254 GB, free: 12.58 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01528/1.111, allocations: 4.43 MB / 0.8298 GB, free: 8.164 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007631/1.111, allocations: 165.2 kB / 0.8299 GB, free: 8.012 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01009/1.121, allocations: 5.717 MB / 0.8355 GB, free: 2.273 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002103/1.124, allocations: 163.4 kB / 0.8357 GB, free: 2.117 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003067/1.124, allocations: 155.9 kB / 0.8358 GB, free: 1.965 MB / 0.5886 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.cooledFlow.p = 0.0. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002903/1.127, allocations: 1.698 MB / 0.8375 GB, free: 264 kB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002426/1.129, allocations: 1.56 MB / 0.839 GB, free: 14.64 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02692/1.156, allocations: 8.465 MB / 0.8473 GB, free: 6.141 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.012e-06/1.156, allocations: 4 kB / 0.8473 GB, free: 6.137 MB / 0.6042 GB Notification: Performance of matching and sorting (n=245) (initialization_lambda0): time 0.009409/1.166, allocations: 4.677 MB / 0.8518 GB, free: 1.473 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/1.166, allocations: 10.81 kB / 0.8518 GB, free: 1.465 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/1.166, allocations: 4 kB / 0.8518 GB, free: 1.461 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01489/1.181, allocations: 4.433 MB / 0.8562 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006991/1.181, allocations: 176.7 kB / 0.8563 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01017/1.191, allocations: 5.715 MB / 0.8619 GB, free: 7.137 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001941/1.193, allocations: 147.6 kB / 0.8621 GB, free: 6.992 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003548/1.194, allocations: 155.9 kB / 0.8622 GB, free: 6.84 MB / 0.6198 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization_lambda0 system: $DER.cooledFlow.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 6 (cooledFlow.fluidState[6].phase,cooledFlow.fluidState[5].phase,cooledFlow.fluidState[4].phase,cooledFlow.fluidState[3].phase,cooledFlow.fluidState[2].phase,cooledFlow.fluidState[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * 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 {(30,137)} Notification: Performance of prepare postOptimizeDAE: time 0.0006518/1.194, allocations: 276.9 kB / 0.8625 GB, free: 6.57 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005715/1.195, allocations: 146.3 kB / 0.8626 GB, free: 6.426 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02087/1.216, allocations: 18.73 MB / 0.8809 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.71e-05/1.216, allocations: 116.8 kB / 0.881 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/1.216, allocations: 0 / 0.881 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.411e-05/1.216, allocations: 15.14 kB / 0.881 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0277/1.244, allocations: 25.13 MB / 0.9056 GB, free: 9.938 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.88e-05/1.244, allocations: 0 / 0.9056 GB, free: 9.938 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001852/1.246, allocations: 323.3 kB / 0.9059 GB, free: 9.633 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01016/1.256, allocations: 3.719 MB / 0.9095 GB, free: 5.871 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003661/1.256, allocations: 71.94 kB / 0.9096 GB, free: 5.801 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1977/1.454, allocations: 13.24 MB / 0.9225 GB, free: 333.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/1.454, allocations: 4.047 kB / 0.9225 GB, free: 333.7 MB / 0.6667 GB Error: Jacobian A contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2994/1.754, allocations: 163.9 MB / 1.083 GB, free: 194.1 MB / 0.6667 GB Error: post-optimization module symbolicJacobian (simulation) failed.