Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.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.ValveZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow") translateModel(ThermoPower.Test.WaterComponents.ValveZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009462/0.0009462, allocations: 90.03 kB / 16.31 MB, free: 5.539 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.001308/0.001309, allocations: 183.6 kB / 17.21 MB, free: 5.457 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.713/1.713, allocations: 205.4 MB / 223.4 MB, free: 13.14 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3113/0.3113, allocations: 48.77 MB / 320.4 MB, free: 11.21 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.0005709/0.000571, allocations: 14.31 kB / 391.2 MB, free: 50.28 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09844/0.09903, allocations: 60.27 MB / 451.4 MB, free: 9.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.ValveZeroFlow): time 0.04383/0.1429, allocations: 39.08 MB / 490.5 MB, free: 2.348 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01178/0.1547, allocations: 9.247 MB / 499.8 MB, free: 9.078 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00038/0.1551, allocations: 11.94 kB / 499.8 MB, free: 9.066 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006967/0.1559, allocations: 186.8 kB / 499.9 MB, free: 8.883 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006493/0.1565, allocations: 298 kB / 0.4885 GB, free: 8.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01131/0.1678, allocations: 3.612 MB / 0.492 GB, free: 4.965 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001296/0.1691, allocations: 0.8596 MB / 0.4929 GB, free: 4.102 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000425/0.1696, allocations: 186 kB / 0.4931 GB, free: 3.914 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003165/0.1699, allocations: 246.9 kB / 0.4933 GB, free: 3.672 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004291/0.1704, allocations: 278.8 kB / 0.4936 GB, free: 3.398 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.791e-05/0.1704, allocations: 16 kB / 0.4936 GB, free: 3.383 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01096/0.1814, allocations: 5.911 MB / 0.4993 GB, free: 13.46 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.1815, allocations: 63.67 kB / 0.4994 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002936/0.1818, allocations: 113.5 kB / 0.4995 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004703/0.1866, allocations: 2.499 MB / 0.502 GB, free: 10.78 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1866, allocations: 0 / 0.502 GB, free: 10.78 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1866, allocations: 4 kB / 0.502 GB, free: 10.78 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.129e-05/0.1866, allocations: 4 kB / 0.502 GB, free: 10.77 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.003013/0.1896, allocations: 1.103 MB / 0.503 GB, free: 9.621 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.1897, allocations: 8.031 kB / 0.503 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002712/0.19, allocations: 79.33 kB / 0.5031 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004473/0.1904, allocations: 365 kB / 0.5035 GB, free: 9.137 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.1905, allocations: 24.64 kB / 0.5035 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.086e-05/0.1905, allocations: 32 kB / 0.5035 GB, free: 9.082 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007404/0.1913, allocations: 381 kB / 0.5039 GB, free: 8.684 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.1913, allocations: 4 kB / 0.5039 GB, free: 8.68 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.773e-05/0.1913, allocations: 12 kB / 0.5039 GB, free: 8.668 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.1913, allocations: 8 kB / 0.5039 GB, free: 8.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006002/0.1919, allocations: 273.9 kB / 0.5042 GB, free: 8.395 MB / 398.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.002066/0.194, allocations: 2.031 MB / 0.5062 GB, free: 6.141 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004158/0.1944, allocations: 158.4 kB / 0.5063 GB, free: 5.977 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/0.1946, allocations: 88.81 kB / 0.5064 GB, free: 5.887 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2419/0.4365, allocations: 32.28 MB / 0.5379 GB, free: 79.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.4366, allocations: 33.11 kB / 0.5379 GB, free: 79.07 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.763e-06/0.4366, allocations: 0 / 0.5379 GB, free: 79.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.002228/0.4389, allocations: 0.5984 MB / 0.5385 GB, free: 78.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.387e-05/0.4389, allocations: 55.25 kB / 0.5386 GB, free: 78.87 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004271/0.4394, allocations: 395.9 kB / 0.539 GB, free: 78.76 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.4394, allocations: 33.97 kB / 0.539 GB, free: 78.72 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.4395, allocations: 216.9 kB / 0.5392 GB, free: 78.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.172e-05/0.4396, allocations: 54.09 kB / 0.5393 GB, free: 78.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.042e-05/0.4396, allocations: 0.9062 kB / 0.5393 GB, free: 78.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.057e-05/0.4397, allocations: 351.7 kB / 0.5396 GB, free: 78.31 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.4398, allocations: 64.91 kB / 0.5396 GB, free: 78.31 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.44, allocations: 106.2 kB / 0.5398 GB, free: 78.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001726/0.4402, allocations: 80.53 kB / 0.5398 GB, free: 78.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.4402, allocations: 0.8438 kB / 0.5398 GB, free: 78.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005849/0.4408, allocations: 300.5 kB / 0.5401 GB, free: 78.19 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.746e-05/0.4408, allocations: 121.6 kB / 0.5402 GB, free: 78.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.4409, allocations: 6.234 kB / 0.5402 GB, free: 78.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001612/0.4425, allocations: 245.1 kB / 0.5405 GB, free: 78.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002489/0.4427, allocations: 52.62 kB / 0.5405 GB, free: 78.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006666/0.4434, allocations: 0.6432 MB / 0.5411 GB, free: 77.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003153/0.4437, allocations: 42.97 kB / 0.5412 GB, free: 77.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.658e-05/0.4438, allocations: 10.61 kB / 0.5412 GB, free: 77.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.4438, allocations: 7.891 kB / 0.5412 GB, free: 77.51 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006606/0.4445, allocations: 235 kB / 0.5414 GB, free: 77.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.4445, allocations: 1.156 kB / 0.5414 GB, free: 77.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003305/0.4448, allocations: 78.67 kB / 0.5415 GB, free: 77.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000229/0.445, allocations: 65.27 kB / 0.5416 GB, free: 77.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001273/0.4463, allocations: 1.456 MB / 0.543 GB, free: 76.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002474/0.4466, allocations: 43.61 kB / 0.543 GB, free: 76.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.4466, allocations: 11.23 kB / 0.543 GB, free: 76.17 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (V3.fluidState.phase,V2.fluidState.phase,V1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001712/0.4468, allocations: 220.6 kB / 0.5433 GB, free: 75.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.719e-05/0.4469, allocations: 39.94 kB / 0.5433 GB, free: 75.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001096/0.448, allocations: 0.9337 MB / 0.5442 GB, free: 75.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/0.448, allocations: 3.609 kB / 0.5442 GB, free: 75.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.448, allocations: 4.078 kB / 0.5442 GB, free: 75.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.448, allocations: 0 / 0.5442 GB, free: 75.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005086/0.4485, allocations: 0.555 MB / 0.5448 GB, free: 75.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.4485, allocations: 5.578 kB / 0.5448 GB, free: 75.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.4486, allocations: 23.73 kB / 0.5448 GB, free: 75.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001872/0.4505, allocations: 0.86 MB / 0.5456 GB, free: 75.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.4505, allocations: 4.797 kB / 0.5456 GB, free: 75.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007776/0.4513, allocations: 1.08 MB / 0.5467 GB, free: 74.44 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4513, allocations: 0 / 0.5467 GB, free: 74.44 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008719/0.4522, allocations: 0.8013 MB / 0.5475 GB, free: 73.92 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.4524, allocations: 149.3 kB / 0.5476 GB, free: 73.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.05e-05/0.4524, allocations: 1.375 kB / 0.5476 GB, free: 73.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.4526, allocations: 29.48 kB / 0.5476 GB, free: 73.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.7e-05/0.4527, allocations: 19.91 kB / 0.5477 GB, free: 73.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.4527, allocations: 9.141 kB / 0.5477 GB, free: 73.74 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003406/0.4531, allocations: 334.9 kB / 0.548 GB, free: 73.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.813e-06/0.4531, allocations: 0 / 0.548 GB, free: 73.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002765/0.4558, allocations: 0.956 MB / 0.5489 GB, free: 73.44 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.003552/0.4594, allocations: 0.9688 MB / 0.5499 GB, free: 73.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001441/0.4609, allocations: 480.3 kB / 0.5503 GB, free: 72.92 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4609, allocations: 0 / 0.5503 GB, free: 72.92 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003107/0.4612, allocations: 198.5 kB / 0.5505 GB, free: 72.83 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/0.4624, allocations: 231.6 kB / 0.5507 GB, free: 72.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.4635, allocations: 1.042 MB / 0.5517 GB, free: 71.98 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/0.4637, allocations: 0.8444 MB / 0.5526 GB, free: 71.21 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003171/0.4641, allocations: 170.6 kB / 0.5527 GB, free: 71.14 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.279e-05/0.4641, allocations: 30.62 kB / 0.5528 GB, free: 71.13 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4641, allocations: 4 kB / 0.5528 GB, free: 71.13 MB / 414.1 MB Notification: Performance of Templates: time 0.03566/0.4998, allocations: 35.5 MB / 0.5874 GB, free: 38.16 MB / 414.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.makefile Environment - environmentSimulation: (rm -f ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe 2>&1) Environment - environmentSimulation: