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.0008964/0.0008964, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.001187/0.001187, allocations: 170.3 kB / 24.91 MB, free: 9.195 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.9608/0.9608, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.09511/0.09511, allocations: 19.74 MB / 281.6 MB, free: 9.152 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.513e-06/1.513e-06, allocations: 0 / 305.2 MB, free: 13.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.019e-05/2.17e-05, allocations: 2.969 kB / 305.2 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPumpMech): time 0.022/0.02203, allocations: 22.59 MB / 327.8 MB, free: 7.641 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009587/0.03161, allocations: 8.601 MB / 336.4 MB, free: 15 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004406/0.03205, allocations: 23.88 kB / 336.4 MB, free: 14.98 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005077/0.03256, allocations: 154.6 kB / 336.6 MB, free: 14.82 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009038/0.03346, allocations: 369.4 kB / 336.9 MB, free: 14.46 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01094/0.0444, allocations: 4.63 MB / 341.5 MB, free: 9.816 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001102/0.04551, allocations: 0.9527 MB / 342.5 MB, free: 8.859 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004965/0.046, allocations: 353 kB / 342.8 MB, free: 8.504 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009332/0.04694, allocations: 0.6861 MB / 343.5 MB, free: 7.816 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003952/0.04733, allocations: 311.1 kB / 343.8 MB, free: 7.512 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.639e-05/0.0474, allocations: 56 kB / 343.9 MB, free: 7.457 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008606/0.056, allocations: 5.958 MB / 349.8 MB, free: 1.492 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001667/0.05617, allocations: 139.5 kB / 350 MB, free: 1.355 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003271/0.0565, allocations: 215.5 kB / 350.2 MB, free: 1.145 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008822/0.06532, allocations: 4.743 MB / 354.9 MB, free: 12.39 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.06532, allocations: 0 / 354.9 MB, free: 12.39 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.06532, allocations: 3.938 kB / 354.9 MB, free: 12.39 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.06534, allocations: 4 kB / 354.9 MB, free: 12.38 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.002549/0.06788, allocations: 1.179 MB / 356.1 MB, free: 11.17 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.06792, allocations: 8.031 kB / 356.1 MB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002301/0.06815, allocations: 112.7 kB / 356.2 MB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000402/0.06855, allocations: 305.3 kB / 356.5 MB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.06866, allocations: 144.4 kB / 356.7 MB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.918e-05/0.06872, allocations: 48.38 kB / 356.7 MB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005105/0.06923, allocations: 442.5 kB / 357.2 MB, free: 10.06 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.06924, allocations: 3.938 kB / 357.2 MB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.956e-05/0.06927, allocations: 20 kB / 357.2 MB, free: 10.04 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.06928, allocations: 12 kB / 357.2 MB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002383/0.06952, allocations: 158.8 kB / 357.3 MB, free: 9.867 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.001452/0.07097, allocations: 1.234 MB / 358.6 MB, free: 8.586 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000551/0.07152, allocations: 174.1 kB / 358.7 MB, free: 8.41 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.923e-05/0.0716, allocations: 72.81 kB / 358.8 MB, free: 8.336 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1125/0.1841, allocations: 58.35 MB / 417.2 MB, free: 13.93 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/0.1841, allocations: 38.5 kB / 417.2 MB, free: 13.88 MB / 394.7 MB Notification: Performance of pre-optimization done (n=33): time 2.495e-06/0.1841, allocations: 0 / 417.2 MB, free: 13.88 MB / 394.7 MB Notification: Performance of matching and sorting (n=35): time 0.002099/0.1862, allocations: 0.8933 MB / 418.1 MB, free: 12.93 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.1863, allocations: 55.41 kB / 418.2 MB, free: 12.87 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/0.1865, allocations: 299.3 kB / 418.4 MB, free: 12.56 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.1865, allocations: 29.7 kB / 418.5 MB, free: 12.53 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.1866, allocations: 244.9 kB / 418.7 MB, free: 12.28 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.014e-05/0.1867, allocations: 126.9 kB / 418.8 MB, free: 12.16 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.982e-05/0.1868, allocations: 77.98 kB / 418.9 MB, free: 12.07 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.1869, allocations: 350.7 kB / 419.3 MB, free: 11.72 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.424e-05/0.187, allocations: 50.33 kB / 419.3 MB, free: 11.67 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.1871, allocations: 104.1 kB / 419.4 MB, free: 11.55 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002141/0.1873, allocations: 198.3 kB / 419.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1873, allocations: 0 / 419.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003748/0.1877, allocations: 246 kB / 419.8 MB, free: 11.08 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.1877, allocations: 11.94 kB / 419.9 MB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1877, allocations: 0 / 419.9 MB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003064/0.188, allocations: 92.91 kB / 419.9 MB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002207/0.1883, allocations: 79.91 kB / 420 MB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000377/0.1886, allocations: 0.5835 MB / 420.6 MB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/0.1888, allocations: 19.98 kB / 420.6 MB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.579e-05/0.1888, allocations: 12 kB / 420.6 MB, free: 10.25 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001428/0.189, allocations: 131.9 kB / 420.8 MB, free: 10.12 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001067/0.1891, allocations: 98.75 kB / 420.9 MB, free: 10 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001876/0.1893, allocations: 174.5 kB / 421 MB, free: 9.805 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.393e-06/0.1893, allocations: 4 kB / 421 MB, free: 9.801 MB / 394.7 MB Notification: Performance of matching and sorting (n=46) (initialization_lambda0): time 0.0003591/0.1896, allocations: 249.9 kB / 421.3 MB, free: 9.547 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.996e-06/0.1896, allocations: 4 kB / 421.3 MB, free: 9.543 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1896, allocations: 4 kB / 421.3 MB, free: 9.539 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001333/0.1898, allocations: 44.98 kB / 421.3 MB, free: 9.492 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/0.19, allocations: 83.89 kB / 421.4 MB, free: 9.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001072/0.191, allocations: 1.467 MB / 422.9 MB, free: 7.855 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.1912, allocations: 16 kB / 422.9 MB, free: 7.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.1912, allocations: 11.98 kB / 422.9 MB, free: 7.828 MB / 394.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.inletFluidState.phase,Pump.int_Np) * 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 0.0001136/0.1913, allocations: 204.1 kB / 423.1 MB, free: 7.621 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.751e-05/0.1914, allocations: 43.91 kB / 423.2 MB, free: 7.578 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004652/0.1919, allocations: 401 kB / 423.5 MB, free: 7.176 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.1919, allocations: 7.984 kB / 423.6 MB, free: 7.168 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.1919, allocations: 0 / 423.6 MB, free: 7.168 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1919, allocations: 0 / 423.6 MB, free: 7.168 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001231/0.1931, allocations: 0.7572 MB / 424.3 MB, free: 6.367 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.1931, allocations: 0 / 424.3 MB, free: 6.367 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002117/0.1933, allocations: 63.97 kB / 424.4 MB, free: 6.305 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002697/0.1936, allocations: 196.5 kB / 424.6 MB, free: 6.109 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/0.1936, allocations: 4 kB / 424.6 MB, free: 6.105 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004475/0.1941, allocations: 0.6831 MB / 425.2 MB, free: 5.395 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1941, allocations: 4.031 kB / 425.3 MB, free: 5.391 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005686/0.1946, allocations: 0.5338 MB / 425.8 MB, free: 4.828 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.974e-05/0.1947, allocations: 51.64 kB / 425.8 MB, free: 4.777 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.612e-05/0.1948, allocations: 7.938 kB / 425.8 MB, free: 4.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.1949, allocations: 19.98 kB / 425.9 MB, free: 4.75 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.369e-05/0.195, allocations: 35.94 kB / 425.9 MB, free: 4.715 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/0.195, allocations: 16 kB / 425.9 MB, free: 4.699 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001019/0.1951, allocations: 112.7 kB / 426 MB, free: 4.59 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1951, allocations: 0 / 426 MB, free: 4.59 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002593/0.1977, allocations: 0.975 MB / 427 MB, free: 3.613 MB / 394.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.00298/0.2007, allocations: 1.193 MB / 428.2 MB, free: 2.41 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006525/0.2013, allocations: 446.2 kB / 428.6 MB, free: 1.957 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.267e-06/0.2013, allocations: 8.125 kB / 428.6 MB, free: 1.949 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002322/0.2016, allocations: 172.3 kB / 428.8 MB, free: 1.781 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/0.202, allocations: 133.2 kB / 428.9 MB, free: 1.652 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/0.2036, allocations: 1.086 MB / 430 MB, free: 0.5273 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.679e-05/0.2036, allocations: 121.9 kB / 430.1 MB, free: 396 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001944/0.2038, allocations: 88.19 kB / 430.2 MB, free: 304 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001879/0.204, allocations: 145.2 kB / 430.4 MB, free: 156 kB / 394.7 MB Notification: Performance of SimCode: time 9.12e-07/0.204, allocations: 0 / 430.4 MB, free: 156 kB / 394.7 MB Notification: Performance of Templates: time 0.1585/0.3625, allocations: 38.86 MB / 469.2 MB, free: 110.3 MB / 410.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.617054686881602]