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.00148/0.00148, allocations: 84.3 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001584/0.001584, allocations: 168.8 kB / 23.95 MB, free: 4.172 MB / 14.72 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 1.523/1.523, allocations: 177.2 MB / 204.3 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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.141/0.141, allocations: 19.74 MB / 280.4 MB, free: 12.9 MB / 270.1 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.352e-06/1.352e-06, allocations: 0 / 417 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.95e-05/3.085e-05, allocations: 9.172 kB / 417.1 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.ValveZeroFlow): time 0.2116/0.2117, allocations: 38.64 MB / 455.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01023/0.2219, allocations: 9.005 MB / 464.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004236/0.2223, allocations: 18.34 kB / 464.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000658/0.223, allocations: 221.1 kB / 464.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007346/0.2237, allocations: 349.8 kB / 465.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01245/0.2362, allocations: 4.954 MB / 470.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001175/0.2373, allocations: 0.9353 MB / 471.2 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003581/0.2377, allocations: 227.7 kB / 471.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005237/0.2382, allocations: 451.3 kB / 471.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003753/0.2386, allocations: 273.6 kB / 472.1 MB, free: 14.06 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.219e-05/0.2387, allocations: 33.09 kB / 472.1 MB, free: 14.06 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01114/0.2498, allocations: 5.995 MB / 478.1 MB, free: 12.03 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001369/0.2499, allocations: 92.16 kB / 478.2 MB, free: 11.96 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003802/0.2503, allocations: 191.8 kB / 478.4 MB, free: 11.88 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007658/0.258, allocations: 4.822 MB / 483.2 MB, free: 8.773 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.258, allocations: 0 / 483.2 MB, free: 8.773 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.258, allocations: 4 kB / 483.2 MB, free: 8.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.258, allocations: 0 / 483.2 MB, free: 8.77 MB / 366.1 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.003065/0.261, allocations: 1.278 MB / 484.5 MB, free: 7.887 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.2611, allocations: 13 kB / 484.5 MB, free: 7.883 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002909/0.2614, allocations: 87.86 kB / 484.6 MB, free: 7.84 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005418/0.2619, allocations: 368.7 kB / 485 MB, free: 7.535 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001178/0.262, allocations: 201.1 kB / 485.2 MB, free: 7.328 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.387e-05/0.2621, allocations: 35.06 kB / 485.2 MB, free: 7.316 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.2631, allocations: 483.4 kB / 485.7 MB, free: 7.027 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.2631, allocations: 0 / 485.7 MB, free: 7.027 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.476e-05/0.2632, allocations: 15.03 kB / 485.7 MB, free: 7.016 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.2632, allocations: 15.12 kB / 485.7 MB, free: 7.012 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/0.2643, allocations: 466.3 kB / 486.1 MB, free: 6.793 MB / 366.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.00153/0.2658, allocations: 1.023 MB / 487.2 MB, free: 6.008 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009152/0.2667, allocations: 297.9 kB / 487.5 MB, free: 5.852 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002515/0.267, allocations: 112.3 kB / 487.6 MB, free: 5.793 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.546e-05/0.267, allocations: 12.61 kB / 487.6 MB, free: 5.785 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/0.267, allocations: 33.53 kB / 487.6 MB, free: 5.746 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 1.493e-06/0.267, allocations: 0 / 487.6 MB, free: 5.746 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.003139/0.2702, allocations: 0.7197 MB / 488.3 MB, free: 5.375 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.638e-05/0.2702, allocations: 58 kB / 488.4 MB, free: 5.309 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003148/0.2705, allocations: 353.4 kB / 488.7 MB, free: 5.082 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.2705, allocations: 25.7 kB / 488.8 MB, free: 5.051 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.2706, allocations: 249.9 kB / 489 MB, free: 4.828 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.187e-05/0.2707, allocations: 79.44 kB / 489.1 MB, free: 4.762 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.108e-05/0.2708, allocations: 55.28 kB / 489.1 MB, free: 4.723 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.158e-05/0.2709, allocations: 354 kB / 489.5 MB, free: 4.379 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002638/0.2711, allocations: 101.1 kB / 489.6 MB, free: 4.324 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002571/0.2714, allocations: 108.6 kB / 489.7 MB, free: 4.273 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004923/0.2719, allocations: 210.3 kB / 489.9 MB, free: 4.164 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2719, allocations: 0 / 489.9 MB, free: 4.164 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009013/0.2728, allocations: 373.6 kB / 490.3 MB, free: 3.961 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.2728, allocations: 3.094 kB / 490.3 MB, free: 3.961 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.2728, allocations: 4 kB / 490.3 MB, free: 3.957 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002525/0.2753, allocations: 358 kB / 490.6 MB, free: 3.816 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002995/0.2756, allocations: 75.22 kB / 490.7 MB, free: 3.785 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007776/0.2764, allocations: 0.6742 MB / 491.4 MB, free: 3.172 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003227/0.2767, allocations: 28.05 kB / 491.4 MB, free: 3.152 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.758e-05/0.2767, allocations: 16.58 kB / 491.4 MB, free: 3.145 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003136/0.2771, allocations: 202.1 kB / 491.6 MB, free: 3.004 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002418/0.2773, allocations: 117.3 kB / 491.7 MB, free: 2.895 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004262/0.2777, allocations: 198.4 kB / 491.9 MB, free: 2.691 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.513e-06/0.2777, allocations: 4 kB / 491.9 MB, free: 2.688 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization_lambda0): time 0.0008807/0.2786, allocations: 345.9 kB / 492.3 MB, free: 2.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.077e-06/0.2786, allocations: 8 kB / 492.3 MB, free: 2.332 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.375e-06/0.2786, allocations: 0 / 492.3 MB, free: 2.332 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003408/0.279, allocations: 76.77 kB / 492.3 MB, free: 2.254 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003077/0.2793, allocations: 75.88 kB / 492.4 MB, free: 2.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001272/0.2805, allocations: 1.44 MB / 493.8 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002952/0.2808, allocations: 23.88 kB / 493.9 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.067e-05/0.2809, allocations: 8.062 kB / 493.9 MB, free: 0.6094 MB / 366.1 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 0.0001002/0.281, allocations: 192.3 kB / 494.1 MB, free: 424 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.014e-05/0.281, allocations: 39.72 kB / 494.1 MB, free: 384 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009294/0.282, allocations: 396.3 kB / 494.5 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.282, allocations: 0 / 494.5 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.282, allocations: 4 kB / 494.5 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.282, allocations: 7.984 kB / 494.5 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004668/0.2824, allocations: 297.8 kB / 494.8 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2824, allocations: 0 / 494.8 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001736/0.2826, allocations: 40.97 kB / 494.8 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001473/0.2841, allocations: 239.2 kB / 495.1 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.793e-05/0.2841, allocations: 11.98 kB / 495.1 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008302/0.2849, allocations: 0.6889 MB / 495.8 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2849, allocations: 0 / 495.8 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.286, allocations: 452 kB / 496.2 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.182e-05/0.286, allocations: 43.64 kB / 496.3 MB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.604e-05/0.2861, allocations: 4 kB / 496.3 MB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002294/0.2863, allocations: 19.3 kB / 496.3 MB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.2864, allocations: 27.95 kB / 496.3 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.63e-05/0.2865, allocations: 11.98 kB / 496.3 MB, free: 14.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002912/0.2867, allocations: 251.1 kB / 496.6 MB, free: 13.85 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2867, allocations: 0 / 496.6 MB, free: 13.85 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002806/0.2896, allocations: 1.002 MB / 497.6 MB, free: 12.85 MB / 382.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: 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.003677/0.2932, allocations: 1.1 MB / 498.7 MB, free: 11.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001786/0.295, allocations: 0.5015 MB / 499.2 MB, free: 11.31 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.295, allocations: 0 / 499.2 MB, free: 11.31 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004585/0.2955, allocations: 156.3 kB / 499.3 MB, free: 11.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/0.2968, allocations: 223.6 kB / 499.5 MB, free: 10.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001798/0.2986, allocations: 0.7697 MB / 0.4886 GB, free: 10.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002256/0.2988, allocations: 219.9 kB / 0.4888 GB, free: 9.914 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006346/0.2994, allocations: 414.2 kB / 0.4892 GB, free: 9.512 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.861e-05/0.2995, allocations: 40.44 kB / 0.4892 GB, free: 9.473 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.2995, allocations: 0 / 0.4892 GB, free: 9.473 MB / 382.1 MB Notification: Performance of Templates: time 0.0545/0.354, allocations: 36.11 MB / 0.5245 GB, free: 5.527 MB / 414.1 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=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.170270171016455] Failed to read output from testmodel.py, exit status != 0: 0.3634597882628441 0.37832891 0.117113934 Calling exit ...