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.001358/0.001358, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001565/0.001565, allocations: 165 kB / 24.56 MB, free: 12 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 0.9171/0.9171, allocations: 177.1 MB / 205 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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.09123/0.09123, allocations: 19.74 MB / 281.2 MB, free: 9.281 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.202e-06/1.202e-06, allocations: 0 / 358 MB, free: 6.602 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.404e-05/2.524e-05, allocations: 6.25 kB / 358 MB, free: 6.594 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPumpMech): time 0.02067/0.02069, allocations: 22.71 MB / 380.7 MB, free: 15.8 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00808/0.02877, allocations: 8.598 MB / 389.3 MB, free: 7.168 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004339/0.02921, allocations: 23.81 kB / 389.3 MB, free: 7.145 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005159/0.02972, allocations: 166.5 kB / 389.5 MB, free: 6.98 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007979/0.03052, allocations: 361.5 kB / 389.8 MB, free: 6.625 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009125/0.03964, allocations: 4.608 MB / 394.4 MB, free: 2 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00115/0.04079, allocations: 0.9488 MB / 395.4 MB, free: 1.047 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005566/0.04135, allocations: 356.3 kB / 395.7 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009559/0.04231, allocations: 0.7056 MB / 396.4 MB, free: 15.98 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003585/0.04267, allocations: 335 kB / 396.8 MB, free: 15.66 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.196e-05/0.04273, allocations: 56 kB / 396.8 MB, free: 15.6 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007579/0.05031, allocations: 5.946 MB / 402.8 MB, free: 9.648 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001458/0.05045, allocations: 135.5 kB / 402.9 MB, free: 9.516 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002634/0.05072, allocations: 219.5 kB / 403.1 MB, free: 9.301 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007361/0.05808, allocations: 4.751 MB / 407.9 MB, free: 4.539 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.05808, allocations: 4 kB / 407.9 MB, free: 4.535 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.05809, allocations: 0 / 407.9 MB, free: 4.535 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.0581, allocations: 0 / 407.9 MB, free: 4.535 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.002317/0.06041, allocations: 1.296 MB / 409.2 MB, free: 3.195 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.06045, allocations: 8.031 kB / 409.2 MB, free: 3.188 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002528/0.0607, allocations: 128.4 kB / 409.3 MB, free: 3.062 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004082/0.06111, allocations: 362.7 kB / 409.6 MB, free: 2.676 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.815e-05/0.06121, allocations: 140.4 kB / 409.8 MB, free: 2.516 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.789e-05/0.06127, allocations: 52.33 kB / 409.8 MB, free: 2.465 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006085/0.06188, allocations: 482 kB / 410.3 MB, free: 1.961 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.06189, allocations: 7.938 kB / 410.3 MB, free: 1.953 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.28e-05/0.06193, allocations: 20 kB / 410.3 MB, free: 1.934 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.06194, allocations: 12 kB / 410.3 MB, free: 1.922 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003485/0.06229, allocations: 217.8 kB / 410.6 MB, free: 1.707 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.1192/0.1815, allocations: 1.678 MB / 412.2 MB, free: 39.96 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004705/0.182, allocations: 210.9 kB / 412.4 MB, free: 39.93 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.1821, allocations: 95.03 kB / 412.5 MB, free: 39.92 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02743/0.2095, allocations: 17.52 MB / 430.1 MB, free: 38.58 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.2096, allocations: 41.14 kB / 430.1 MB, free: 38.54 MB / 330.7 MB Notification: Performance of pre-optimization done (n=33): time 2.004e-06/0.2096, allocations: 0 / 430.1 MB, free: 38.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=35): time 0.001939/0.2115, allocations: 1.104 MB / 431.2 MB, free: 37.72 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.102e-05/0.2115, allocations: 57.38 kB / 431.3 MB, free: 37.66 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.2117, allocations: 356.8 kB / 431.6 MB, free: 37.38 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.2118, allocations: 35.41 kB / 431.6 MB, free: 37.35 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.2119, allocations: 317.8 kB / 431.9 MB, free: 37.14 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.258e-05/0.2119, allocations: 134.2 kB / 432.1 MB, free: 37.05 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.331e-05/0.212, allocations: 76.97 kB / 432.2 MB, free: 37 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.943e-05/0.2121, allocations: 0.516 MB / 432.7 MB, free: 36.5 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.2122, allocations: 71.94 kB / 432.7 MB, free: 36.45 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.2123, allocations: 157.8 kB / 432.9 MB, free: 36.29 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002117/0.2125, allocations: 231.1 kB / 433.1 MB, free: 36.1 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2125, allocations: 3.75 kB / 433.1 MB, free: 36.1 MB / 330.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003822/0.2129, allocations: 355.6 kB / 433.5 MB, free: 35.84 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.2129, allocations: 9.641 kB / 433.5 MB, free: 35.83 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.2129, allocations: 0 / 433.5 MB, free: 35.83 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000294/0.2132, allocations: 97.22 kB / 433.6 MB, free: 35.76 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001885/0.2134, allocations: 77.25 kB / 433.7 MB, free: 35.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003077/0.2137, allocations: 0.8793 MB / 434.5 MB, free: 34.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.2138, allocations: 17.55 kB / 434.5 MB, free: 34.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.252e-05/0.2138, allocations: 15.69 kB / 434.6 MB, free: 34.81 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001431/0.214, allocations: 194.4 kB / 434.8 MB, free: 34.63 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.942e-05/0.2141, allocations: 143.8 kB / 434.9 MB, free: 34.47 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001802/0.2143, allocations: 223.9 kB / 435.1 MB, free: 34.27 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.032e-06/0.2143, allocations: 0 / 435.1 MB, free: 34.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=46) (initialization_lambda0): time 0.0003622/0.2146, allocations: 348 kB / 435.5 MB, free: 33.98 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.2146, allocations: 4 kB / 435.5 MB, free: 33.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.755e-06/0.2146, allocations: 4 kB / 435.5 MB, free: 33.97 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001182/0.2148, allocations: 57.73 kB / 435.5 MB, free: 33.92 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.2149, allocations: 89.09 kB / 435.6 MB, free: 33.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008965/0.2158, allocations: 2.146 MB / 437.8 MB, free: 31.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.2159, allocations: 15.06 kB / 437.8 MB, free: 31.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.216, allocations: 19.86 kB / 437.8 MB, free: 31.66 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (39): * Single equations (assignments): 38 * 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 8.28e-05/0.216, allocations: 291.3 kB / 438.1 MB, free: 31.38 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.729e-05/0.2161, allocations: 51.45 kB / 438.1 MB, free: 31.34 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004167/0.2165, allocations: 446 kB / 438.6 MB, free: 30.96 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.2165, allocations: 6.312 kB / 438.6 MB, free: 30.96 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.2165, allocations: 0 / 438.6 MB, free: 30.96 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.2165, allocations: 11.98 kB / 438.6 MB, free: 30.95 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008319/0.2174, allocations: 0.9844 MB / 439.6 MB, free: 30.1 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.89e-06/0.2174, allocations: 0 / 439.6 MB, free: 30.1 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001811/0.2175, allocations: 73.55 kB / 439.6 MB, free: 30.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002204/0.2178, allocations: 210.6 kB / 439.8 MB, free: 29.85 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.202e-05/0.2178, allocations: 11.81 kB / 439.8 MB, free: 29.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000379/0.2182, allocations: 0.9882 MB / 440.8 MB, free: 28.85 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2182, allocations: 1.422 kB / 440.8 MB, free: 28.85 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000513/0.2187, allocations: 0.6487 MB / 441.5 MB, free: 28.24 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.458e-05/0.2187, allocations: 67.73 kB / 441.6 MB, free: 28.2 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/0.2188, allocations: 7.625 kB / 441.6 MB, free: 28.19 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.2189, allocations: 19.64 kB / 441.6 MB, free: 28.18 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.106e-05/0.219, allocations: 43.81 kB / 441.6 MB, free: 28.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.219, allocations: 8 kB / 441.6 MB, free: 28.14 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.639e-05/0.2191, allocations: 243.7 kB / 441.9 MB, free: 27.93 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2191, allocations: 0 / 441.9 MB, free: 27.93 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001791/0.2209, allocations: 0.976 MB / 442.8 MB, free: 27.07 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (29): * Single equations (assignments): 28 * 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.002463/0.2233, allocations: 1.14 MB / 444 MB, free: 26.04 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006388/0.224, allocations: 0.5511 MB / 444.5 MB, free: 25.52 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.224, allocations: 4 kB / 444.5 MB, free: 25.52 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002416/0.2242, allocations: 192.6 kB / 444.7 MB, free: 25.35 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004105/0.2246, allocations: 134.7 kB / 444.9 MB, free: 25.26 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.226, allocations: 1.143 MB / 446 MB, free: 24.16 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.389e-05/0.2261, allocations: 124 kB / 446.1 MB, free: 24.02 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001632/0.2263, allocations: 86.67 kB / 446.2 MB, free: 23.94 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.394e-05/0.2263, allocations: 35.75 kB / 446.2 MB, free: 23.9 MB / 330.7 MB Notification: Performance of SimCode: time 1.252e-06/0.2263, allocations: 4 kB / 446.2 MB, free: 23.9 MB / 330.7 MB Notification: Performance of Templates: time 0.03555/0.2619, allocations: 40.4 MB / 486.6 MB, free: 15.72 MB / 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=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumpMech.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.753052846994251]