Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumpMech.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.001424/0.001424, allocations: 84.34 kB / 20.95 MB, free: 3.445 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.00155/0.00155, allocations: 165.3 kB / 24.27 MB, free: 140 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.604/1.604, allocations: 177.1 MB / 204.6 MB, free: 5.605 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.1519/0.1519, allocations: 19.74 MB / 280.8 MB, free: 9.293 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.WaterPumpMech,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumpMech") translateModel(ThermoPower.Test.WaterComponents.WaterPumpMech,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumpMech") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 357.2 MB, free: 6.953 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.961e-05/3.146e-05, allocations: 2.312 kB / 357.2 MB, free: 6.949 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPumpMech): time 0.04627/0.0463, allocations: 32.74 MB / 389.9 MB, free: 6.09 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01302/0.05932, allocations: 7.815 MB / 397.8 MB, free: 14.24 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003667/0.05969, allocations: 23.81 kB / 397.8 MB, free: 14.22 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005896/0.06028, allocations: 170.6 kB / 397.9 MB, free: 14.05 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009916/0.06127, allocations: 369.4 kB / 398.3 MB, free: 13.69 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01301/0.07428, allocations: 4.607 MB / 402.9 MB, free: 9.066 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001473/0.07575, allocations: 0.9488 MB / 403.9 MB, free: 8.113 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006208/0.07637, allocations: 352.3 kB / 404.2 MB, free: 7.762 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001417/0.07779, allocations: 0.7056 MB / 404.9 MB, free: 7.055 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005276/0.07831, allocations: 319.1 kB / 405.2 MB, free: 6.742 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.528e-05/0.07841, allocations: 56 kB / 405.3 MB, free: 6.688 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.012/0.09041, allocations: 5.954 MB / 411.2 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000216/0.09063, allocations: 135.4 kB / 411.4 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005401/0.09117, allocations: 223.5 kB / 411.6 MB, free: 384 kB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1454/0.2366, allocations: 4.964 MB / 416.6 MB, free: 22.77 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2366, allocations: 0 / 416.6 MB, free: 22.77 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2366, allocations: 4.594 kB / 416.6 MB, free: 22.77 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.2366, allocations: 0 / 416.6 MB, free: 22.77 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.003565/0.2402, allocations: 1.205 MB / 417.8 MB, free: 22.12 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.2402, allocations: 9.875 kB / 417.8 MB, free: 22.12 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000332/0.2405, allocations: 135.7 kB / 417.9 MB, free: 22.08 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005064/0.241, allocations: 355.6 kB / 418.2 MB, free: 21.89 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.505e-05/0.2411, allocations: 152.8 kB / 418.4 MB, free: 21.77 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.379e-05/0.2412, allocations: 50.55 kB / 418.4 MB, free: 21.77 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009768/0.2422, allocations: 0.5599 MB / 419 MB, free: 21.66 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.2422, allocations: 1.5 kB / 419 MB, free: 21.66 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.694e-05/0.2423, allocations: 24.09 kB / 419 MB, free: 21.66 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.2423, allocations: 14.81 kB / 419 MB, free: 21.66 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009365/0.2432, allocations: 421.2 kB / 419.5 MB, free: 21.66 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.002088/0.2453, allocations: 1.481 MB / 420.9 MB, free: 21.06 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006988/0.246, allocations: 317.6 kB / 421.2 MB, free: 21.04 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003711/0.2464, allocations: 176.8 kB / 421.4 MB, free: 21.02 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05373/0.3001, allocations: 17.54 MB / 439 MB, free: 18.07 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.136e-05/0.3001, allocations: 38 kB / 439 MB, free: 18.03 MB / 330.7 MB Notification: Performance of pre-optimization done (n=35): time 2.024e-06/0.3001, allocations: 0 / 439 MB, free: 18.03 MB / 330.7 MB Notification: Performance of matching and sorting (n=38): time 0.004322/0.3045, allocations: 1.558 MB / 440.6 MB, free: 16.73 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.896e-05/0.3045, allocations: 55.41 kB / 440.6 MB, free: 16.66 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002317/0.3047, allocations: 314.6 kB / 440.9 MB, free: 16.41 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.3047, allocations: 36.95 kB / 440.9 MB, free: 16.37 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.216e-05/0.3048, allocations: 266.7 kB / 441.2 MB, free: 16.16 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.084e-05/0.3049, allocations: 140.1 kB / 441.3 MB, free: 16.04 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.305, allocations: 76.81 kB / 441.4 MB, free: 15.99 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.974e-05/0.305, allocations: 346.6 kB / 441.8 MB, free: 15.66 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003425/0.3054, allocations: 154.1 kB / 441.9 MB, free: 15.55 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003418/0.3057, allocations: 206.7 kB / 442.1 MB, free: 15.37 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006755/0.3064, allocations: 363.2 kB / 442.5 MB, free: 15.11 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3064, allocations: 0 / 442.5 MB, free: 15.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001026/0.3074, allocations: 0.5146 MB / 443 MB, free: 14.73 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.3075, allocations: 11.94 kB / 443 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3075, allocations: 0 / 443 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005829/0.308, allocations: 129.7 kB / 443.1 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003632/0.3084, allocations: 89.73 kB / 443.2 MB, free: 14.53 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005861/0.309, allocations: 0.6605 MB / 443.9 MB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003099/0.3093, allocations: 32.23 kB / 443.9 MB, free: 13.87 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/0.3093, allocations: 19.92 kB / 443.9 MB, free: 13.85 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003691/0.3097, allocations: 248.8 kB / 444.2 MB, free: 13.67 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002789/0.31, allocations: 183.2 kB / 444.3 MB, free: 13.51 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005435/0.3105, allocations: 331.2 kB / 444.7 MB, free: 13.27 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.014e-06/0.3105, allocations: 3.938 kB / 444.7 MB, free: 13.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=48) (initialization_lambda0): time 0.0008839/0.3114, allocations: 479.6 kB / 445.1 MB, free: 12.91 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.684e-06/0.3114, allocations: 4 kB / 445.1 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.3114, allocations: 4 kB / 445.1 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002082/0.3116, allocations: 65.66 kB / 445.2 MB, free: 12.85 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003397/0.312, allocations: 96.98 kB / 445.3 MB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001297/0.3133, allocations: 1.642 MB / 446.9 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002745/0.3135, allocations: 23.92 kB / 447 MB, free: 11.17 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.532e-05/0.3136, allocations: 15.69 kB / 447 MB, free: 11.16 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (41): * Single equations (assignments): 40 * 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,6)} Notification: Performance of prepare postOptimizeDAE: time 9.363e-05/0.3137, allocations: 202.8 kB / 447.2 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.921e-05/0.3137, allocations: 55.28 kB / 447.2 MB, free: 10.92 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001143/0.3149, allocations: 0.7169 MB / 448 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/0.3149, allocations: 10.3 kB / 448 MB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.3149, allocations: 3.938 kB / 448 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.3149, allocations: 0.9844 kB / 448 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001818/0.3167, allocations: 1.289 MB / 449.3 MB, free: 9.441 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.3167, allocations: 2.938 kB / 449.3 MB, free: 9.441 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003572/0.3171, allocations: 83.25 kB / 449.3 MB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004906/0.3176, allocations: 272.9 kB / 449.6 MB, free: 9.141 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.756e-05/0.3176, allocations: 16.61 kB / 449.6 MB, free: 9.133 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008255/0.3184, allocations: 0.9217 MB / 450.5 MB, free: 8.328 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.3184, allocations: 8.016 kB / 450.6 MB, free: 8.32 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001517/0.3199, allocations: 1.018 MB / 451.6 MB, free: 7.566 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.3201, allocations: 74.23 kB / 451.6 MB, free: 7.512 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.438e-05/0.3201, allocations: 7.312 kB / 451.7 MB, free: 7.508 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003021/0.3204, allocations: 29.34 kB / 451.7 MB, free: 7.484 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.208e-05/0.3205, allocations: 34.56 kB / 451.7 MB, free: 7.457 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.633e-05/0.3205, allocations: 15.88 kB / 451.7 MB, free: 7.445 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001439/0.3207, allocations: 213.9 kB / 451.9 MB, free: 7.27 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3207, allocations: 2.297 kB / 451.9 MB, free: 7.27 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003237/0.3239, allocations: 0.9811 MB / 452.9 MB, free: 6.336 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (Pump.h,SimpleMotor1.L.i,SimpleMotor1.Damper.phi_rel,SimpleMotor1.Damper.w_rel) * Number of discrete variables: 2 ($cse2.phase,$cse2.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * 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: 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 Backend phase and start with SimCode phase: time 0.0041/0.328, allocations: 1.149 MB / 454.1 MB, free: 5.297 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001509/0.3295, allocations: 0.6917 MB / 454.8 MB, free: 4.754 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3295, allocations: 0.5625 kB / 454.8 MB, free: 4.754 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007009/0.3302, allocations: 297.3 kB / 455.1 MB, free: 4.527 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007472/0.331, allocations: 137.8 kB / 455.2 MB, free: 4.434 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/0.3325, allocations: 1.169 MB / 456.4 MB, free: 3.344 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001574/0.3327, allocations: 255.2 kB / 456.6 MB, free: 3.07 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002496/0.333, allocations: 88.28 kB / 456.7 MB, free: 2.98 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.928e-05/0.3331, allocations: 40.06 kB / 456.7 MB, free: 2.945 MB / 330.7 MB Notification: Performance of SimCode: time 7.32e-07/0.3331, allocations: 0 / 456.7 MB, free: 2.945 MB / 330.7 MB Notification: Performance of Templates: time 0.0548/0.3879, allocations: 34.74 MB / 491.5 MB, free: 436 kB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumpMech.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumpMech.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumpMech.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumpMech.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumpMech.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumpMech -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumpMech.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.308753722929396]