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.0009276/0.0009276, allocations: 75.75 kB / 21.69 MB, free: 2.852 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.00091/0.00091, allocations: 162.2 kB / 24.99 MB, free: 8.746 MB / 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.9863/0.9863, allocations: 177.1 MB / 205.3 MB, free: 5.605 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.08528/0.08528, allocations: 19.73 MB / 281.5 MB, free: 9.301 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.533e-06/1.533e-06, allocations: 0 / 357.9 MB, free: 6.938 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.799e-05/1.953e-05, allocations: 6.312 kB / 358 MB, free: 6.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPumpMech): time 0.03128/0.0313, allocations: 36.66 MB / 394.6 MB, free: 2.141 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00956/0.04086, allocations: 8.587 MB / 403.2 MB, free: 9.52 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003692/0.04123, allocations: 23.81 kB / 403.2 MB, free: 9.496 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005337/0.04176, allocations: 174.5 kB / 403.4 MB, free: 9.324 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007902/0.04255, allocations: 373.4 kB / 403.8 MB, free: 8.957 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008946/0.0515, allocations: 4.604 MB / 408.4 MB, free: 4.336 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008385/0.05234, allocations: 0.9449 MB / 409.3 MB, free: 3.387 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004193/0.05276, allocations: 352.3 kB / 409.6 MB, free: 3.035 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008959/0.05365, allocations: 0.6978 MB / 410.3 MB, free: 2.336 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003935/0.05405, allocations: 335 kB / 410.7 MB, free: 2.008 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.959e-05/0.05412, allocations: 56 kB / 410.7 MB, free: 1.953 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1368/0.1909, allocations: 5.944 MB / 416.7 MB, free: 21.37 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000166/0.1911, allocations: 132.6 kB / 416.8 MB, free: 21.37 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003266/0.1914, allocations: 224.6 kB / 417 MB, free: 21.37 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006596/0.198, allocations: 4.734 MB / 421.8 MB, free: 21.33 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.198, allocations: 3.625 kB / 421.8 MB, free: 21.33 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.198, allocations: 1.25 kB / 421.8 MB, free: 21.33 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.451e-05/0.198, allocations: 0 / 421.8 MB, free: 21.33 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.003007/0.201, allocations: 1.299 MB / 423.1 MB, free: 20.57 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.2011, allocations: 11.34 kB / 423.1 MB, free: 20.57 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003049/0.2014, allocations: 130.6 kB / 423.2 MB, free: 20.53 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004123/0.2018, allocations: 359 kB / 423.5 MB, free: 20.34 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.966e-05/0.2019, allocations: 142.6 kB / 423.7 MB, free: 20.22 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.984e-05/0.2019, allocations: 51.48 kB / 423.7 MB, free: 20.21 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006423/0.2026, allocations: 476 kB / 424.2 MB, free: 20.08 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.2026, allocations: 4.5 kB / 424.2 MB, free: 20.08 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.468e-05/0.2026, allocations: 26.41 kB / 424.2 MB, free: 20.08 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/0.2026, allocations: 12.66 kB / 424.2 MB, free: 20.08 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004132/0.2031, allocations: 217.2 kB / 424.5 MB, free: 20.07 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.001663/0.2047, allocations: 1.613 MB / 426.1 MB, free: 19.27 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003662/0.2051, allocations: 220.5 kB / 426.3 MB, free: 19.23 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.2052, allocations: 105.7 kB / 426.4 MB, free: 19.22 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02779/0.233, allocations: 17.54 MB / 443.9 MB, free: 13.37 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.233, allocations: 40.77 kB / 444 MB, free: 13.32 MB / 330.7 MB Notification: Performance of pre-optimization done (n=35): time 2.094e-06/0.233, allocations: 0 / 444 MB, free: 13.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=38): time 0.002102/0.2351, allocations: 1.145 MB / 445.1 MB, free: 12.28 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.801e-05/0.2352, allocations: 55.41 kB / 445.2 MB, free: 12.21 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.2353, allocations: 348.5 kB / 445.5 MB, free: 11.9 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.2354, allocations: 37.52 kB / 445.5 MB, free: 11.86 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.392e-05/0.2355, allocations: 313.6 kB / 445.8 MB, free: 11.61 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.448e-05/0.2355, allocations: 144 kB / 446 MB, free: 11.48 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.075e-05/0.2356, allocations: 77.41 kB / 446.1 MB, free: 11.43 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.135e-05/0.2357, allocations: 0.5158 MB / 446.6 MB, free: 10.91 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.2358, allocations: 82.08 kB / 446.7 MB, free: 10.84 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.2359, allocations: 148.6 kB / 446.8 MB, free: 10.68 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002306/0.2361, allocations: 227.6 kB / 447 MB, free: 10.48 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2361, allocations: 0 / 447 MB, free: 10.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004139/0.2365, allocations: 365.2 kB / 447.4 MB, free: 10.18 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.2366, allocations: 9.688 kB / 447.4 MB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.2366, allocations: 4 kB / 447.4 MB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003232/0.2369, allocations: 94.41 kB / 447.5 MB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000197/0.2371, allocations: 81.98 kB / 447.6 MB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003159/0.2374, allocations: 0.8696 MB / 448.4 MB, free: 9.133 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/0.2375, allocations: 26.86 kB / 448.5 MB, free: 9.117 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.403e-05/0.2376, allocations: 15.62 kB / 448.5 MB, free: 9.105 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00016/0.2377, allocations: 194.3 kB / 448.7 MB, free: 8.922 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001025/0.2378, allocations: 137.6 kB / 448.8 MB, free: 8.77 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001909/0.238, allocations: 224.8 kB / 449 MB, free: 8.574 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.813e-06/0.238, allocations: 3.938 kB / 449 MB, free: 8.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=48) (initialization_lambda0): time 0.0003631/0.2384, allocations: 341.1 kB / 449.4 MB, free: 8.289 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.715e-06/0.2384, allocations: 8 kB / 449.4 MB, free: 8.281 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-06/0.2384, allocations: 0 / 449.4 MB, free: 8.281 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001178/0.2385, allocations: 63.67 kB / 449.4 MB, free: 8.223 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/0.2387, allocations: 87.02 kB / 449.5 MB, free: 8.145 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009138/0.2396, allocations: 2.15 MB / 451.7 MB, free: 5.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.2397, allocations: 29.2 kB / 451.7 MB, free: 5.961 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.2397, allocations: 12 kB / 451.7 MB, free: 5.949 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 7.861e-05/0.2398, allocations: 288.6 kB / 452 MB, free: 5.68 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.951e-05/0.2399, allocations: 56.45 kB / 452 MB, free: 5.633 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004396/0.2403, allocations: 466 kB / 452.5 MB, free: 5.254 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.2403, allocations: 8 kB / 452.5 MB, free: 5.246 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.2403, allocations: 3.938 kB / 452.5 MB, free: 5.242 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.2403, allocations: 7.984 kB / 452.5 MB, free: 5.234 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008692/0.2412, allocations: 1.023 MB / 453.5 MB, free: 4.344 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.2412, allocations: 0 / 453.5 MB, free: 4.344 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001801/0.2414, allocations: 79.77 kB / 453.6 MB, free: 4.273 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002094/0.2416, allocations: 202.5 kB / 453.8 MB, free: 4.082 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/0.2416, allocations: 14.36 kB / 453.8 MB, free: 4.074 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003489/0.2419, allocations: 0.9966 MB / 454.8 MB, free: 3.082 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.242, allocations: 2.906 kB / 454.8 MB, free: 3.082 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000538/0.2425, allocations: 0.6822 MB / 455.5 MB, free: 2.434 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.978e-05/0.2426, allocations: 68.38 kB / 455.6 MB, free: 2.383 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.844e-05/0.2426, allocations: 13.19 kB / 455.6 MB, free: 2.379 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.2427, allocations: 18.86 kB / 455.6 MB, free: 2.363 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.285e-05/0.2428, allocations: 38.25 kB / 455.6 MB, free: 2.336 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.2428, allocations: 15.56 kB / 455.7 MB, free: 2.324 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.712e-05/0.2429, allocations: 239.9 kB / 455.9 MB, free: 2.113 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2429, allocations: 0 / 455.9 MB, free: 2.113 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.005973/0.2489, allocations: 0.9803 MB / 456.9 MB, free: 1.18 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.004955/0.2538, allocations: 1.144 MB / 458 MB, free: 160 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001257/0.2551, allocations: 0.5809 MB / 458.6 MB, free: 15.61 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.2551, allocations: 0 / 458.6 MB, free: 15.61 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004815/0.2556, allocations: 201.7 kB / 458.8 MB, free: 15.43 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007938/0.2564, allocations: 135.6 kB / 458.9 MB, free: 15.34 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002562/0.2589, allocations: 1.169 MB / 460.1 MB, free: 14.2 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001113/0.259, allocations: 127.5 kB / 460.2 MB, free: 14.06 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002676/0.2593, allocations: 82.59 kB / 460.3 MB, free: 13.98 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.2594, allocations: 41.67 kB / 460.3 MB, free: 13.94 MB / 346.7 MB Notification: Performance of SimCode: time 1.262e-06/0.2594, allocations: 0 / 460.3 MB, free: 13.94 MB / 346.7 MB Notification: Performance of Templates: time 0.03564/0.2951, allocations: 35.41 MB / 495.8 MB, free: 10.79 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: 4.386914897011593]