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.001781/0.001781, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001887/0.001887, 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.559/1.559, 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.1538/0.1538, allocations: 19.74 MB / 280.8 MB, free: 9.289 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.834e-06/1.834e-06, allocations: 0 / 357.2 MB, free: 6.953 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.996e-05/3.179e-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.06993/0.06996, allocations: 36.56 MB / 393.8 MB, free: 2.262 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01445/0.08441, allocations: 8.583 MB / 402.4 MB, free: 9.645 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000435/0.08485, allocations: 27.75 kB / 402.4 MB, free: 9.617 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000615/0.08546, allocations: 170.6 kB / 402.5 MB, free: 9.449 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001049/0.08651, allocations: 369.4 kB / 402.9 MB, free: 9.086 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01314/0.09965, allocations: 4.596 MB / 407.5 MB, free: 4.473 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001721/0.1014, allocations: 0.9488 MB / 408.5 MB, free: 3.52 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006525/0.102, allocations: 364.3 kB / 408.8 MB, free: 3.156 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00137/0.1034, allocations: 0.6978 MB / 409.5 MB, free: 2.457 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005652/0.104, allocations: 323.1 kB / 409.8 MB, free: 2.141 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00011/0.1041, allocations: 56 kB / 409.9 MB, free: 2.086 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1525/0.2566, allocations: 5.948 MB / 415.8 MB, free: 21.25 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001883/0.2568, allocations: 136.6 kB / 416 MB, free: 21.25 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004023/0.2572, allocations: 223.3 kB / 416.2 MB, free: 21.25 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01035/0.2675, allocations: 4.976 MB / 421.2 MB, free: 21.21 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.2675, allocations: 0 / 421.2 MB, free: 21.21 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2675, allocations: 2.531 kB / 421.2 MB, free: 21.21 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.2676, allocations: 0 / 421.2 MB, free: 21.21 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.003907/0.2715, allocations: 1.341 MB / 422.5 MB, free: 20.45 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.2715, allocations: 10.19 kB / 422.5 MB, free: 20.45 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003375/0.2718, allocations: 131.5 kB / 422.6 MB, free: 20.41 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000514/0.2724, allocations: 351.6 kB / 423 MB, free: 20.22 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.2725, allocations: 146 kB / 423.1 MB, free: 20.1 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.311e-05/0.2725, allocations: 57.3 kB / 423.2 MB, free: 20.09 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009874/0.2735, allocations: 0.5782 MB / 423.8 MB, free: 19.98 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/0.2736, allocations: 1.719 kB / 423.8 MB, free: 19.98 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.606e-05/0.2736, allocations: 21.28 kB / 423.8 MB, free: 19.97 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.2736, allocations: 16.97 kB / 423.8 MB, free: 19.97 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008654/0.2745, allocations: 386.8 kB / 424.2 MB, free: 19.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.002392/0.2769, allocations: 1.867 MB / 426 MB, free: 19.15 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005875/0.2775, allocations: 333.7 kB / 426.4 MB, free: 19.11 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002935/0.2778, allocations: 162.5 kB / 426.5 MB, free: 19.09 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0582/0.336, allocations: 17.55 MB / 444.1 MB, free: 12.74 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.336, allocations: 37.33 kB / 444.1 MB, free: 12.7 MB / 330.7 MB Notification: Performance of pre-optimization done (n=35): time 2.244e-06/0.336, allocations: 0 / 444.1 MB, free: 12.7 MB / 330.7 MB Notification: Performance of matching and sorting (n=38): time 0.003991/0.34, allocations: 1.463 MB / 445.6 MB, free: 11.46 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/0.34, allocations: 58.69 kB / 445.6 MB, free: 11.39 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002956/0.3403, allocations: 420.1 kB / 446 MB, free: 11.04 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.3403, allocations: 36.02 kB / 446.1 MB, free: 11.01 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.3404, allocations: 327.3 kB / 446.4 MB, free: 10.75 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.87e-05/0.3405, allocations: 150.2 kB / 446.5 MB, free: 10.62 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.3406, allocations: 92.72 kB / 446.6 MB, free: 10.56 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.3407, allocations: 0.539 MB / 447.2 MB, free: 10.04 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002843/0.341, allocations: 133.2 kB / 447.3 MB, free: 9.934 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003113/0.3413, allocations: 225.3 kB / 447.5 MB, free: 9.73 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000583/0.3419, allocations: 381 kB / 447.9 MB, free: 9.441 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3419, allocations: 0 / 447.9 MB, free: 9.441 MB / 330.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009166/0.3428, allocations: 0.4905 MB / 448.4 MB, free: 9.062 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.3429, allocations: 11.94 kB / 448.4 MB, free: 9.051 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3429, allocations: 1.422 kB / 448.4 MB, free: 9.051 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005891/0.3435, allocations: 133.4 kB / 448.5 MB, free: 8.941 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003457/0.3438, allocations: 82.2 kB / 448.6 MB, free: 8.867 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006067/0.3444, allocations: 0.9172 MB / 449.5 MB, free: 7.961 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002908/0.3447, allocations: 27.14 kB / 449.5 MB, free: 7.941 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.562e-05/0.3447, allocations: 14.38 kB / 449.6 MB, free: 7.93 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003494/0.3451, allocations: 292.4 kB / 449.8 MB, free: 7.699 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002524/0.3453, allocations: 206 kB / 450 MB, free: 7.516 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004802/0.3458, allocations: 335.9 kB / 450.4 MB, free: 7.262 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.765e-06/0.3458, allocations: 3.938 kB / 450.4 MB, free: 7.258 MB / 330.7 MB Notification: Performance of matching and sorting (n=48) (initialization_lambda0): time 0.0008228/0.3466, allocations: 455.7 kB / 450.8 MB, free: 6.918 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.858e-06/0.3467, allocations: 12.16 kB / 450.8 MB, free: 6.906 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-06/0.3467, allocations: 0 / 450.8 MB, free: 6.906 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002195/0.3469, allocations: 68.55 kB / 450.9 MB, free: 6.848 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003205/0.3472, allocations: 85.86 kB / 451 MB, free: 6.773 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001531/0.3487, allocations: 2.248 MB / 453.2 MB, free: 4.559 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002583/0.349, allocations: 25.92 kB / 453.3 MB, free: 4.543 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.659e-05/0.349, allocations: 15.88 kB / 453.3 MB, free: 4.531 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 0.0001273/0.3491, allocations: 288.5 kB / 453.6 MB, free: 4.258 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.185e-05/0.3492, allocations: 51.27 kB / 453.6 MB, free: 4.215 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009741/0.3502, allocations: 0.5685 MB / 454.2 MB, free: 3.77 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.3502, allocations: 11.92 kB / 454.2 MB, free: 3.762 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.3502, allocations: 3.938 kB / 454.2 MB, free: 3.758 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.3502, allocations: 5.094 kB / 454.2 MB, free: 3.754 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001754/0.352, allocations: 1.246 MB / 455.4 MB, free: 2.738 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.352, allocations: 0 / 455.4 MB, free: 2.738 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003333/0.3523, allocations: 79.23 kB / 455.5 MB, free: 2.668 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004598/0.3528, allocations: 232.5 kB / 455.7 MB, free: 2.461 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.672e-05/0.3528, allocations: 11.36 kB / 455.8 MB, free: 2.453 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007124/0.3535, allocations: 1.038 MB / 456.8 MB, free: 1.438 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3535, allocations: 5.078 kB / 456.8 MB, free: 1.434 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/0.3548, allocations: 0.883 MB / 457.7 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.3549, allocations: 67.67 kB / 457.7 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.144e-05/0.3549, allocations: 8 kB / 457.8 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002582/0.3552, allocations: 23.98 kB / 457.8 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.554e-05/0.3553, allocations: 37.77 kB / 457.8 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.582e-05/0.3553, allocations: 12 kB / 457.8 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000175/0.3555, allocations: 275.1 kB / 458.1 MB, free: 252 kB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3555, allocations: 0.9844 kB / 458.1 MB, free: 252 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.003698/0.3592, allocations: 0.9827 MB / 459.1 MB, free: 15.26 MB / 346.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.004701/0.3639, allocations: 1.144 MB / 460.2 MB, free: 14.21 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001774/0.3657, allocations: 0.7761 MB / 461 MB, free: 13.43 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3657, allocations: 0 / 461 MB, free: 13.43 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007286/0.3664, allocations: 258.4 kB / 461.3 MB, free: 13.17 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009331/0.3673, allocations: 140.5 kB / 461.4 MB, free: 13.04 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002511/0.3698, allocations: 1.207 MB / 462.6 MB, free: 11.81 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.3701, allocations: 259.2 kB / 462.9 MB, free: 11.53 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002824/0.3704, allocations: 83.19 kB / 462.9 MB, free: 11.45 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.3705, allocations: 36.5 kB / 463 MB, free: 11.41 MB / 346.7 MB Notification: Performance of SimCode: time 6.31e-07/0.3705, allocations: 0 / 463 MB, free: 11.41 MB / 346.7 MB Notification: Performance of Templates: time 0.06099/0.4315, allocations: 35.4 MB / 498.4 MB, free: 8.234 MB / 378.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=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumpMech.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.3955241199582815]