Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump.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.001847/0.001847, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002086/0.002086, 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 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.48/1.48, allocations: 177.1 MB / 204.6 MB, free: 5.613 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.1469/0.1469, allocations: 19.73 MB / 280.8 MB, free: 9.305 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.WaterPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump") translateModel(ThermoPower.Test.WaterComponents.WaterPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 357.2 MB, free: 6.973 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.117e-05/3.281e-05, allocations: 6.25 kB / 357.2 MB, free: 6.965 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPump): time 0.04797/0.048, allocations: 31.67 MB / 388.9 MB, free: 7.191 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01259/0.06059, allocations: 7.652 MB / 396.5 MB, free: 15.5 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003327/0.06092, allocations: 19.81 kB / 396.6 MB, free: 15.48 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005334/0.06145, allocations: 131 kB / 396.7 MB, free: 15.36 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008032/0.06226, allocations: 290 kB / 397 MB, free: 15.07 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01204/0.0743, allocations: 4.546 MB / 401.5 MB, free: 10.51 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008959/0.07519, allocations: 0.6383 MB / 402.2 MB, free: 9.863 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003738/0.07557, allocations: 205.5 kB / 402.4 MB, free: 9.66 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009715/0.07654, allocations: 0.534 MB / 402.9 MB, free: 9.125 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004097/0.07695, allocations: 243.3 kB / 403.1 MB, free: 8.887 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.258e-05/0.077, allocations: 28 kB / 403.2 MB, free: 8.859 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01176/0.08876, allocations: 5.907 MB / 409.1 MB, free: 2.945 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001263/0.08889, allocations: 71.69 kB / 409.1 MB, free: 2.875 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000236/0.08912, allocations: 123.7 kB / 409.3 MB, free: 2.754 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1381/0.2272, allocations: 4.617 MB / 413.9 MB, free: 25.29 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.2272, allocations: 0 / 413.9 MB, free: 25.29 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.063e-06/0.2272, allocations: 0.7031 kB / 413.9 MB, free: 25.29 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.2272, allocations: 0 / 413.9 MB, free: 25.29 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.003386/0.2306, allocations: 1.002 MB / 414.9 MB, free: 24.73 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.2306, allocations: 9.625 kB / 414.9 MB, free: 24.73 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002446/0.2309, allocations: 81.47 kB / 415 MB, free: 24.71 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004225/0.2313, allocations: 268 kB / 415.2 MB, free: 24.54 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.395e-05/0.2314, allocations: 126 kB / 415.3 MB, free: 24.42 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.779e-05/0.2315, allocations: 24.16 kB / 415.4 MB, free: 24.42 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007897/0.2322, allocations: 354 kB / 415.7 MB, free: 24.35 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.2323, allocations: 0 / 415.7 MB, free: 24.35 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.275e-05/0.2323, allocations: 14.12 kB / 415.7 MB, free: 24.35 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.2323, allocations: 6.062 kB / 415.7 MB, free: 24.35 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008867/0.2332, allocations: 288.5 kB / 416 MB, free: 24.34 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.001273/0.2345, allocations: 0.8913 MB / 416.9 MB, free: 23.86 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006762/0.2351, allocations: 209.1 kB / 417.1 MB, free: 23.83 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000357/0.2355, allocations: 115.2 kB / 417.2 MB, free: 23.82 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05695/0.2924, allocations: 17.58 MB / 434.8 MB, free: 22.49 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.2925, allocations: 38.98 kB / 434.8 MB, free: 22.45 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 2.124e-06/0.2925, allocations: 4 kB / 434.8 MB, free: 22.44 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.003153/0.2956, allocations: 0.7073 MB / 435.6 MB, free: 21.83 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.167e-05/0.2956, allocations: 51.41 kB / 435.6 MB, free: 21.77 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.2959, allocations: 254.2 kB / 435.9 MB, free: 21.55 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.2959, allocations: 33.31 kB / 435.9 MB, free: 21.52 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.333e-05/0.296, allocations: 190.4 kB / 436.1 MB, free: 21.37 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.195e-05/0.296, allocations: 74.03 kB / 436.1 MB, free: 21.31 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.205e-05/0.2961, allocations: 49.88 kB / 436.2 MB, free: 21.27 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.725e-05/0.2961, allocations: 335.4 kB / 436.5 MB, free: 20.94 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003325/0.2965, allocations: 110.9 kB / 436.6 MB, free: 20.86 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003289/0.2968, allocations: 143.8 kB / 436.8 MB, free: 20.73 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000642/0.2975, allocations: 240.9 kB / 437 MB, free: 20.55 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2975, allocations: 7.094 kB / 437 MB, free: 20.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001215/0.2987, allocations: 427 kB / 437.4 MB, free: 20.21 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.2987, allocations: 11.39 kB / 437.4 MB, free: 20.2 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.2987, allocations: 0 / 437.4 MB, free: 20.2 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009176/0.2996, allocations: 176.3 kB / 437.6 MB, free: 20.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001937/0.2998, allocations: 41.44 kB / 437.6 MB, free: 20.01 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000783/0.3006, allocations: 0.7185 MB / 438.4 MB, free: 19.33 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002805/0.3009, allocations: 35.95 kB / 438.4 MB, free: 19.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.943e-05/0.3009, allocations: 15.27 kB / 438.4 MB, free: 19.29 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003447/0.3012, allocations: 192.3 kB / 438.6 MB, free: 19.12 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002707/0.3015, allocations: 120.6 kB / 438.7 MB, free: 19.02 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005219/0.302, allocations: 209.6 kB / 438.9 MB, free: 18.86 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.182e-06/0.302, allocations: 4 kB / 438.9 MB, free: 18.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0008238/0.3029, allocations: 350.3 kB / 439.3 MB, free: 18.58 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.364e-06/0.3029, allocations: 4 kB / 439.3 MB, free: 18.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-06/0.3029, allocations: 0 / 439.3 MB, free: 18.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002417/0.3031, allocations: 72.28 kB / 439.3 MB, free: 18.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002436/0.3033, allocations: 50.77 kB / 439.4 MB, free: 18.47 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001465/0.3048, allocations: 1.69 MB / 441.1 MB, free: 16.86 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000258/0.3051, allocations: 35.61 kB / 441.1 MB, free: 16.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.81e-05/0.3051, allocations: 4 kB / 441.1 MB, free: 16.82 MB / 330.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: 2 (Pump.int_Np,Pump.inletFluidState.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 {(4,7)} Notification: Performance of prepare postOptimizeDAE: time 9.027e-05/0.3052, allocations: 199.4 kB / 441.3 MB, free: 16.63 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.665e-05/0.3052, allocations: 38.19 kB / 441.4 MB, free: 16.59 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001274/0.3065, allocations: 0.6461 MB / 442 MB, free: 16.13 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/0.3065, allocations: 4 kB / 442 MB, free: 16.12 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.3065, allocations: 1.094 kB / 442 MB, free: 16.12 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.3065, allocations: 3.422 kB / 442 MB, free: 16.12 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003217/0.3069, allocations: 315.5 kB / 442.3 MB, free: 15.87 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3069, allocations: 4 kB / 442.3 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002369/0.3071, allocations: 38.59 kB / 442.4 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005056/0.3076, allocations: 266.4 kB / 442.6 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/0.3076, allocations: 11.44 kB / 442.6 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008466/0.3085, allocations: 0.9259 MB / 443.6 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3085, allocations: 0 / 443.6 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0015/0.31, allocations: 0.8714 MB / 444.4 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.766e-05/0.3101, allocations: 50.5 kB / 444.5 MB, free: 14.1 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.59e-05/0.3101, allocations: 7.938 kB / 444.5 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002601/0.3104, allocations: 26.52 kB / 444.5 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.941e-05/0.3104, allocations: 25.81 kB / 444.5 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.982e-05/0.3105, allocations: 11.73 kB / 444.6 MB, free: 14.05 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001033/0.3106, allocations: 176.5 kB / 444.7 MB, free: 13.9 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3106, allocations: 4.062 kB / 444.7 MB, free: 13.89 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003929/0.3145, allocations: 0.9395 MB / 445.7 MB, free: 12.99 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (Pump.h) * Number of discrete variables: 2 ($cse1.phase,$cse1.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004628/0.3191, allocations: 1.137 MB / 446.8 MB, free: 11.97 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001566/0.3207, allocations: 0.5688 MB / 447.4 MB, free: 11.49 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3207, allocations: 0 / 447.4 MB, free: 11.49 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006812/0.3214, allocations: 232.9 kB / 447.6 MB, free: 11.3 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007128/0.3221, allocations: 116 kB / 447.7 MB, free: 11.22 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.3232, allocations: 0.7189 MB / 448.4 MB, free: 10.55 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.3233, allocations: 189.6 kB / 448.6 MB, free: 10.35 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001792/0.3235, allocations: 70.66 kB / 448.7 MB, free: 10.29 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.423e-05/0.3236, allocations: 32 kB / 448.7 MB, free: 10.26 MB / 330.7 MB Notification: Performance of SimCode: time 5.91e-07/0.3236, allocations: 0 / 448.7 MB, free: 10.26 MB / 330.7 MB Notification: Performance of Templates: time 0.05115/0.3747, allocations: 33.93 MB / 482.7 MB, free: 8.512 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.116594241000712]