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.0009381/0.0009381, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.0009665/0.0009665, allocations: 168.7 kB / 24.91 MB, free: 9.148 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.9385/0.9385, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.1044/0.1044, allocations: 19.74 MB / 281.6 MB, free: 9.148 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.102e-06/1.102e-06, allocations: 0 / 305.2 MB, free: 13.1 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.757e-05/1.867e-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.01747/0.01748, allocations: 20.21 MB / 325.4 MB, free: 9.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007611/0.0251, allocations: 8.424 MB / 333.9 MB, free: 1.523 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002806/0.02538, allocations: 19.81 kB / 333.9 MB, free: 1.504 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003923/0.02577, allocations: 138.9 kB / 334 MB, free: 1.367 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004876/0.02626, allocations: 349.4 kB / 334.3 MB, free: 1.02 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007727/0.03398, allocations: 4.324 MB / 338.7 MB, free: 12.68 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008221/0.03481, allocations: 0.9403 MB / 339.6 MB, free: 11.73 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003265/0.03513, allocations: 245 kB / 339.9 MB, free: 11.49 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004085/0.03554, allocations: 446.9 kB / 340.3 MB, free: 11.05 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000287/0.03583, allocations: 263.2 kB / 340.5 MB, free: 10.79 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.064e-05/0.03587, allocations: 36 kB / 340.6 MB, free: 10.76 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007859/0.04373, allocations: 6.228 MB / 346.8 MB, free: 4.523 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.04383, allocations: 99.52 kB / 346.9 MB, free: 4.426 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002236/0.04406, allocations: 187.6 kB / 347.1 MB, free: 4.242 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006107/0.05016, allocations: 4.556 MB / 351.6 MB, free: 15.68 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.05017, allocations: 0 / 351.6 MB, free: 15.68 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.05017, allocations: 0 / 351.6 MB, free: 15.68 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.645e-06/0.05018, allocations: 0 / 351.6 MB, free: 15.68 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.002255/0.05243, allocations: 1.249 MB / 352.9 MB, free: 14.39 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.05246, allocations: 8.031 kB / 352.9 MB, free: 14.39 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002368/0.0527, allocations: 128.7 kB / 353 MB, free: 14.26 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003525/0.05305, allocations: 327.7 kB / 353.3 MB, free: 13.92 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/0.05315, allocations: 203.4 kB / 353.5 MB, free: 13.68 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.998e-05/0.05318, allocations: 32.38 kB / 353.6 MB, free: 13.65 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005693/0.05375, allocations: 406.8 kB / 354 MB, free: 13.24 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.05376, allocations: 7.938 kB / 354 MB, free: 13.23 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.05378, allocations: 8 kB / 354 MB, free: 13.22 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.05379, allocations: 8 kB / 354 MB, free: 13.21 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004311/0.05422, allocations: 251 kB / 354.2 MB, free: 12.97 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.0009186/0.05514, allocations: 0.8168 MB / 355.1 MB, free: 12.13 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004174/0.05556, allocations: 222.3 kB / 355.3 MB, free: 11.9 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.948e-05/0.05562, allocations: 44.84 kB / 355.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.05564, allocations: 8 kB / 355.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.05566, allocations: 42.55 kB / 355.4 MB, free: 11.8 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 1.674e-06/0.05566, allocations: 0 / 355.4 MB, free: 11.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.001309/0.05697, allocations: 0.5275 MB / 355.9 MB, free: 11.26 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.057, allocations: 55.41 kB / 355.9 MB, free: 11.2 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/0.05718, allocations: 331.2 kB / 356.3 MB, free: 10.86 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.0572, allocations: 29.7 kB / 356.3 MB, free: 10.82 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.21e-05/0.05727, allocations: 205.4 kB / 356.5 MB, free: 10.61 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.848e-05/0.05732, allocations: 79.25 kB / 356.6 MB, free: 10.54 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.885e-05/0.05738, allocations: 49.67 kB / 356.6 MB, free: 10.48 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.474e-05/0.05746, allocations: 354.7 kB / 357 MB, free: 10.12 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.738e-05/0.05752, allocations: 32.84 kB / 357 MB, free: 10.09 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.125e-05/0.05757, allocations: 35.91 kB / 357 MB, free: 10.05 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.05769, allocations: 99.08 kB / 357.1 MB, free: 9.957 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.05769, allocations: 0 / 357.1 MB, free: 9.957 MB / 330.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004832/0.05817, allocations: 178.4 kB / 357.3 MB, free: 9.773 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.05818, allocations: 4 kB / 357.3 MB, free: 9.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.05819, allocations: 0 / 357.3 MB, free: 9.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009836/0.05917, allocations: 325.1 kB / 357.6 MB, free: 9.449 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002711/0.05944, allocations: 127.7 kB / 357.8 MB, free: 9.324 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003789/0.05982, allocations: 0.5991 MB / 358.4 MB, free: 8.699 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.05993, allocations: 19.89 kB / 358.4 MB, free: 8.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.05995, allocations: 7.984 kB / 358.4 MB, free: 8.672 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.42e-05/0.06004, allocations: 108.1 kB / 358.5 MB, free: 8.562 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.457e-05/0.06011, allocations: 55.41 kB / 358.5 MB, free: 8.496 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001054/0.06021, allocations: 110.1 kB / 358.7 MB, free: 8.379 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.693e-06/0.06021, allocations: 3.984 kB / 358.7 MB, free: 8.375 MB / 330.7 MB Notification: Performance of matching and sorting (n=27) (initialization_lambda0): time 0.0002748/0.06049, allocations: 196.8 kB / 358.8 MB, free: 8.176 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.131e-06/0.0605, allocations: 7.938 kB / 358.9 MB, free: 8.168 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-06/0.0605, allocations: 0 / 358.9 MB, free: 8.168 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001898/0.06069, allocations: 72.78 kB / 358.9 MB, free: 8.094 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002555/0.06094, allocations: 131.8 kB / 359.1 MB, free: 7.965 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007303/0.06167, allocations: 1.269 MB / 360.3 MB, free: 6.613 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.06178, allocations: 23.84 kB / 360.3 MB, free: 6.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.06179, allocations: 7.984 kB / 360.4 MB, free: 6.582 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 7.954e-05/0.06187, allocations: 188.3 kB / 360.5 MB, free: 6.391 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.54e-05/0.06192, allocations: 35.91 kB / 360.6 MB, free: 6.355 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002882/0.06221, allocations: 218 kB / 360.8 MB, free: 6.133 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.06221, allocations: 4 kB / 360.8 MB, free: 6.129 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.01e-07/0.06221, allocations: 0 / 360.8 MB, free: 6.129 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.06221, allocations: 4 kB / 360.8 MB, free: 6.125 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002155/0.06243, allocations: 221.6 kB / 361 MB, free: 5.891 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.06243, allocations: 0 / 361 MB, free: 5.891 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.276e-05/0.0625, allocations: 39.92 kB / 361.1 MB, free: 5.852 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005294/0.06303, allocations: 206.1 kB / 361.3 MB, free: 5.648 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.06305, allocations: 11.94 kB / 361.3 MB, free: 5.637 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002863/0.06333, allocations: 0.603 MB / 361.9 MB, free: 5.008 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.06333, allocations: 0 / 361.9 MB, free: 5.008 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002569/0.06359, allocations: 296.1 kB / 362.2 MB, free: 4.699 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.402e-05/0.06363, allocations: 35.66 kB / 362.2 MB, free: 4.664 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.743e-05/0.06365, allocations: 12.03 kB / 362.2 MB, free: 4.652 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.538e-05/0.06374, allocations: 8 kB / 362.2 MB, free: 4.645 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.384e-05/0.06379, allocations: 31.94 kB / 362.2 MB, free: 4.613 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-06/0.0638, allocations: 4 kB / 362.2 MB, free: 4.609 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.686e-05/0.0639, allocations: 144.7 kB / 362.4 MB, free: 4.469 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0639, allocations: 0 / 362.4 MB, free: 4.469 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001701/0.0656, allocations: 1.002 MB / 363.4 MB, free: 3.465 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.002497/0.0681, allocations: 1.151 MB / 364.5 MB, free: 2.305 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000544/0.06864, allocations: 345.6 kB / 364.9 MB, free: 1.949 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.06865, allocations: 4 kB / 364.9 MB, free: 1.945 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.06878, allocations: 105.2 kB / 365 MB, free: 1.84 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005476/0.06933, allocations: 240 kB / 365.2 MB, free: 1.613 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.07043, allocations: 0.7488 MB / 366 MB, free: 0.832 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.93e-05/0.07048, allocations: 109.3 kB / 366.1 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003441/0.07083, allocations: 412.9 kB / 366.5 MB, free: 316 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002302/0.07106, allocations: 165.2 kB / 366.6 MB, free: 148 kB / 330.7 MB Notification: Performance of SimCode: time 7.21e-07/0.07106, allocations: 0 / 366.6 MB, free: 148 kB / 330.7 MB Notification: Performance of Templates: time 0.03852/0.1096, allocations: 41.23 MB / 407.9 MB, free: 7.055 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.246815836057067]