Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.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.TestCoeffValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve") translateModel(ThermoPower.Test.WaterComponents.TestCoeffValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 93.88 kB / 16.3 MB, free: 6.457 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.001281/0.001281, allocations: 183.8 kB / 17.2 MB, free: 6.34 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.452/1.452, allocations: 205.4 MB / 223.3 MB, free: 13.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2746/0.2746, allocations: 48.77 MB / 320.4 MB, free: 11.32 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.0007668/0.0007668, allocations: 18.12 kB / 391.1 MB, free: 50.23 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1071, allocations: 60.27 MB / 451.4 MB, free: 9.594 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.06059/0.1678, allocations: 65.07 MB / 0.5044 GB, free: 8.363 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01186/0.1797, allocations: 9.728 MB / 0.5139 GB, free: 14.61 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007872/0.1805, allocations: 23.81 kB / 0.5139 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001002/0.1815, allocations: 310.3 kB / 0.5142 GB, free: 14.29 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001155/0.1827, allocations: 0.5063 MB / 0.5147 GB, free: 13.78 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01413/0.1968, allocations: 4.644 MB / 0.5192 GB, free: 9.121 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001684/0.1985, allocations: 0.9004 MB / 0.5201 GB, free: 8.219 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005287/0.1991, allocations: 315.2 kB / 0.5204 GB, free: 7.898 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005382/0.1996, allocations: 386.5 kB / 0.5208 GB, free: 7.52 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004365/0.2001, allocations: 354.4 kB / 0.5211 GB, free: 7.172 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.33e-05/0.2002, allocations: 24 kB / 0.5211 GB, free: 7.148 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01193/0.2121, allocations: 6.184 MB / 0.5272 GB, free: 0.957 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002267/0.2124, allocations: 95.55 kB / 0.5273 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000409/0.2128, allocations: 177.3 kB / 0.5274 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2122/0.425, allocations: 2.712 MB / 0.5301 GB, free: 16.4 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.425, allocations: 0 / 0.5301 GB, free: 16.4 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.4251, allocations: 0 / 0.5301 GB, free: 16.4 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.4251, allocations: 0 / 0.5301 GB, free: 16.4 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.004843/0.4299, allocations: 1.366 MB / 0.5314 GB, free: 15.61 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.43, allocations: 8.438 kB / 0.5314 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003753/0.4304, allocations: 118.1 kB / 0.5315 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007447/0.4311, allocations: 486.4 kB / 0.532 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.297e-05/0.4312, allocations: 37.88 kB / 0.532 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.985e-05/0.4312, allocations: 46.47 kB / 0.5321 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.4323, allocations: 0.6064 MB / 0.5327 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.4323, allocations: 6.25 kB / 0.5327 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.096e-05/0.4323, allocations: 21.81 kB / 0.5327 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/0.4324, allocations: 14.25 kB / 0.5327 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007563/0.4331, allocations: 351.5 kB / 0.533 GB, free: 15.11 MB / 414.1 MB 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.00304/0.4362, allocations: 3.56 MB / 0.5365 GB, free: 12.4 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004419/0.4366, allocations: 187.7 kB / 0.5367 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06868/0.5053, allocations: 32.29 MB / 0.5682 GB, free: 7.805 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.969e-05/0.5054, allocations: 42.27 kB / 0.5683 GB, free: 7.766 MB / 430.1 MB Notification: Performance of pre-optimization done (n=12): time 2.254e-06/0.5054, allocations: 0 / 0.5683 GB, free: 7.766 MB / 430.1 MB Notification: Performance of matching and sorting (n=12): time 0.001362/0.5068, allocations: 356.5 kB / 0.5686 GB, free: 7.695 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.431e-05/0.5069, allocations: 139.5 kB / 0.5687 GB, free: 7.539 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009688/0.5078, allocations: 0.7254 MB / 0.5695 GB, free: 7.41 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.71e-05/0.5079, allocations: 32.17 kB / 0.5695 GB, free: 7.379 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002148/0.5081, allocations: 356.7 kB / 0.5698 GB, free: 7.266 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.621e-05/0.5082, allocations: 47.72 kB / 0.5699 GB, free: 7.234 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.452e-05/0.5082, allocations: 5.156 kB / 0.5699 GB, free: 7.234 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.985e-05/0.5083, allocations: 312.1 kB / 0.5702 GB, free: 6.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.92e-05/0.5084, allocations: 47.02 kB / 0.5702 GB, free: 6.93 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.5085, allocations: 120.7 kB / 0.5703 GB, free: 6.832 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.5086, allocations: 60.17 kB / 0.5704 GB, free: 6.828 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.5086, allocations: 0 / 0.5704 GB, free: 6.828 MB / 430.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004893/0.5091, allocations: 278.1 kB / 0.5707 GB, free: 6.758 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005904/0.5097, allocations: 1.04 MB / 0.5717 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.5098, allocations: 6.656 kB / 0.5717 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.5098, allocations: 5.344 kB / 0.5717 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002929/0.5101, allocations: 57.45 kB / 0.5717 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.5101, allocations: 9.766 kB / 0.5717 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005964/0.5107, allocations: 54.88 kB / 0.5718 GB, free: 21.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.002e-05/0.5107, allocations: 19.14 kB / 0.5718 GB, free: 21.63 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.915e-06/0.5107, allocations: 7.281 kB / 0.5718 GB, free: 21.62 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002433/0.511, allocations: 149 kB / 0.572 GB, free: 21.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.511, allocations: 3.828 kB / 0.572 GB, free: 21.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.041e-06/0.511, allocations: 6.281 kB / 0.572 GB, free: 21.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002067/0.5112, allocations: 52.7 kB / 0.572 GB, free: 21.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.5113, allocations: 4.094 kB / 0.572 GB, free: 21.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004752/0.5117, allocations: 62.84 kB / 0.5721 GB, free: 21.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.5118, allocations: 10.59 kB / 0.5721 GB, free: 21.59 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (ValveLiq4.fluidState.phase,ValveLiq3.fluidState.phase,ValveLiq2.fluidState.phase,ValveLiq1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002543/0.512, allocations: 245.4 kB / 0.5723 GB, free: 21.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001833/0.5122, allocations: 77.72 kB / 0.5724 GB, free: 21.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005501/0.5128, allocations: 0.5294 MB / 0.5729 GB, free: 21.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.5128, allocations: 6.641 kB / 0.5729 GB, free: 21.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.5128, allocations: 0 / 0.5729 GB, free: 21.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.309e-06/0.5128, allocations: 2.906 kB / 0.5729 GB, free: 21.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009209/0.5137, allocations: 0.6081 MB / 0.5735 GB, free: 21.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.5137, allocations: 5.031 kB / 0.5735 GB, free: 21.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.413e-05/0.5138, allocations: 23.61 kB / 0.5736 GB, free: 21.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.5138, allocations: 2.812 kB / 0.5736 GB, free: 21.01 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.5139, allocations: 2.938 kB / 0.5736 GB, free: 21.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.5139, allocations: 3.188 kB / 0.5736 GB, free: 21.01 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.5139, allocations: 10.75 kB / 0.5736 GB, free: 21.01 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004015/0.5143, allocations: 0.5351 MB / 0.5741 GB, free: 20.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003221/0.5146, allocations: 246.5 kB / 0.5743 GB, free: 20.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001526/0.5148, allocations: 3.25 kB / 0.5743 GB, free: 20.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004614/0.5152, allocations: 15.52 kB / 0.5743 GB, free: 20.39 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.713e-05/0.5153, allocations: 15.89 kB / 0.5744 GB, free: 20.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.5153, allocations: 6.25 kB / 0.5744 GB, free: 20.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008182/0.5161, allocations: 0.7182 MB / 0.5751 GB, free: 20.28 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5161, allocations: 0 / 0.5751 GB, free: 20.28 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004604/0.5207, allocations: 1.053 MB / 0.5761 GB, free: 20.18 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00651/0.5273, allocations: 0.984 MB / 0.5771 GB, free: 19.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004767/0.5278, allocations: 178.1 kB / 0.5772 GB, free: 19.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.5278, allocations: 3.094 kB / 0.5772 GB, free: 19.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.958e-05/0.5278, allocations: 34.06 kB / 0.5773 GB, free: 19.96 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002608/0.5305, allocations: 463.4 kB / 0.5777 GB, free: 19.92 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001695/0.5322, allocations: 1.287 MB / 0.579 GB, free: 19.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004549/0.5326, allocations: 0.9528 MB / 0.5799 GB, free: 18.47 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006091/0.5333, allocations: 284.7 kB / 0.5802 GB, free: 18.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.5334, allocations: 48.33 kB / 0.5802 GB, free: 18.44 MB / 446.1 MB Notification: Performance of SimCode: time 1.122e-06/0.5334, allocations: 4 kB / 0.5802 GB, free: 18.44 MB / 446.1 MB Notification: Performance of Templates: time 0.05584/0.5892, allocations: 39.45 MB / 0.6187 GB, free: 1.473 MB / 462.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.makefile Environment - environmentSimulation: (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe 2>&1) Environment - environmentSimulation: