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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001956/0.001956, allocations: 88.31 kB / 20.96 MB, free: 3.477 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002496/0.002496, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.393/1.393, allocations: 158.6 MB / 186.1 MB, free: 2.883 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.306/0.306, allocations: 36.35 MB / 274.7 MB, free: 10.71 MB / 266.7 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.WaterComponents.ValveZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow") translateModel(ThermoPower.Test.WaterComponents.ValveZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 353 MB, free: 3.797 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.42e-05/2.558e-05, allocations: 2.312 kB / 353.1 MB, free: 3.793 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.ValveZeroFlow): time 0.07445/0.07447, allocations: 38.22 MB / 391.3 MB, free: 13.43 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02615/0.1006, allocations: 8.751 MB / 400 MB, free: 4.648 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005633/0.1012, allocations: 19.81 kB / 400 MB, free: 4.629 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001197/0.1024, allocations: 218.4 kB / 400.3 MB, free: 4.414 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001503/0.1039, allocations: 301.8 kB / 400.6 MB, free: 4.117 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02613/0.13, allocations: 4.762 MB / 405.3 MB, free: 15.34 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002159/0.1322, allocations: 0.7928 MB / 406.1 MB, free: 14.54 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007818/0.133, allocations: 220.3 kB / 406.3 MB, free: 14.32 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001217/0.1342, allocations: 395 kB / 406.7 MB, free: 13.93 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007707/0.1349, allocations: 243.2 kB / 406.9 MB, free: 13.7 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001145/0.1351, allocations: 28 kB / 407 MB, free: 13.67 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02345/0.1585, allocations: 5.962 MB / 412.9 MB, free: 7.699 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000254/0.1588, allocations: 87.59 kB / 413 MB, free: 7.613 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005694/0.1593, allocations: 163.6 kB / 413.2 MB, free: 7.453 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01624/0.1756, allocations: 4.739 MB / 417.9 MB, free: 2.703 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.1756, allocations: 0 / 417.9 MB, free: 2.703 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1756, allocations: 0 / 417.9 MB, free: 2.703 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.52e-05/0.1756, allocations: 0 / 417.9 MB, free: 2.703 MB / 346.7 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.004857/0.1805, allocations: 1.137 MB / 419.1 MB, free: 1.531 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.593e-05/0.1805, allocations: 12.03 kB / 419.1 MB, free: 1.52 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007083/0.1812, allocations: 116.5 kB / 419.2 MB, free: 1.406 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/0.1823, allocations: 331.8 kB / 419.5 MB, free: 1.055 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.447e-05/0.1823, allocations: 29.03 kB / 419.5 MB, free: 1.027 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.673e-05/0.1824, allocations: 28.38 kB / 419.6 MB, free: 1 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001689/0.1841, allocations: 385.5 kB / 419.9 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.1841, allocations: 192 / 419.9 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.392e-05/0.1842, allocations: 11.94 kB / 419.9 MB, free: 0.582 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.1842, allocations: 8 kB / 420 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001282/0.1855, allocations: 253.8 kB / 420.2 MB, free: 332 kB / 346.7 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.003295/0.1888, allocations: 1.238 MB / 421.4 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007458/0.1895, allocations: 150.4 kB / 421.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003029/0.1898, allocations: 72.81 kB / 421.7 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2233/0.4131, allocations: 16.79 MB / 438.5 MB, free: 92.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.4131, allocations: 35.78 kB / 438.5 MB, free: 92.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 1.663e-06/0.4131, allocations: 0 / 438.5 MB, free: 92.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.002474/0.4156, allocations: 0.5128 MB / 439 MB, free: 92.56 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.017e-05/0.4156, allocations: 55.09 kB / 439.1 MB, free: 92.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003243/0.416, allocations: 328.4 kB / 439.4 MB, free: 92.37 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.416, allocations: 25.7 kB / 439.4 MB, free: 92.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.4161, allocations: 239 kB / 439.6 MB, free: 92.19 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.107e-05/0.4161, allocations: 53.66 kB / 439.7 MB, free: 92.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.308e-05/0.4162, allocations: 49.44 kB / 439.7 MB, free: 92.14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.049e-05/0.4163, allocations: 339.1 kB / 440.1 MB, free: 91.81 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/0.4164, allocations: 83.72 kB / 440.1 MB, free: 91.78 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/0.4166, allocations: 106 kB / 440.3 MB, free: 91.72 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003366/0.4169, allocations: 190.3 kB / 440.4 MB, free: 91.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.4169, allocations: 0 / 440.4 MB, free: 91.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005701/0.4175, allocations: 306.7 kB / 440.7 MB, free: 91.49 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.4175, allocations: 5.625 kB / 440.7 MB, free: 91.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.4175, allocations: 5.375 kB / 440.7 MB, free: 91.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00238/0.4199, allocations: 332.6 kB / 441.1 MB, free: 91.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002462/0.4202, allocations: 50.86 kB / 441.1 MB, free: 91.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006845/0.4208, allocations: 0.6493 MB / 441.8 MB, free: 90.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002598/0.4211, allocations: 25.58 kB / 441.8 MB, free: 90.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.398e-05/0.4211, allocations: 7 kB / 441.8 MB, free: 90.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002155/0.4213, allocations: 165.8 kB / 442 MB, free: 90.74 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001632/0.4215, allocations: 113.9 kB / 442.1 MB, free: 90.65 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003083/0.4218, allocations: 182.9 kB / 442.3 MB, free: 90.53 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.204e-06/0.4218, allocations: 1.438 kB / 442.3 MB, free: 90.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization_lambda0): time 0.0007493/0.4226, allocations: 313.3 kB / 442.6 MB, free: 90.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.4226, allocations: 6.25 kB / 442.6 MB, free: 90.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.4226, allocations: 2.656 kB / 442.6 MB, free: 90.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004071/0.423, allocations: 83.47 kB / 442.7 MB, free: 90.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002369/0.4232, allocations: 54.91 kB / 442.7 MB, free: 90.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001334/0.4246, allocations: 1.447 MB / 444.2 MB, free: 89.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002448/0.4248, allocations: 21.44 kB / 444.2 MB, free: 89.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.4248, allocations: 9.219 kB / 444.2 MB, free: 89.04 MB / 362.7 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 (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 {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 8.576e-05/0.4249, allocations: 184 kB / 444.4 MB, free: 88.86 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.131e-05/0.425, allocations: 46.23 kB / 444.4 MB, free: 88.83 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00126/0.4262, allocations: 0.9149 MB / 445.3 MB, free: 88.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.365e-06/0.4262, allocations: 6.297 kB / 445.3 MB, free: 88.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.4263, allocations: 0 / 445.3 MB, free: 88.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.85e-06/0.4263, allocations: 3.797 kB / 445.3 MB, free: 88.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003904/0.4266, allocations: 429.9 kB / 445.8 MB, free: 88.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.4266, allocations: 0 / 445.8 MB, free: 88.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.015e-05/0.4267, allocations: 28.56 kB / 445.8 MB, free: 88.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001291/0.428, allocations: 0.5067 MB / 446.3 MB, free: 87.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.428, allocations: 7.875 kB / 446.3 MB, free: 87.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000718/0.4288, allocations: 1.101 MB / 447.4 MB, free: 87.13 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4288, allocations: 4.062 kB / 447.4 MB, free: 87.12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008291/0.4296, allocations: 0.7812 MB / 448.2 MB, free: 86.63 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.764e-05/0.4296, allocations: 50.7 kB / 448.2 MB, free: 86.6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.34e-05/0.4297, allocations: 6.25 kB / 448.2 MB, free: 86.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.4299, allocations: 14.53 kB / 448.3 MB, free: 86.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.126e-05/0.4299, allocations: 12.62 kB / 448.3 MB, free: 86.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.4299, allocations: 8.531 kB / 448.3 MB, free: 86.58 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000226/0.4302, allocations: 289.1 kB / 448.6 MB, free: 86.4 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4302, allocations: 0 / 448.6 MB, free: 86.4 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002195/0.4324, allocations: 0.9696 MB / 449.5 MB, free: 85.98 MB / 362.7 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 (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 {(2,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002951/0.4353, allocations: 1.092 MB / 450.6 MB, free: 84.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001241/0.4365, allocations: 471 kB / 451.1 MB, free: 84.51 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.4366, allocations: 4.062 kB / 451.1 MB, free: 84.51 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002813/0.4368, allocations: 153.2 kB / 451.2 MB, free: 84.36 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008427/0.4377, allocations: 174.5 kB / 451.4 MB, free: 84.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009818/0.4387, allocations: 0.87 MB / 452.3 MB, free: 83.31 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001298/0.4388, allocations: 246.3 kB / 452.5 MB, free: 83.04 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002058/0.439, allocations: 160.2 kB / 452.7 MB, free: 82.89 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.91e-05/0.439, allocations: 32.5 kB / 452.7 MB, free: 82.86 MB / 362.7 MB Notification: Performance of SimCode: time 7.21e-07/0.439, allocations: 0 / 452.7 MB, free: 82.86 MB / 362.7 MB Notification: Performance of Templates: time 0.03333/0.4724, allocations: 34.4 MB / 487.1 MB, free: 48.45 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.402977589983493]