Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.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.TestValveChoked,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked") translateModel(ThermoPower.Test.WaterComponents.TestValveChoked,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009199/0.00092, allocations: 84.28 kB / 16.65 MB, free: 6.535 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.000885/0.0008854, allocations: 176.4 kB / 17.56 MB, free: 6.18 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.489/1.489, allocations: 205.4 MB / 223.7 MB, free: 13.06 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2766/0.2766, allocations: 48.78 MB / 320.8 MB, free: 11.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.0004908/0.0004909, allocations: 14.98 kB / 391.8 MB, free: 50.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09532/0.09582, allocations: 60.26 MB / 452.1 MB, free: 9.188 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.04673/0.1426, allocations: 44.4 MB / 496.5 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01241/0.1551, allocations: 9.863 MB / 0.4945 GB, free: 2.742 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005084/0.1556, allocations: 15.88 kB / 0.4945 GB, free: 2.727 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006871/0.1563, allocations: 171 kB / 0.4946 GB, free: 2.559 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008215/0.1571, allocations: 258.4 kB / 0.4949 GB, free: 2.305 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01323/0.1704, allocations: 4.089 MB / 0.4989 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001387/0.1718, allocations: 1.024 MB / 0.4999 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00046/0.1723, allocations: 222.3 kB / 0.5001 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007869/0.1731, allocations: 354.4 kB / 0.5004 GB, free: 12.61 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004246/0.1735, allocations: 294.6 kB / 0.5007 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.006e-05/0.1736, allocations: 16 kB / 0.5007 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01129/0.1849, allocations: 6.075 MB / 0.5067 GB, free: 6.223 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001331/0.185, allocations: 71.56 kB / 0.5067 GB, free: 6.152 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003175/0.1854, allocations: 244.5 kB / 0.507 GB, free: 5.906 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007621/0.193, allocations: 3.695 MB / 0.5106 GB, free: 2.203 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.193, allocations: 0 / 0.5106 GB, free: 2.203 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.193, allocations: 0 / 0.5106 GB, free: 2.203 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.519e-05/0.1931, allocations: 0 / 0.5106 GB, free: 2.203 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.003163/0.1962, allocations: 1.115 MB / 0.5117 GB, free: 1.039 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.1963, allocations: 12.03 kB / 0.5117 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000279/0.1966, allocations: 64.36 kB / 0.5117 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005277/0.1971, allocations: 374 kB / 0.5121 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.31e-05/0.1972, allocations: 25.03 kB / 0.5121 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.613e-05/0.1972, allocations: 32.38 kB / 0.5121 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009451/0.1982, allocations: 438.4 kB / 0.5126 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.1982, allocations: 8 kB / 0.5126 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.102e-05/0.1982, allocations: 12 kB / 0.5126 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.1982, allocations: 8 kB / 0.5126 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001219/0.1995, allocations: 383.6 kB / 0.513 GB, free: 15.63 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.002199/0.2017, allocations: 2.136 MB / 0.515 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001233/0.2029, allocations: 345 kB / 0.5154 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003845/0.2033, allocations: 117.7 kB / 0.5155 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2815/0.4848, allocations: 32.42 MB / 0.5471 GB, free: 71.09 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.4849, allocations: 32.36 kB / 0.5472 GB, free: 71.05 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 2.916e-06/0.4849, allocations: 0 / 0.5472 GB, free: 71.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001829/0.4867, allocations: 451.8 kB / 0.5476 GB, free: 71.01 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.4868, allocations: 83.02 kB / 0.5477 GB, free: 70.92 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005083/0.4873, allocations: 438 kB / 0.5481 GB, free: 70.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.4873, allocations: 30.17 kB / 0.5481 GB, free: 70.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001835/0.4875, allocations: 229.5 kB / 0.5483 GB, free: 70.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.871e-05/0.4876, allocations: 58.56 kB / 0.5484 GB, free: 70.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.196e-05/0.4876, allocations: 26.81 kB / 0.5484 GB, free: 70.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.179e-05/0.4877, allocations: 357.6 kB / 0.5488 GB, free: 70.33 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003817/0.4881, allocations: 104.6 kB / 0.5489 GB, free: 70.33 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000404/0.4885, allocations: 171.9 kB / 0.549 GB, free: 70.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008018/0.4893, allocations: 279.5 kB / 0.5493 GB, free: 70.17 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.4894, allocations: 1 kB / 0.5493 GB, free: 70.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001019/0.4904, allocations: 346.3 kB / 0.5496 GB, free: 70.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001066/0.4905, allocations: 151.7 kB / 0.5498 GB, free: 69.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.4905, allocations: 5.656 kB / 0.5498 GB, free: 69.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.4905, allocations: 4.469 kB / 0.5498 GB, free: 69.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003886/0.4909, allocations: 70.06 kB / 0.5499 GB, free: 69.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.491, allocations: 3.406 kB / 0.5499 GB, free: 69.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004466/0.4914, allocations: 69.56 kB / 0.5499 GB, free: 69.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.6e-05/0.4915, allocations: 13.23 kB / 0.5499 GB, free: 69.9 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.147e-06/0.4915, allocations: 4.281 kB / 0.5499 GB, free: 69.9 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000865/0.4923, allocations: 263.3 kB / 0.5502 GB, free: 69.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.4924, allocations: 2.156 kB / 0.5502 GB, free: 69.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.4924, allocations: 7.266 kB / 0.5502 GB, free: 69.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003293/0.4927, allocations: 63.91 kB / 0.5503 GB, free: 69.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.4927, allocations: 6.625 kB / 0.5503 GB, free: 69.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000363/0.4931, allocations: 62.39 kB / 0.5503 GB, free: 69.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.4931, allocations: 9.031 kB / 0.5503 GB, free: 69.85 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (ValveVap.fluidState.phase,ValveLiqChocked.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000197/0.4933, allocations: 225 kB / 0.5506 GB, free: 69.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.569e-05/0.4934, allocations: 50.75 kB / 0.5506 GB, free: 69.63 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001169/0.4946, allocations: 467.2 kB / 0.551 GB, free: 69.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.4946, allocations: 3.469 kB / 0.551 GB, free: 69.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.4946, allocations: 0 / 0.551 GB, free: 69.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.738e-06/0.4946, allocations: 1.031 kB / 0.551 GB, free: 69.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005046/0.4952, allocations: 462.9 kB / 0.5515 GB, free: 69.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.4952, allocations: 1.062 kB / 0.5515 GB, free: 69.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002857/0.4955, allocations: 61.36 kB / 0.5515 GB, free: 69.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.4955, allocations: 2.281 kB / 0.5516 GB, free: 69.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.4955, allocations: 5.344 kB / 0.5516 GB, free: 69.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.4955, allocations: 2.625 kB / 0.5516 GB, free: 69.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.4955, allocations: 1.375 kB / 0.5516 GB, free: 69.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000869/0.4964, allocations: 485.5 kB / 0.552 GB, free: 68.9 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.4965, allocations: 163.5 kB / 0.5522 GB, free: 68.74 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.335e-05/0.4966, allocations: 5.594 kB / 0.5522 GB, free: 68.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003655/0.497, allocations: 29.53 kB / 0.5522 GB, free: 68.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.268e-05/0.497, allocations: 21.77 kB / 0.5522 GB, free: 68.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.497, allocations: 8.922 kB / 0.5522 GB, free: 68.71 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004269/0.4975, allocations: 413.9 kB / 0.5526 GB, free: 68.47 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4975, allocations: 0 / 0.5526 GB, free: 68.47 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002983/0.5005, allocations: 0.931 MB / 0.5535 GB, free: 68.38 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003703/0.5042, allocations: 0.9624 MB / 0.5545 GB, free: 68.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001413/0.5056, allocations: 386.4 kB / 0.5549 GB, free: 68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.5056, allocations: 0.5938 kB / 0.5549 GB, free: 68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004496/0.5061, allocations: 122.9 kB / 0.555 GB, free: 67.95 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001583/0.5077, allocations: 227 kB / 0.5552 GB, free: 67.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.5091, allocations: 0.9677 MB / 0.5561 GB, free: 67.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.5094, allocations: 0.8247 MB / 0.5569 GB, free: 66.4 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000442/0.5098, allocations: 170.8 kB / 0.5571 GB, free: 66.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.51, allocations: 40.64 kB / 0.5571 GB, free: 66.31 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.51, allocations: 0 / 0.5571 GB, free: 66.31 MB / 414.1 MB Notification: Performance of Templates: time 0.03757/0.5475, allocations: 34.01 MB / 0.5904 GB, free: 35.32 MB / 414.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.makefile Environment - environmentSimulation: (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe 2>&1) Environment - environmentSimulation: