Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.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.001922/0.001922, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002003/0.002003, allocations: 165.6 kB / 24.28 MB, free: 152 kB / 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 1.534/1.534, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 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.1509/0.1509, allocations: 19.73 MB / 280.8 MB, free: 9.285 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.TestCoeffValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve") translateModel(ThermoPower.Test.WaterComponents.TestCoeffValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 357.2 MB, free: 6.949 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.333e-05/3.46e-05, allocations: 2.312 kB / 357.2 MB, free: 6.945 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.2324/0.2325, allocations: 80.25 MB / 437.5 MB, free: 16.35 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01212/0.2446, allocations: 11.3 MB / 448.8 MB, free: 14.23 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007905/0.2454, allocations: 35.09 kB / 448.8 MB, free: 14.21 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009926/0.2464, allocations: 389.2 kB / 449.2 MB, free: 14.04 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001037/0.2474, allocations: 0.5833 MB / 449.8 MB, free: 13.7 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01409/0.2615, allocations: 6.172 MB / 455.9 MB, free: 10.21 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002032/0.2635, allocations: 1.622 MB / 457.6 MB, free: 9.246 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004473/0.264, allocations: 379.5 kB / 457.9 MB, free: 8.973 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007308/0.2647, allocations: 0.7477 MB / 458.7 MB, free: 8.551 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005126/0.2652, allocations: 450.6 kB / 459.1 MB, free: 8.332 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.616e-05/0.2653, allocations: 49.44 kB / 459.2 MB, free: 8.332 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009414/0.2747, allocations: 6.09 MB / 465.3 MB, free: 4.211 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.2748, allocations: 155.2 kB / 465.4 MB, free: 4.059 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003861/0.2752, allocations: 303.3 kB / 465.7 MB, free: 3.762 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008186/0.2834, allocations: 5.199 MB / 470.9 MB, free: 14.55 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.2834, allocations: 0 / 470.9 MB, free: 14.55 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2834, allocations: 0 / 470.9 MB, free: 14.55 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.2834, allocations: 3.938 kB / 470.9 MB, free: 14.55 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.004912/0.2883, allocations: 1.782 MB / 472.7 MB, free: 12.72 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.2884, allocations: 15.97 kB / 472.7 MB, free: 12.71 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005922/0.289, allocations: 216.2 kB / 472.9 MB, free: 12.5 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/0.29, allocations: 0.5513 MB / 473.5 MB, free: 11.91 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002841/0.2903, allocations: 279.5 kB / 473.7 MB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.262e-05/0.2903, allocations: 52.38 kB / 473.8 MB, free: 11.54 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001665/0.292, allocations: 0.7648 MB / 474.6 MB, free: 10.72 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.292, allocations: 0 / 474.6 MB, free: 10.72 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.712e-05/0.2921, allocations: 27.94 kB / 474.6 MB, free: 10.7 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.802e-05/0.2921, allocations: 12 kB / 474.6 MB, free: 10.68 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001532/0.2936, allocations: 0.6048 MB / 475.2 MB, free: 10.08 MB / 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.003858/0.2975, allocations: 2.881 MB / 478.1 MB, free: 7.105 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009029/0.2984, allocations: 304.4 kB / 478.4 MB, free: 6.758 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002332/0.2986, allocations: 103.7 kB / 478.5 MB, free: 6.641 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.084e-05/0.2987, allocations: 11.98 kB / 478.5 MB, free: 6.629 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.728e-05/0.2987, allocations: 45.33 kB / 478.5 MB, free: 6.574 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 1.533e-06/0.2987, allocations: 0 / 478.5 MB, free: 6.574 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.002306/0.301, allocations: 0.5807 MB / 479.1 MB, free: 5.988 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.3011, allocations: 136.5 kB / 479.3 MB, free: 5.824 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008048/0.3019, allocations: 0.6481 MB / 479.9 MB, free: 5.156 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.332e-05/0.302, allocations: 29.7 kB / 479.9 MB, free: 5.121 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004146/0.3024, allocations: 474.7 kB / 480.4 MB, free: 4.652 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.89e-05/0.3025, allocations: 83.34 kB / 480.5 MB, free: 4.57 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/0.3026, allocations: 71.34 kB / 480.5 MB, free: 4.492 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003581/0.303, allocations: 0.5664 MB / 481.1 MB, free: 3.914 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002351/0.3032, allocations: 83.66 kB / 481.2 MB, free: 3.828 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002781/0.3035, allocations: 134.6 kB / 481.3 MB, free: 3.68 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004749/0.304, allocations: 197.6 kB / 481.5 MB, free: 3.473 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.304, allocations: 0 / 481.5 MB, free: 3.473 MB / 346.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007206/0.3047, allocations: 321.1 kB / 481.8 MB, free: 3.152 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.3047, allocations: 8 kB / 481.8 MB, free: 3.145 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.3047, allocations: 3.984 kB / 481.8 MB, free: 3.141 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.3048, allocations: 4 kB / 481.9 MB, free: 3.137 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004109/0.3052, allocations: 67.89 kB / 481.9 MB, free: 3.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.3052, allocations: 4 kB / 481.9 MB, free: 3.066 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003181/0.3055, allocations: 19.83 kB / 481.9 MB, free: 3.047 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.42e-05/0.3055, allocations: 11.98 kB / 482 MB, free: 3.035 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003925/0.3059, allocations: 246.8 kB / 482.2 MB, free: 2.789 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003003/0.3062, allocations: 185.2 kB / 482.4 MB, free: 2.562 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004669/0.3067, allocations: 241.4 kB / 482.6 MB, free: 2.281 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.058e-06/0.3067, allocations: 4 kB / 482.6 MB, free: 2.277 MB / 346.7 MB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.000674/0.3074, allocations: 317 kB / 482.9 MB, free: 1.961 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.797e-06/0.3074, allocations: 8.219 kB / 482.9 MB, free: 1.953 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.3074, allocations: 4 kB / 482.9 MB, free: 1.949 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.935e-06/0.3074, allocations: 7.984 kB / 482.9 MB, free: 1.941 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003185/0.3077, allocations: 67.89 kB / 483 MB, free: 1.875 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.3077, allocations: 4 kB / 483 MB, free: 1.871 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003113/0.308, allocations: 19.89 kB / 483 MB, free: 1.852 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.767e-05/0.3081, allocations: 12 kB / 483 MB, free: 1.84 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (ValveLiq4.fluidState.phase,ValveLiq3.fluidState.phase,ValveLiq2.fluidState.phase,ValveLiq1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002093/0.3083, allocations: 288 kB / 483.3 MB, free: 1.551 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001791/0.3084, allocations: 75.56 kB / 483.4 MB, free: 1.477 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006738/0.3091, allocations: 276 kB / 483.7 MB, free: 1.191 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-06/0.3091, allocations: 8 kB / 483.7 MB, free: 1.184 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.3091, allocations: 3.984 kB / 483.7 MB, free: 1.18 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.3091, allocations: 4.5 kB / 483.7 MB, free: 1.176 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002177/0.3113, allocations: 1.42 MB / 485.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/0.3113, allocations: 4.375 kB / 485.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002063/0.3115, allocations: 63.84 kB / 485.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.3115, allocations: 4 kB / 485.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.628e-05/0.3116, allocations: 12 kB / 485.2 MB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.556e-06/0.3116, allocations: 7.984 kB / 485.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.3116, allocations: 7.938 kB / 485.2 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.3127, allocations: 0.8526 MB / 486.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.3128, allocations: 67.44 kB / 486.1 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.827e-05/0.3129, allocations: 8 kB / 486.1 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003492/0.3133, allocations: 8 kB / 486.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.5e-05/0.3133, allocations: 43.83 kB / 486.2 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.51e-05/0.3134, allocations: 12 kB / 486.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005763/0.3139, allocations: 459 kB / 486.6 MB, free: 14.06 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3139, allocations: 0 / 486.6 MB, free: 14.06 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003123/0.3171, allocations: 1.134 MB / 487.8 MB, free: 12.92 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (ValveLiq4.fluidState.phase,ValveLiq3.fluidState.phase,ValveLiq2.fluidState.phase,ValveLiq1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003855/0.3209, allocations: 1.114 MB / 488.9 MB, free: 11.8 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001048/0.322, allocations: 335.1 kB / 489.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.322, allocations: 0 / 489.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002391/0.3222, allocations: 120.1 kB / 489.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002283/0.3245, allocations: 377.6 kB / 489.7 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001952/0.3265, allocations: 1.169 MB / 490.9 MB, free: 9.715 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003943/0.3268, allocations: 322.1 kB / 491.2 MB, free: 9.371 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001287/0.3281, allocations: 0.8424 MB / 492 MB, free: 8.527 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/0.3283, allocations: 52.48 kB / 492.1 MB, free: 8.477 MB / 362.7 MB Notification: Performance of SimCode: time 8.81e-07/0.3283, allocations: 0 / 492.1 MB, free: 8.477 MB / 362.7 MB Notification: Performance of Templates: time 0.06543/0.3937, allocations: 38.9 MB / 0.5185 GB, free: 1.766 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.138069851906039]