Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.0008481/0.0008481, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.0009143/0.0009143, allocations: 170.2 kB / 24.91 MB, free: 9.113 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9465/0.9465, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.09177/0.09177, allocations: 19.74 MB / 281.6 MB, free: 9.129 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow") translateModel(ThermoPower.Test.WaterComponents.ValveZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 305.2 MB, free: 13.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.057e-05/2.186e-05, allocations: 2.969 kB / 305.2 MB, free: 13.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.ValveZeroFlow): time 0.01712/0.01714, allocations: 20.16 MB / 325.3 MB, free: 10.04 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008415/0.02556, allocations: 8.424 MB / 333.8 MB, free: 1.578 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003708/0.02593, allocations: 15.88 kB / 333.8 MB, free: 1.562 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004648/0.02639, allocations: 142.8 kB / 333.9 MB, free: 1.422 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008777/0.02727, allocations: 357.3 kB / 334.3 MB, free: 1.066 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009937/0.03721, allocations: 4.76 MB / 339 MB, free: 12.29 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001176/0.03838, allocations: 0.9405 MB / 340 MB, free: 11.35 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003915/0.03877, allocations: 241 kB / 340.2 MB, free: 11.11 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004962/0.03927, allocations: 442.9 kB / 340.6 MB, free: 10.67 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003255/0.0396, allocations: 263.2 kB / 340.9 MB, free: 10.41 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.302e-05/0.03964, allocations: 36 kB / 340.9 MB, free: 10.38 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008582/0.04822, allocations: 5.822 MB / 346.7 MB, free: 4.551 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001283/0.04835, allocations: 95.53 kB / 346.8 MB, free: 4.457 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002653/0.04861, allocations: 191.5 kB / 347 MB, free: 4.27 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007867/0.05648, allocations: 4.552 MB / 351.6 MB, free: 15.7 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.84e-06/0.05649, allocations: 0 / 351.6 MB, free: 15.7 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.05649, allocations: 0 / 351.6 MB, free: 15.7 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.05649, allocations: 0 / 351.6 MB, free: 15.7 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.002266/0.05876, allocations: 1.245 MB / 352.8 MB, free: 14.43 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.05879, allocations: 12.03 kB / 352.8 MB, free: 14.41 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002236/0.05902, allocations: 128.7 kB / 353 MB, free: 14.29 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003466/0.05936, allocations: 331.7 kB / 353.3 MB, free: 13.94 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001075/0.05947, allocations: 203.4 kB / 353.5 MB, free: 13.71 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.251e-05/0.0595, allocations: 36.38 kB / 353.5 MB, free: 13.67 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005123/0.06001, allocations: 402.9 kB / 353.9 MB, free: 13.26 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.06002, allocations: 3.938 kB / 353.9 MB, free: 13.26 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.06004, allocations: 11.98 kB / 353.9 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.994e-06/0.06005, allocations: 8 kB / 353.9 MB, free: 13.24 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003856/0.06044, allocations: 262.9 kB / 354.2 MB, free: 12.98 MB / 330.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.0009417/0.06138, allocations: 0.8052 MB / 355 MB, free: 12.15 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003829/0.06176, allocations: 226.2 kB / 355.2 MB, free: 11.93 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.26e-05/0.06182, allocations: 44.84 kB / 355.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.06185, allocations: 7.984 kB / 355.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.06187, allocations: 34.56 kB / 355.3 MB, free: 11.83 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 1.492e-06/0.06187, allocations: 4 kB / 355.3 MB, free: 11.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.001486/0.06336, allocations: 0.5176 MB / 355.8 MB, free: 11.3 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.06339, allocations: 59.41 kB / 355.9 MB, free: 11.23 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.06357, allocations: 339.2 kB / 356.2 MB, free: 10.88 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.06359, allocations: 29.7 kB / 356.2 MB, free: 10.84 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.468e-05/0.06367, allocations: 197.4 kB / 356.4 MB, free: 10.64 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.218e-05/0.06372, allocations: 79.31 kB / 356.5 MB, free: 10.57 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.467e-05/0.06378, allocations: 53.66 kB / 356.6 MB, free: 10.51 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.997e-05/0.06388, allocations: 354.7 kB / 356.9 MB, free: 10.15 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.962e-05/0.06394, allocations: 32.78 kB / 356.9 MB, free: 10.12 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.332e-05/0.064, allocations: 39.95 kB / 357 MB, free: 10.08 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.06411, allocations: 87.11 kB / 357.1 MB, free: 9.992 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.06412, allocations: 0 / 357.1 MB, free: 9.992 MB / 330.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002626/0.06438, allocations: 174.4 kB / 357.2 MB, free: 9.812 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.06439, allocations: 15.94 kB / 357.3 MB, free: 9.797 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.0644, allocations: 4 kB / 357.3 MB, free: 9.793 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009468/0.06534, allocations: 321.1 kB / 357.6 MB, free: 9.477 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.06548, allocations: 59.89 kB / 357.6 MB, free: 9.418 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004301/0.06591, allocations: 0.6029 MB / 358.2 MB, free: 8.789 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001265/0.06604, allocations: 19.83 kB / 358.3 MB, free: 8.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.06605, allocations: 11.98 kB / 358.3 MB, free: 8.758 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001055/0.06616, allocations: 112.1 kB / 358.4 MB, free: 8.645 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.36e-05/0.06623, allocations: 59.42 kB / 358.4 MB, free: 8.574 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001105/0.06634, allocations: 97.73 kB / 358.5 MB, free: 8.469 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.273e-06/0.06634, allocations: 0 / 358.5 MB, free: 8.469 MB / 330.7 MB Notification: Performance of matching and sorting (n=27) (initialization_lambda0): time 0.0002815/0.06662, allocations: 194.2 kB / 358.7 MB, free: 8.27 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.125e-06/0.06663, allocations: 8 kB / 358.7 MB, free: 8.262 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-06/0.06663, allocations: 0 / 358.7 MB, free: 8.262 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001964/0.06683, allocations: 72.77 kB / 358.8 MB, free: 8.188 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.06697, allocations: 59.95 kB / 358.9 MB, free: 8.129 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007531/0.06772, allocations: 1.265 MB / 360.1 MB, free: 6.781 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.06783, allocations: 23.78 kB / 360.1 MB, free: 6.758 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.06784, allocations: 11.98 kB / 360.2 MB, free: 6.746 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (19): * Single equations (assignments): 18 * 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,7)} Notification: Performance of prepare postOptimizeDAE: time 8.658e-05/0.06793, allocations: 192.2 kB / 360.3 MB, free: 6.551 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.891e-05/0.06797, allocations: 27.97 kB / 360.4 MB, free: 6.523 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003096/0.06828, allocations: 230 kB / 360.6 MB, free: 6.289 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.06828, allocations: 7.938 kB / 360.6 MB, free: 6.281 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-06/0.06829, allocations: 0 / 360.6 MB, free: 6.281 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.06829, allocations: 0 / 360.6 MB, free: 6.281 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002427/0.06853, allocations: 213.6 kB / 360.8 MB, free: 6.055 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.06853, allocations: 0 / 360.8 MB, free: 6.055 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.667e-05/0.0686, allocations: 35.98 kB / 360.8 MB, free: 6.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005143/0.06912, allocations: 213.2 kB / 361.1 MB, free: 5.809 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.06913, allocations: 8 kB / 361.1 MB, free: 5.801 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002952/0.06943, allocations: 0.6158 MB / 361.7 MB, free: 5.16 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.06943, allocations: 0 / 361.7 MB, free: 5.16 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002555/0.06968, allocations: 280.1 kB / 362 MB, free: 4.867 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.837e-05/0.06972, allocations: 39.7 kB / 362 MB, free: 4.828 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.679e-05/0.06975, allocations: 4 kB / 362 MB, free: 4.824 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.131e-05/0.06983, allocations: 8 kB / 362 MB, free: 4.816 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.377e-05/0.06988, allocations: 43.91 kB / 362 MB, free: 4.773 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.06989, allocations: 8 kB / 362.1 MB, free: 4.766 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.582e-05/0.06999, allocations: 132.7 kB / 362.2 MB, free: 4.637 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.06999, allocations: 0 / 362.2 MB, free: 4.637 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002359/0.07235, allocations: 1.002 MB / 363.2 MB, free: 3.633 MB / 330.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: 3 (V1.fluidState.phase,V2.fluidState.phase,V3.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002563/0.07491, allocations: 1.158 MB / 364.3 MB, free: 2.469 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005822/0.07549, allocations: 345.6 kB / 364.7 MB, free: 2.113 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.0755, allocations: 4 kB / 364.7 MB, free: 2.109 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.07564, allocations: 101.2 kB / 364.8 MB, free: 2.008 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005499/0.07619, allocations: 233.2 kB / 365 MB, free: 1.789 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.07735, allocations: 0.7503 MB / 365.8 MB, free: 1.004 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.034e-05/0.07741, allocations: 113.2 kB / 365.9 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003926/0.07781, allocations: 414.4 kB / 366.3 MB, free: 480 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002148/0.07802, allocations: 153.2 kB / 366.4 MB, free: 324 kB / 330.7 MB Notification: Performance of SimCode: time 1.362e-06/0.07802, allocations: 4 kB / 366.4 MB, free: 320 kB / 330.7 MB Notification: Performance of Templates: time 0.04334/0.1214, allocations: 40.83 MB / 407.3 MB, free: 7.625 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.2978852251544595]